summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-08 02:36:18 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-08 02:36:18 +0000
commit886cfe7188e0f837e09f91dce187e44d79513090 (patch)
tree01ff68de9bb44e27a584873fb4ace7e860ddfde7 /dev-python
parentVersion bump with only QA fixes (diff)
downloadgentoo-2-886cfe7188e0f837e09f91dce187e44d79513090.tar.gz
gentoo-2-886cfe7188e0f837e09f91dce187e44d79513090.tar.bz2
gentoo-2-886cfe7188e0f837e09f91dce187e44d79513090.zip
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14215-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/apsw/ChangeLog6
-rw-r--r--dev-python/apsw/apsw-3.6.17.1.ebuild16
2 files changed, 16 insertions, 6 deletions
diff --git a/dev-python/apsw/ChangeLog b/dev-python/apsw/ChangeLog
index 1135fdcc570e..0e679667d6c7 100644
--- a/dev-python/apsw/ChangeLog
+++ b/dev-python/apsw/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/apsw
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.15 2009/09/07 18:58:26 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/ChangeLog,v 1.16 2009/09/08 02:36:18 arfrever Exp $
+
+ 08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ apsw-3.6.17.1.ebuild:
+ Set SUPPORT_PYTHON_ABIS.
*apsw-3.6.17.1 (07 Sep 2009)
diff --git a/dev-python/apsw/apsw-3.6.17.1.ebuild b/dev-python/apsw/apsw-3.6.17.1.ebuild
index a0520ae55fa8..c50159b41834 100644
--- a/dev-python/apsw/apsw-3.6.17.1.ebuild
+++ b/dev-python/apsw/apsw-3.6.17.1.ebuild
@@ -1,6 +1,9 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/apsw-3.6.17.1.ebuild,v 1.1 2009/09/07 18:58:26 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/apsw/apsw-3.6.17.1.ebuild,v 1.2 2009/09/08 02:36:18 arfrever Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
inherit distutils versionator
@@ -26,12 +29,15 @@ src_compile() {
distutils_src_compile --omit=LOAD_EXTENSION
}
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests.py
+ }
+ python_execute_function testing
+}
+
src_install() {
distutils_src_install
dodoc doc/_sources/*
dohtml -r doc/*
}
-
-src_test() {
- PYTHONPATH="$(ls -d build/lib.*)" "${python}" tests.py || die "tests failed"
-}