diff options
-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 } |