diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-08 02:48:45 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-08 02:48:45 +0000 |
commit | 1260666bd27afec41777a19d355f43e12ae62c42 (patch) | |
tree | 4547ccd0f7ecde177e0560b98b0a73529db02dde | |
parent | Set SUPPORT_PYTHON_ABIS. (diff) | |
download | gentoo-2-1260666bd27afec41777a19d355f43e12ae62c42.tar.gz gentoo-2-1260666bd27afec41777a19d355f43e12ae62c42.tar.bz2 gentoo-2-1260666bd27afec41777a19d355f43e12ae62c42.zip |
Set SUPPORT_PYTHON_ABIS.
(Portage version: 14215-svn/cvs/Linux x86_64)
-rw-r--r-- | dev-python/pyfits/ChangeLog | 6 | ||||
-rw-r--r-- | dev-python/pyfits/pyfits-2.1.1.ebuild | 29 |
2 files changed, 24 insertions, 11 deletions
diff --git a/dev-python/pyfits/ChangeLog b/dev-python/pyfits/ChangeLog index 481e4ca9981d..783114dcdd5a 100644 --- a/dev-python/pyfits/ChangeLog +++ b/dev-python/pyfits/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-python/pyfits # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.8 2009/09/07 21:11:09 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.9 2009/09/08 02:48:45 arfrever Exp $ + + 08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + pyfits-2.1.1.ebuild: + Set SUPPORT_PYTHON_ABIS. *pyfits-2.1.1 (07 Sep 2009) diff --git a/dev-python/pyfits/pyfits-2.1.1.ebuild b/dev-python/pyfits/pyfits-2.1.1.ebuild index 0e28860aa5bc..2f43c33a47a6 100644 --- a/dev-python/pyfits/pyfits-2.1.1.ebuild +++ b/dev-python/pyfits/pyfits-2.1.1.ebuild @@ -1,26 +1,35 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-2.1.1.ebuild,v 1.1 2009/09/07 21:11:09 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-2.1.1.ebuild,v 1.2 2009/09/08 02:48:45 arfrever Exp $ + +EAPI="2" + +NEED_PYTHON="2.3" +SUPPORT_PYTHON_ABIS="1" -NEED_PYTHON=2.3 inherit distutils DESCRIPTION="Provides an interface to FITS formatted files under python" SRC_URI="http://www.stsci.edu/resources/software_hardware/${PN}/${P}.tar.gz" HOMEPAGE="http://www.stsci.edu/resources/software_hardware/pyfits" -RDEPEND="dev-python/numpy" -DEPEND="${RDEPEND}" - IUSE="" SLOT="0" KEYWORDS="~amd64 ~x86 ~x86-fbsd" LICENSE="AURA" +RDEPEND="dev-python/numpy" +DEPEND="${RDEPEND}" +RESTRICT_PYTHON_ABIS="3.*" + src_test() { - cd "${S}"/test - for t in test*.py; do - PYTHONPATH="$(dir -d ${S}/build/lib*)" "${python}" \ - ${t} || die "test ${t} failed" - done + cd "${S}/test" + + testing() { + local test + for test in test*.py; do + PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib*)" "$(PYTHON)" "${test}" || die "test ${test} failed" + done + } + python_execute_function testing } |