summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-03 11:47:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2011-04-03 11:47:30 +0000
commita3e57ee97f12f05738c38b72866d67f5269b0e19 (patch)
tree22c7160d455dc3857c14e843612c8872b982dfb9 /dev-python
parentia64/s390/sh stable wrt #350861 (diff)
downloadgentoo-2-a3e57ee97f12f05738c38b72866d67f5269b0e19.tar.gz
gentoo-2-a3e57ee97f12f05738c38b72866d67f5269b0e19.tar.bz2
gentoo-2-a3e57ee97f12f05738c38b72866d67f5269b0e19.zip
Update dependencies (bug #302062). Restrict Jython ABIs.
(Portage version: 2.2.0_alpha29_p5/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/python-cdb/ChangeLog8
-rw-r--r--dev-python/python-cdb/python-cdb-0.34.ebuild15
2 files changed, 14 insertions, 9 deletions
diff --git a/dev-python/python-cdb/ChangeLog b/dev-python/python-cdb/ChangeLog
index 9b02268c11cc..46e63d5a968c 100644
--- a/dev-python/python-cdb/ChangeLog
+++ b/dev-python/python-cdb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/python-cdb
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-cdb/ChangeLog,v 1.28 2009/11/26 17:35:54 armin76 Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-cdb/ChangeLog,v 1.29 2011/04/03 11:47:30 arfrever Exp $
+
+ 03 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ python-cdb-0.34.ebuild:
+ Update dependencies (bug #302062).
26 Nov 2009; Raúl Porcel <armin76@gentoo.org> python-cdb-0.34.ebuild:
ia64 stable wrt #289417
diff --git a/dev-python/python-cdb/python-cdb-0.34.ebuild b/dev-python/python-cdb/python-cdb-0.34.ebuild
index 706b59d4bcfb..e10e98dfa78e 100644
--- a/dev-python/python-cdb/python-cdb-0.34.ebuild
+++ b/dev-python/python-cdb/python-cdb-0.34.ebuild
@@ -1,11 +1,13 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-cdb/python-cdb-0.34.ebuild,v 1.7 2009/11/26 17:35:54 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-cdb/python-cdb-0.34.ebuild,v 1.8 2011/04/03 11:47:30 arfrever Exp $
-EAPI="2"
+EAPI="3"
+PYTHON_DEPEND="2"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.* *-jython"
-inherit distutils eutils
+inherit distutils
DESCRIPTION="A Python extension module for cdb"
SRC_URI="http://pilcrow.madison.wi.us/python-cdb/${P}.tar.gz"
@@ -16,15 +18,14 @@ IUSE=""
LICENSE="GPL-2"
KEYWORDS="amd64 arm ia64 ppc sparc x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
-DEPEND="dev-db/cdb"
+DEPEND="|| ( dev-db/cdb dev-db/tinycdb )"
RDEPEND="${DEPEND}"
-RESTRICT_PYTHON_ABIS="3.*"
DOCS="Example"
src_test() {
testing() {
- "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home "${T}/test-${PYTHON_ABI}"
+ "$(PYTHON)" setup.py build -b "build-${PYTHON_ABI}" install --home "${T}/test-${PYTHON_ABI}" || return 1
# This is not really intended as test but it is better than nothing.
PYTHONPATH="${T}/test-${PYTHON_ABI}/lib/python" "$(PYTHON)" < Example
}