summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-04 03:48:59 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-08-04 03:48:59 +0000
commitf22850621841b42478fb7f12a675cb58798fa4ef (patch)
treef7e9f6f1bee5812259c4814562148f14ac8ce291 /dev-python/pysqlite
parentmanifest update (updated src) (diff)
downloadhistorical-f22850621841b42478fb7f12a675cb58798fa4ef.tar.gz
historical-f22850621841b42478fb7f12a675cb58798fa4ef.tar.bz2
historical-f22850621841b42478fb7f12a675cb58798fa4ef.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-13887-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pysqlite')
-rw-r--r--dev-python/pysqlite/ChangeLog8
-rw-r--r--dev-python/pysqlite/Manifest3
-rw-r--r--dev-python/pysqlite/pysqlite-2.5.5-r1.ebuild62
3 files changed, 71 insertions, 2 deletions
diff --git a/dev-python/pysqlite/ChangeLog b/dev-python/pysqlite/ChangeLog
index 05672d5f90fa..892c895185b8 100644
--- a/dev-python/pysqlite/ChangeLog
+++ b/dev-python/pysqlite/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pysqlite
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.98 2009/05/28 15:27:11 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.99 2009/08/04 03:48:59 arfrever Exp $
+
+*pysqlite-2.5.5-r1 (04 Aug 2009)
+
+ 04 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +pysqlite-2.5.5-r1.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
28 May 2009; Raúl Porcel <armin76@gentoo.org> pysqlite-2.5.5.ebuild:
ia64 stable wrt #270087
diff --git a/dev-python/pysqlite/Manifest b/dev-python/pysqlite/Manifest
index bf355bae660f..ba43d43b2087 100644
--- a/dev-python/pysqlite/Manifest
+++ b/dev-python/pysqlite/Manifest
@@ -7,6 +7,7 @@ EBUILD pysqlite-0.5.1.ebuild 877 RMD160 d9485b2918f94a16c471ce7cab2c6196abf51fc8
EBUILD pysqlite-1.0.1.ebuild 875 RMD160 eeeece77e76573f65c7252aa8fbb4dc1077180e0 SHA1 bbdccfc4e7f80f8154432d110fd2da01fbb8e388 SHA256 88408b3a006df95ef3d6261e36f84843a0eb5548774419ef8e4f4e9477235baa
EBUILD pysqlite-2.3.5.ebuild 1452 RMD160 01ea9dcbed77850b0eaada3ab49b855ebcc505f5 SHA1 a37f69c0eac53d23c62de6abd9174dd29eddd36c SHA256 7f14ff892dded8bf78ab884819dc79039a74fa76c17d3ade07cbd9bae68a8abc
EBUILD pysqlite-2.4.1.ebuild 1458 RMD160 d54b2024520c9ce18f24c153d0b92b864564b002 SHA1 d720c3bb257bc81512baaff59cf93a759b80254f SHA256 cba89ea8d26c48434f7ddb88736b064f451e078e6027f4395352e6d621ba4879
+EBUILD pysqlite-2.5.5-r1.ebuild 1681 RMD160 f1bc94ee56da229c495ff7b225824af83182afae SHA1 43aaa84b1ac242f5d4c2254104fe5fbc256d29c2 SHA256 7b5bfc74a25502ebd86b3bf786256ed0d2909227b0e601b98ddaafdac456c23c
EBUILD pysqlite-2.5.5.ebuild 1557 RMD160 8fa5d8b0125d3fa3054f9508919a7dac7af5108f SHA1 4a59143eb7c6f699469b7dd250d986fd9b02d2a2 SHA256 4585b68638b131c03444b3398d63666d8f67bb25aa06402d179b4fde45523125
-MISC ChangeLog 12304 RMD160 f8e8c4af7d39cf4483726d8df7d94dc7b3cb793f SHA1 8bf493589faf40a9a53fbbac98f9c39d980975c5 SHA256 535584e9b07b7b5d54cf7a34cad13ba9188a372b6a861a4c8a75069fa4eea319
+MISC ChangeLog 12469 RMD160 228dc19e6d7c99980b90b48f68b9185006e4bb68 SHA1 8498b9dd0996b38113f7b766ecf2ce775c112fa7 SHA256 20dbbbf60b258115b4b54fc71046e2a798b42957aff8c6f4ae15a348bbefbb79
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
diff --git a/dev-python/pysqlite/pysqlite-2.5.5-r1.ebuild b/dev-python/pysqlite/pysqlite-2.5.5-r1.ebuild
new file mode 100644
index 000000000000..a8200ce54a22
--- /dev/null
+++ b/dev-python/pysqlite/pysqlite-2.5.5-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/pysqlite-2.5.5-r1.ebuild,v 1.1 2009/08/04 03:48:59 arfrever Exp $
+
+EAPI="2"
+
+NEED_PYTHON="2.3"
+SUPPORT_PYTHON_ABIS="1"
+
+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"
+SRC_URI="http://oss.itsystementwicklung.de/download/pysqlite/${PV:0:3}/${PV}/pysqlite-${PV}.tar.gz"
+HOMEPAGE="http://pysqlite.org/"
+
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+LICENSE="pysqlite"
+SLOT="2"
+IUSE="examples"
+
+DEPEND=">=dev-db/sqlite-3.1"
+RDEPEND=${DEPEND}
+
+RESTRICT_PYTHON_ABIS="3*"
+
+PYTHON_MODNAME="pysqlite2"
+
+src_prepare() {
+ distutils_src_prepare
+ # 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() {
+ distutils_src_install
+
+ rm -rf "${D}"/usr/pysqlite2-doc
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r doc/includes/sqlite3
+ fi
+}
+
+src_test() {
+ cd pysqlite2
+ # Tests use this as a nonexistent file.
+ addpredict /foo/bar
+ testing() {
+ PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(get_python)" -c \
+ "from test import test;import sys;sys.exit(test())"
+ }
+ python_execute_function testing
+}