summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/apsw/apsw-3.6.17.1.ebuild')
-rw-r--r--dev-python/apsw/apsw-3.6.17.1.ebuild16
1 files changed, 11 insertions, 5 deletions
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"
-}