summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-12 23:43:47 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-11-12 23:43:47 +0000
commitabcbdf18f335f5f6ddb75404f8c0dd521aaeefac (patch)
tree239084d1f0acf86fd3b66127fd6488bbe0b3b66b /dev-python/pysqlite
parentRemoved broken version (see bug #290481). (diff)
downloadhistorical-abcbdf18f335f5f6ddb75404f8c0dd521aaeefac.tar.gz
historical-abcbdf18f335f5f6ddb75404f8c0dd521aaeefac.tar.bz2
historical-abcbdf18f335f5f6ddb75404f8c0dd521aaeefac.zip
Version bump.
Package-Manager: portage-14816-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python/pysqlite')
-rw-r--r--dev-python/pysqlite/ChangeLog8
-rw-r--r--dev-python/pysqlite/Manifest14
-rw-r--r--dev-python/pysqlite/pysqlite-2.5.6.ebuild56
3 files changed, 66 insertions, 12 deletions
diff --git a/dev-python/pysqlite/ChangeLog b/dev-python/pysqlite/ChangeLog
index bf75dbeccbf8..a49c1091b19b 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.107 2009/11/11 15:38:40 tcunha Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pysqlite/ChangeLog,v 1.108 2009/11/12 23:43:47 arfrever Exp $
+
+*pysqlite-2.5.6 (13 Nov 2009)
+
+ 13 Nov 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +pysqlite-2.5.6.ebuild:
+ Version bump.
11 Nov 2009; Tiago Cunha <tcunha@gentoo.org> pysqlite-2.5.5-r1.ebuild:
stable sparc, bug 287572
diff --git a/dev-python/pysqlite/Manifest b/dev-python/pysqlite/Manifest
index 9416f0e0c8ba..dc9ce395ab34 100644
--- a/dev-python/pysqlite/Manifest
+++ b/dev-python/pysqlite/Manifest
@@ -1,17 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
DIST pysqlite-1.0.1.tar.gz 41099 RMD160 b608b81de56d1b549e03cd8d97e8c929fbe598c0 SHA1 720458a0ebb5b4fa145a3048444611a450204122 SHA256 9ceed0af9e94b2f8701d4f36d7e86715d8ca64283e0b311e1816c031c3658f08
DIST pysqlite-2.5.5.tar.gz 73068 RMD160 c420169cf4893b79a8638313f3327f37bc8986aa SHA1 28ea27ada86cd7ec6105f82617ea6cf1a09444d3 SHA256 ef7ca7f44893790e1a7084b10ea083770e138689406fddc7076d12d6bff4d44f
+DIST pysqlite-2.5.6.tar.gz 72559 RMD160 8174ecfbee2f9526f7a1100b1afa78f3786916dd SHA1 79b5c4067c0ca237240eb32e6fde7ed84636d13d SHA256 108febfe37a1722b812f94d0398e806ec70aedd07bf13d0c98534b850b5cac24
EBUILD pysqlite-1.0.1.ebuild 875 RMD160 eeeece77e76573f65c7252aa8fbb4dc1077180e0 SHA1 bbdccfc4e7f80f8154432d110fd2da01fbb8e388 SHA256 88408b3a006df95ef3d6261e36f84843a0eb5548774419ef8e4f4e9477235baa
EBUILD pysqlite-2.5.5-r1.ebuild 1915 RMD160 cb3e37111cfeefeada751964204f04ed9c854a5a SHA1 d95313f0dfc38af5ee59872fca246cc8ca8650d6 SHA256 bc756cdace94e9a9b9059d348880b4b4cd21226547acb699278e85f3cade9fc2
EBUILD pysqlite-2.5.5.ebuild 1557 RMD160 8fa5d8b0125d3fa3054f9508919a7dac7af5108f SHA1 4a59143eb7c6f699469b7dd250d986fd9b02d2a2 SHA256 4585b68638b131c03444b3398d63666d8f67bb25aa06402d179b4fde45523125
-MISC ChangeLog 13344 RMD160 d5cd6f4c3929b86d8faae353dafff03b641c64d3 SHA1 f9c96d8f038f4ac7470d9ef75d2dc3a18746caed SHA256 1fe4dd1894b9adee9226121457ef5d0e915ed4557ae71ba1b3e9f4d3bda6cd9e
+EBUILD pysqlite-2.5.6.ebuild 1632 RMD160 99003e4acc4b7f2a87486c4d9ab9404b23294443 SHA1 54c721cd215f1b8e140315ac83b71e217e0ace3f SHA256 5d5d77d937d068ac7ff3a9752f79c12f0f66cd057da653d763181be8806793b9
+MISC ChangeLog 13493 RMD160 bbed1c69a720fe238f902f71be16c22c2b0402cc SHA1 e74c3ffb5b10268595dc6664bb2d7787d32786f5 SHA256 3adefef97c9522f06cbc10936f545398e1a9ce174ddced365c2bfda1c71e5fea
MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
-
-iEYEARECAAYFAkr62o0ACgkQAgIglOz4paDCygCdFVKlwnLbXR97m7JofdVI8cSz
-DDIAoKmy8fXxsmRqTh9QCvVxthfAvNpD
-=O+cL
------END PGP SIGNATURE-----
diff --git a/dev-python/pysqlite/pysqlite-2.5.6.ebuild b/dev-python/pysqlite/pysqlite-2.5.6.ebuild
new file mode 100644
index 000000000000..6fabda9e9f12
--- /dev/null
+++ b/dev-python/pysqlite/pysqlite-2.5.6.ebuild
@@ -0,0 +1,56 @@
+# 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.6.ebuild,v 1.1 2009/11/12 23:43:47 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils
+
+DESCRIPTION="Python wrapper for the local database Sqlite"
+HOMEPAGE="http://code.google.com/p/pysqlite/ http://pypi.python.org/pypi/pysqlite"
+SRC_URI="http://pypi.python.org/packages/source/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="pysqlite"
+SLOT="2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
+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 setup.py failed"
+
+ # Fix encoding.
+ sed -i -e "s/\(coding: \)ISO-8859-1/\1utf-8/" lib/{__init__.py,dbapi2.py} || die "sed lib/{__init__.py,dbapi2.py} failed"
+
+ # Workaround to make tests work without installing them.
+ sed -i -e "s/pysqlite2.test/test/" lib/test/__init__.py || die "sed lib/test/__init__.py failed"
+}
+
+src_test() {
+ cd lib
+ testing() {
+ PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" -c "from test import test;import sys;sys.exit(test())"
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ [[ -z "${ED}" ]] && local ED="${D}"
+ distutils_src_install
+
+ rm -rf "${ED}usr/pysqlite2-doc"
+
+ if use examples; then
+ insinto /usr/share/doc/${PF}
+ doins -r doc/includes/sqlite3
+ fi
+}