diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-10 21:09:37 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-10 21:09:37 +0000 |
commit | 3f886929e7a055ee0fc62b60ab89362d3ab0af19 (patch) | |
tree | 1c77f9f73aa930251791e821640822ab16f8f9e2 /dev-python/pysyck/pysyck-0.61.2.ebuild | |
parent | Bump locale dependency to fix compile issue reported in bug 330227. Remove de... (diff) | |
download | gentoo-2-3f886929e7a055ee0fc62b60ab89362d3ab0af19.tar.gz gentoo-2-3f886929e7a055ee0fc62b60ab89362d3ab0af19.tar.bz2 gentoo-2-3f886929e7a055ee0fc62b60ab89362d3ab0af19.zip |
Set SUPPORT_PYTHON_ABIS (bug #345539).
(Portage version: 2.2.0_alpha29_p10/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pysyck/pysyck-0.61.2.ebuild')
-rw-r--r-- | dev-python/pysyck/pysyck-0.61.2.ebuild | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/dev-python/pysyck/pysyck-0.61.2.ebuild b/dev-python/pysyck/pysyck-0.61.2.ebuild index 9160314e2504..587997d2245a 100644 --- a/dev-python/pysyck/pysyck-0.61.2.ebuild +++ b/dev-python/pysyck/pysyck-0.61.2.ebuild @@ -1,8 +1,11 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pysyck/pysyck-0.61.2.ebuild,v 1.4 2010/07/08 15:09:20 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pysyck/pysyck-0.61.2.ebuild,v 1.5 2011/04/10 21:09:37 arfrever Exp $ +EAPI="3" PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.* *-jython" inherit distutils @@ -25,6 +28,11 @@ S="${WORKDIR}/${MY_P}" PYTHON_MODNAME="syck" src_test() { - PYTHONPATH=./lib/ "${python}" tests/test_syck.py + testing() { + PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" tests/test_syck.py + : + } + python_execute_function testing + einfo "Some tests may have failed due to pending bugs in dev-libs/syck" } |