diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-30 19:42:40 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2009-09-30 19:42:40 +0000 |
commit | b2e5677de3c7a982c326d238e40d3e4096d516c5 (patch) | |
tree | d8375228518763b3c307a8ad38b265657f95ce6f /dev-python/pyfits | |
parent | amd64 stable wrt #282290 (diff) | |
download | gentoo-2-b2e5677de3c7a982c326d238e40d3e4096d516c5.tar.gz gentoo-2-b2e5677de3c7a982c326d238e40d3e4096d516c5.tar.bz2 gentoo-2-b2e5677de3c7a982c326d238e40d3e4096d516c5.zip |
Version bump
(Portage version: 2.2_rc42/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyfits')
-rw-r--r-- | dev-python/pyfits/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pyfits/pyfits-2.2.ebuild (renamed from dev-python/pyfits/pyfits-2.1.ebuild) | 29 |
2 files changed, 26 insertions, 11 deletions
diff --git a/dev-python/pyfits/ChangeLog b/dev-python/pyfits/ChangeLog index 783114dcdd5a..3ad116b7c1bf 100644 --- a/dev-python/pyfits/ChangeLog +++ b/dev-python/pyfits/ChangeLog @@ -1,6 +1,12 @@ # 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.9 2009/09/08 02:48:45 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.10 2009/09/30 19:42:40 bicatali Exp $ + +*pyfits-2.2 (30 Sep 2009) + + 30 Sep 2009; Sébastien Fabbro <bicatali@gentoo.org> -pyfits-2.1.ebuild, + +pyfits-2.2.ebuild: + Version bump 08 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> pyfits-2.1.1.ebuild: diff --git a/dev-python/pyfits/pyfits-2.1.ebuild b/dev-python/pyfits/pyfits-2.2.ebuild index 2ac4b06bed2f..55ef3bc42c89 100644 --- a/dev-python/pyfits/pyfits-2.1.ebuild +++ b/dev-python/pyfits/pyfits-2.2.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.ebuild,v 1.2 2009/04/18 06:21:21 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-2.2.ebuild,v 1.1 2009/09/30 19:42:40 bicatali 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 } |