diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-07 02:50:12 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-07 02:50:12 +0000 |
commit | a4d2b0f22e57759fcf95d83db32d5a22244323cb (patch) | |
tree | eb9bbe1847e913421749598a4e340c37495e732f /dev-python/testoob | |
parent | Synced ebuild from the kde-testing overlay - thanks to Maciej Mrozowski (reav... (diff) | |
download | gentoo-2-a4d2b0f22e57759fcf95d83db32d5a22244323cb.tar.gz gentoo-2-a4d2b0f22e57759fcf95d83db32d5a22244323cb.tar.bz2 gentoo-2-a4d2b0f22e57759fcf95d83db32d5a22244323cb.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14208-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/testoob')
-rw-r--r-- | dev-python/testoob/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/testoob/testoob-1.13.ebuild | 22 |
2 files changed, 19 insertions, 11 deletions
diff --git a/dev-python/testoob/ChangeLog b/dev-python/testoob/ChangeLog index 58ee862d9f5f..dcbeaa9be90a 100644 --- a/dev-python/testoob/ChangeLog +++ b/dev-python/testoob/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/testoob -# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testoob/ChangeLog,v 1.16 2006/12/04 19:12:44 lucass Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/testoob/ChangeLog,v 1.17 2009/09/07 02:50:12 arfrever Exp $ + + 07 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + testoob-1.13.ebuild: + Set SUPPORT_PYTHON_ABIS. 04 Dec 2006; Lukasz Strzygowski <lucass@gentoo.org> -files/testoob-1.0-fix.diff, -testoob-1.0.ebuild, -testoob-1.1.ebuild, diff --git a/dev-python/testoob/testoob-1.13.ebuild b/dev-python/testoob/testoob-1.13.ebuild index 0f72979c2ce6..143766269e7c 100644 --- a/dev-python/testoob/testoob-1.13.ebuild +++ b/dev-python/testoob/testoob-1.13.ebuild @@ -1,8 +1,11 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/testoob/testoob-1.13.ebuild,v 1.1 2006/12/04 19:03:40 lucass Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/testoob/testoob-1.13.ebuild,v 1.2 2009/09/07 02:50:12 arfrever Exp $ -inherit distutils eutils +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils DESCRIPTION="Advanced Python testing framework" HOMEPAGE="http://testoob.sourceforge.net/" @@ -13,16 +16,17 @@ SLOT="0" KEYWORDS="~amd64 ~ia64 ~sparc ~x86" IUSE="pdf threads" -DEPEND="virtual/python" -RDEPEND="${DEPEND} - dev-python/4suite +DEPEND="" +RDEPEND="dev-python/4suite pdf? ( dev-python/reportlab ) threads? ( dev-python/twisted )" +RESTRICT_PYTHON_ABIS="3.*" DOCS="docs/*" src_test() { - distutils_python_version - PATH="src/testoob:${PATH}" PYTHONPATH="src" \ - "${python}" tests/alltests.py || die "alltests.py failed" + testing() { + PATH="build-${PYTHON_ABI}/scripts-${PYTHON_ABI}:${PATH}" PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" tests/alltests.py + } + python_execute_function testing } |