summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2010-05-17 19:04:59 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2010-05-17 19:04:59 +0000
commit98a19fe15515694780adee80847d715425ca604a (patch)
tree15c31787482332956ff074f63043581a7f648798 /dev-python/pyfits
parentamd64 stable (tested by rullzer) (bug #318195). (diff)
downloadgentoo-2-98a19fe15515694780adee80847d715425ca604a.tar.gz
gentoo-2-98a19fe15515694780adee80847d715425ca604a.tar.bz2
gentoo-2-98a19fe15515694780adee80847d715425ca604a.zip
Version bump. Tests do not pass yet.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyfits')
-rw-r--r--dev-python/pyfits/ChangeLog7
-rw-r--r--dev-python/pyfits/pyfits-2.3.ebuild31
2 files changed, 37 insertions, 1 deletions
diff --git a/dev-python/pyfits/ChangeLog b/dev-python/pyfits/ChangeLog
index 3215768418ff..4515c7d2bc66 100644
--- a/dev-python/pyfits/ChangeLog
+++ b/dev-python/pyfits/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyfits
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.15 2010/01/15 19:08:22 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.16 2010/05/17 19:04:59 bicatali Exp $
+
+*pyfits-2.3 (17 May 2010)
+
+ 17 May 2010; Sébastien Fabbro <bicatali@gentoo.org> +pyfits-2.3.ebuild:
+ Version bump. Tests do not pass yet.
15 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> -pyfits-2.1.1.ebuild,
-pyfits-2.2.1.ebuild, pyfits-2.2.2.ebuild:
diff --git a/dev-python/pyfits/pyfits-2.3.ebuild b/dev-python/pyfits/pyfits-2.3.ebuild
new file mode 100644
index 000000000000..0d498b2eb455
--- /dev/null
+++ b/dev-python/pyfits/pyfits-2.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-2.3.ebuild,v 1.1 2010/05/17 19:04:59 bicatali Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+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"
+
+IUSE=""
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd"
+LICENSE="BSD"
+
+RDEPEND="dev-python/numpy"
+DEPEND="${RDEPEND}"
+RESTRICT_PYTHON_ABIS="3.*"
+
+src_test() {
+ testing() {
+ local t
+ for t in lib/tests/testPyfits*.py; do
+ PYTHONPATH="build-${PYTHON_ABI}/lib*" "$(PYTHON)" "${t}" || die "${t} failed with Python ${PYTHON_ABI}"
+ done
+ }
+ python_execute_function testing
+}