updated how examples are installed
authorNicholas Henke <roughneck@gentoo.org>
Sun, 3 Nov 2002 19:25:52 +0000 (19:25 +0000)
committerNicholas Henke <roughneck@gentoo.org>
Sun, 3 Nov 2002 19:25:52 +0000 (19:25 +0000)
dev-python/pysqlite/ChangeLog
dev-python/pysqlite/files/digest-pysqlite-0.2.0-r1 [moved from dev-python/pysqlite/files/digest-pysqlite-0.2.0 with 100% similarity]
dev-python/pysqlite/pysqlite-0.2.0-r1.ebuild [moved from dev-python/pysqlite/pysqlite-0.2.0.ebuild with 67% similarity]

index 8b648e2a20325518c152efe7051b87e3e1f54410..41c949a123a2279594bdf211a5b7475f24bcb7a4 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for dev-python/pysqlite
 # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.1 2002/07/30 08:32:24 rphillips Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.2 2002/11/03 19:25:52 roughneck Exp $
+
+*pysqlite-0.2.0-r1 (03 Nov 2002)
+
+  03 Nov 2002; Nicholas Henke <roughneck@gentoo.org> pysqlite-0.2.0-r1.ebuild files/digest-pysqlite-0.2.0-r1:
+
+  old ebuild did not install examples correctly. Thanks to Bardur Arantsson <bardur-gta@odense.kollegienet.dk> for bug fix.
+
+  Removed pysqlite-0.2.0.ebuild files/digest-pysqlite-0.2.0
 
 *pysqlite-0.2.0 (30 Jul 2002)
 
similarity index 67%
rename from dev-python/pysqlite/pysqlite-0.2.0.ebuild
rename to dev-python/pysqlite/pysqlite-0.2.0-r1.ebuild
index b033eed4f96ee1859a615a72a3b9513917ac4d6e..cae069d3c1e2fda3fea0b406b66c461143fb600f 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2002 Gentoo Technologies, Inc.
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/pysqlite-0.2.0.ebuild,v 1.5 2002/10/20 18:47:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/pysqlite-0.2.0-r1.ebuild,v 1.1 2002/11/03 19:25:52 roughneck Exp $
 
 S="${WORKDIR}/${P}"
 
@@ -9,6 +9,7 @@ SRC_URI="mirror://sourceforge/pysqlite/pysqlite-${PV}.tar.gz"
 HOMEPAGE="http://www.hwaci.com/sw/sqlite/"
 DEPEND="virtual/python
                dev-db/sqlite"
+RDEPEND=""
 KEYWORDS="x86 sparc sparc64 alpha"
 LICENSE="pysqlite"
 SLOT="0"
@@ -19,5 +20,10 @@ src_compile() {
 
 src_install () {
        python setup.py install --root=${D} --prefix=/usr || die
-       dodoc *.txt examples/*
+       dodoc README
+                       
+       # Need to do the examples explicitly since dodoc
+       # doesn't do directories properly
+       mkdir -p ${D}/usr/share/doc/${PF}/examples || die
+       cp -r ${S}/examples/* ${D}/usr/share/doc/${PF}/examples || die
 }