summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-18 17:54:16 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-18 17:54:16 +0000
commit66f70413dcc423da0e327b3863ad8c7df645075b (patch)
tree39d03361b13cff34d2b7a5eb9170a2c826f56738 /dev-python/asciitable
parentAdd ~alpha/~ia64 wrt #348951 (diff)
downloadgentoo-2-66f70413dcc423da0e327b3863ad8c7df645075b.tar.gz
gentoo-2-66f70413dcc423da0e327b3863ad8c7df645075b.tar.bz2
gentoo-2-66f70413dcc423da0e327b3863ad8c7df645075b.zip
Restrict Jython ABIs. Use DISTUTILS_SRC_TEST.
(Portage version: 2.2.0_alpha9_p3/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/asciitable')
-rw-r--r--dev-python/asciitable/ChangeLog6
-rw-r--r--dev-python/asciitable/asciitable-0.4.0.ebuild17
2 files changed, 10 insertions, 13 deletions
diff --git a/dev-python/asciitable/ChangeLog b/dev-python/asciitable/ChangeLog
index b9c25ddb2678..1837d54e4def 100644
--- a/dev-python/asciitable/ChangeLog
+++ b/dev-python/asciitable/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/asciitable
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/asciitable/ChangeLog,v 1.5 2010/12/05 01:48:18 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/asciitable/ChangeLog,v 1.6 2010/12/18 17:54:16 arfrever Exp $
+
+ 18 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ asciitable-0.4.0.ebuild:
+ Restrict Jython ABIs. Use DISTUTILS_SRC_TEST.
*asciitable-0.4.0 (05 Dec 2010)
diff --git a/dev-python/asciitable/asciitable-0.4.0.ebuild b/dev-python/asciitable/asciitable-0.4.0.ebuild
index fc2fcec38c8b..6e05b7baa1f9 100644
--- a/dev-python/asciitable/asciitable-0.4.0.ebuild
+++ b/dev-python/asciitable/asciitable-0.4.0.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/asciitable/asciitable-0.4.0.ebuild,v 1.2 2010/12/07 07:51:41 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/asciitable/asciitable-0.4.0.ebuild,v 1.3 2010/12/18 17:54:16 arfrever Exp $
EAPI="3"
SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="*-jython"
+DISTUTILS_SRC_TEST="nosetests"
inherit distutils
@@ -14,18 +16,9 @@ SRC_URI="http://cxc.harvard.edu/contrib/asciitable/downloads/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="test"
+IUSE=""
RDEPEND="dev-python/numpy"
-DEPEND="${RDEPEND}
- test? ( dev-python/nose )"
+DEPEND="${RDEPEND}"
PYTHON_MODNAME="asciitable.py"
-
-src_test() {
- testing() {
- [[ "${PYTHON_ABI}" == 3.* ]] && return
- PYTHONPATH="build-${PYTHON_ABI}/lib" nosetests
- }
- python_execute_function testing
-}