summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-12 23:23:33 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-12 23:23:33 +0000
commitddf0c7d029d2dc03d87a9fc9dd36fd381ebb2cf3 (patch)
treeba86f63749724dc7666e2de8dcbdd8735d51c254 /dev-python/python-cdb
parentVersion bump. Set SUPPORT_PYTHON_ABIS. (diff)
downloadgentoo-2-ddf0c7d029d2dc03d87a9fc9dd36fd381ebb2cf3.tar.gz
gentoo-2-ddf0c7d029d2dc03d87a9fc9dd36fd381ebb2cf3.tar.bz2
gentoo-2-ddf0c7d029d2dc03d87a9fc9dd36fd381ebb2cf3.zip
Version bump. Set SUPPORT_PYTHON_ABIS.
(Portage version: 14238-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/python-cdb')
-rw-r--r--dev-python/python-cdb/ChangeLog10
-rw-r--r--dev-python/python-cdb/python-cdb-0.32.ebuild17
-rw-r--r--dev-python/python-cdb/python-cdb-0.34.ebuild32
3 files changed, 40 insertions, 19 deletions
diff --git a/dev-python/python-cdb/ChangeLog b/dev-python/python-cdb/ChangeLog
index b7115957d2e3..d21c02757c6e 100644
--- a/dev-python/python-cdb/ChangeLog
+++ b/dev-python/python-cdb/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/python-cdb
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/python-cdb/ChangeLog,v 1.21 2008/09/27 16:31:58 armin76 Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/python-cdb/ChangeLog,v 1.22 2009/09/12 23:23:33 arfrever Exp $
+
+*python-cdb-0.34 (13 Sep 2009)
+
+ 13 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ -python-cdb-0.32.ebuild, +python-cdb-0.34.ebuild:
+ Version bump. Set SUPPORT_PYTHON_ABIS.
27 Sep 2008; Raúl Porcel <armin76@gentoo.org> python-cdb-0.32-r1.ebuild:
arm stable wrt #231306
diff --git a/dev-python/python-cdb/python-cdb-0.32.ebuild b/dev-python/python-cdb/python-cdb-0.32.ebuild
deleted file mode 100644
index 7180ee9784e8..000000000000
--- a/dev-python/python-cdb/python-cdb-0.32.ebuild
+++ /dev/null
@@ -1,17 +0,0 @@
-# Copyright 1999-2008 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.32.ebuild,v 1.15 2008/01/17 18:40:26 grobian Exp $
-
-inherit distutils
-
-DESCRIPTION="A Python extension module for cdb"
-SRC_URI="http://pilcrow.madison.wi.us/python-cdb/${P}.tar.gz"
-HOMEPAGE="http://pilcrow.madison.wi.us/#pycdb"
-
-SLOT="0"
-IUSE=""
-LICENSE="GPL-2"
-KEYWORDS="amd64 arm ia64 ppc sparc x86"
-
-DEPEND=">=dev-lang/python-2.2
- dev-db/cdb"
diff --git a/dev-python/python-cdb/python-cdb-0.34.ebuild b/dev-python/python-cdb/python-cdb-0.34.ebuild
new file mode 100644
index 000000000000..ce392ef4c1ed
--- /dev/null
+++ b/dev-python/python-cdb/python-cdb-0.34.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2009 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.1 2009/09/12 23:23:33 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+inherit distutils eutils
+
+DESCRIPTION="A Python extension module for cdb"
+SRC_URI="http://pilcrow.madison.wi.us/python-cdb/${P}.tar.gz"
+HOMEPAGE="http://pilcrow.madison.wi.us/#pycdb"
+
+SLOT="0"
+IUSE=""
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~x86-fbsd"
+
+DEPEND="dev-db/cdb"
+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}"
+ # This is not really intended as test but it is better than nothing.
+ PYTHONPATH="${T}/test-${PYTHON_ABI}/lib/python" "$(PYTHON)" < Example
+ }
+ python_execute_function testing
+}