summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2007-07-07 13:44:32 +0000
committerAli Polatel <hawking@gentoo.org>2007-07-07 13:44:32 +0000
commitf1232494601c1f4aa14ac77d20328ca26ba87c36 (patch)
tree201e43e69c30798a7488ead2c906ad830dced612 /dev-python/pysqlite
parentAdded ~ppc (diff)
downloadhistorical-f1232494601c1f4aa14ac77d20328ca26ba87c36.tar.gz
historical-f1232494601c1f4aa14ac77d20328ca26ba87c36.tar.bz2
historical-f1232494601c1f4aa14ac77d20328ca26ba87c36.zip
revbump, fix encoding issues, use PYTHON_MODNAME, don't install tests
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'dev-python/pysqlite')
-rw-r--r--dev-python/pysqlite/ChangeLog7
-rw-r--r--dev-python/pysqlite/Manifest25
-rw-r--r--dev-python/pysqlite/files/digest-pysqlite-2.3.4-r13
-rw-r--r--dev-python/pysqlite/pysqlite-2.3.4-r1.ebuild54
4 files changed, 74 insertions, 15 deletions
diff --git a/dev-python/pysqlite/ChangeLog b/dev-python/pysqlite/ChangeLog
index 6e193a3e70e1..82039255afcc 100644
--- a/dev-python/pysqlite/ChangeLog
+++ b/dev-python/pysqlite/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pysqlite
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.74 2007/06/20 10:46:15 lucass Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.75 2007/07/07 13:44:32 hawking Exp $
+
+*pysqlite-2.3.4-r1 (07 Jul 2007)
+
+ 07 Jul 2007; Ali Polatel <hawking@gentoo.org> +pysqlite-2.3.4-r1.ebuild:
+ revbump, fix encoding issues, use PYTHON_MODNAME, don't install tests
*pysqlite-2.3.4 (20 Jun 2007)
diff --git a/dev-python/pysqlite/Manifest b/dev-python/pysqlite/Manifest
index ee927bd5bc94..4985e8acbd84 100644
--- a/dev-python/pysqlite/Manifest
+++ b/dev-python/pysqlite/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST pysqlite-0.5.1.tar.gz 46320 RMD160 5411d68f9fbd0d340b306c2d4cbc41393ecfb234 SHA1 7080dd4c6cedcf48adadbc6c44fc1c83ac9cebfe SHA256 5bd378dd1167a3134298d142b206c077152cd82e2600048f5c3121c841d5e7fc
DIST pysqlite-1.0.1.tar.gz 41099 RMD160 b608b81de56d1b549e03cd8d97e8c929fbe598c0 SHA1 720458a0ebb5b4fa145a3048444611a450204122 SHA256 9ceed0af9e94b2f8701d4f36d7e86715d8ca64283e0b311e1816c031c3658f08
DIST pysqlite-2.3.3.tar.gz 60695 RMD160 285bcc2156061783e3a65d1fb4efe9551e2f86d4 SHA1 f6dda35c7c14454f3c91013691241a11d1228f77 SHA256 90ee3de57e92b268031cfc6d1239309ce628a2ef88708f6d471a976e810ffab8
@@ -17,14 +14,18 @@ EBUILD pysqlite-2.3.3.ebuild 990 RMD160 ba516cc70599ab6f3f36abbf6117a4e7d5aae437
MD5 c9c134a580fba77f97beef59a96ab6fb pysqlite-2.3.3.ebuild 990
RMD160 ba516cc70599ab6f3f36abbf6117a4e7d5aae437 pysqlite-2.3.3.ebuild 990
SHA256 fe342162e7f5f72d61766702b24cc8baeedb0e815d762fefc92108ef9e2d7f1b pysqlite-2.3.3.ebuild 990
+EBUILD pysqlite-2.3.4-r1.ebuild 1472 RMD160 8d3aaa2847cf20718f7e555adbb1a29cd8c544fb SHA1 56923703d22f7e6c917784b4602ec32b0060bd48 SHA256 8bdc8cc6076600dd69b74746a6e4e76e2e87ee41f422851b4df374416c4281eb
+MD5 57dd98f7363e066f896f1310d2fc98a5 pysqlite-2.3.4-r1.ebuild 1472
+RMD160 8d3aaa2847cf20718f7e555adbb1a29cd8c544fb pysqlite-2.3.4-r1.ebuild 1472
+SHA256 8bdc8cc6076600dd69b74746a6e4e76e2e87ee41f422851b4df374416c4281eb pysqlite-2.3.4-r1.ebuild 1472
EBUILD pysqlite-2.3.4.ebuild 996 RMD160 c397a5a9c928808c59fe6c6c4121b7d09a026eae SHA1 5282f92b31d585c9c5f453c1d639f1ef965f334c SHA256 5fff7cadd6fd382d9179f8029cbe83013d9790372245bbfe57d6162580d107f5
MD5 c5d77d165594ff6826fa3edb3ca1ab6f pysqlite-2.3.4.ebuild 996
RMD160 c397a5a9c928808c59fe6c6c4121b7d09a026eae pysqlite-2.3.4.ebuild 996
SHA256 5fff7cadd6fd382d9179f8029cbe83013d9790372245bbfe57d6162580d107f5 pysqlite-2.3.4.ebuild 996
-MISC ChangeLog 9363 RMD160 f1e2f6217b089c061bcbb65f94b9297b09142abe SHA1 ea16c8df0a72647356e57be5704e2d3ae3ed7a5f SHA256 135c92a3b2eab7c9cb83a4ce77905161d0679155ae817ff9b7724d8084a54bc3
-MD5 8954f2148aaf862d37e9e54d7cce866e ChangeLog 9363
-RMD160 f1e2f6217b089c061bcbb65f94b9297b09142abe ChangeLog 9363
-SHA256 135c92a3b2eab7c9cb83a4ce77905161d0679155ae817ff9b7724d8084a54bc3 ChangeLog 9363
+MISC ChangeLog 9546 RMD160 bccc53adcb9718500360abe5c9770c49748ca109 SHA1 2a7275c3221b4322b628ea8bb91c3c9e7d309c0e SHA256 961ff6e55e23f25e167cfda403f9551112a96c3d63ed9ac497b7f21e8ad5a2e0
+MD5 394b1dff143d2ba3c30d3627110ffa1c ChangeLog 9546
+RMD160 bccc53adcb9718500360abe5c9770c49748ca109 ChangeLog 9546
+SHA256 961ff6e55e23f25e167cfda403f9551112a96c3d63ed9ac497b7f21e8ad5a2e0 ChangeLog 9546
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159
RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159
@@ -41,10 +42,6 @@ SHA256 8f51212be652e6afff2105e2963e8924bed4b589105a68c3c6d1d6a2566e9698 files/di
MD5 6fc8d3bf21f7ded279d3f38afa6df7fd files/digest-pysqlite-2.3.4 241
RMD160 f4889b101755ae1878cc6a1e91bfe00095159ef9 files/digest-pysqlite-2.3.4 241
SHA256 a1618987133fd697dc3d2665bda22541e7c7e79966625b9d3a7e7b46dd9bb91c files/digest-pysqlite-2.3.4 241
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.4 (GNU/Linux)
-
-iD8DBQFGeQWD2jLqHNfbg2URArmQAJ4qgjFW0b5vfbRUvEsqSIOc/zuXtQCfV25s
-Nr7QX1efvrCgA8d4yinRaLQ=
-=oFDW
------END PGP SIGNATURE-----
+MD5 6fc8d3bf21f7ded279d3f38afa6df7fd files/digest-pysqlite-2.3.4-r1 241
+RMD160 f4889b101755ae1878cc6a1e91bfe00095159ef9 files/digest-pysqlite-2.3.4-r1 241
+SHA256 a1618987133fd697dc3d2665bda22541e7c7e79966625b9d3a7e7b46dd9bb91c files/digest-pysqlite-2.3.4-r1 241
diff --git a/dev-python/pysqlite/files/digest-pysqlite-2.3.4-r1 b/dev-python/pysqlite/files/digest-pysqlite-2.3.4-r1
new file mode 100644
index 000000000000..bdf5a42cb26a
--- /dev/null
+++ b/dev-python/pysqlite/files/digest-pysqlite-2.3.4-r1
@@ -0,0 +1,3 @@
+MD5 0c0103a3cea1beebbd7d5ad7458f61e1 pysqlite-2.3.4.tar.gz 65240
+RMD160 1fdbb48e2af7b4ee26a932e930cce5016d7b73cb pysqlite-2.3.4.tar.gz 65240
+SHA256 743559c2ed64e465d7db46fb2d0932fb21e3a870ff3d761b2373dac624c96434 pysqlite-2.3.4.tar.gz 65240
diff --git a/dev-python/pysqlite/pysqlite-2.3.4-r1.ebuild b/dev-python/pysqlite/pysqlite-2.3.4-r1.ebuild
new file mode 100644
index 000000000000..1312d0e19bf6
--- /dev/null
+++ b/dev-python/pysqlite/pysqlite-2.3.4-r1.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/pysqlite-2.3.4-r1.ebuild,v 1.1 2007/07/07 13:44:32 hawking Exp $
+
+NEED_PYTHON=2.3
+
+inherit distutils
+
+DESCRIPTION="Python wrapper for the local database Sqlite"
+SRC_URI="http://initd.org/pub/software/pysqlite/releases/${PV:0:3}/${PV}/pysqlite-${PV}.tar.gz"
+HOMEPAGE="http://initd.org/tracker/pysqlite/"
+
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="pysqlite"
+SLOT="2"
+IUSE="examples"
+
+DEPEND=">=dev-db/sqlite-3.1"
+
+PYTHON_MODNAME="pysqlite2"
+
+src_unpack() {
+ distutils_src_unpack
+ # don't install pysqlite2.test
+ sed -i -e 's/, "pysqlite2.test"//' \
+ setup.py || die "sed in setup.py failed"
+ # workaround to make checks work without installing them
+ sed -i -e "s/pysqlite2.test/test/" \
+ pysqlite2/test/__init__.py || die "sed failed"
+ # correct encoding
+ sed -i -e "s/\(coding: \)ISO-8859-1/\1utf-8/" \
+ pysqlite2/__init__.py pysqlite2/dbapi2.py || die "sed failed"
+}
+
+src_install() {
+ DOCS="doc/usage-guide.txt"
+ distutils_src_install
+
+ rm -rf "${D}"/usr/pysqlite2-doc
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r doc/code
+ fi
+}
+
+src_test() {
+ cd pysqlite2
+ # tests use this as a nonexistant file
+ addpredict /foo/bar
+ PYTHONPATH="$(ls -d ../build/lib.*)" "${python}" -c \
+ "from test import test;import sys;sys.exit(test())" \
+ || die "test failed"
+}