summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-08-21 11:43:10 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-08-21 11:43:10 +0000
commit4ee2925e678d0f09626610e99e77f1857e066707 (patch)
tree9caa122c9df94d65213afb89edfe9611b7c2cf4a /dev-python/pyfits
parentStable for x86, wrt bug #431950 (diff)
downloadgentoo-2-4ee2925e678d0f09626610e99e77f1857e066707.tar.gz
gentoo-2-4ee2925e678d0f09626610e99e77f1857e066707.tar.bz2
gentoo-2-4ee2925e678d0f09626610e99e77f1857e066707.zip
Version bump
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pyfits')
-rw-r--r--dev-python/pyfits/ChangeLog7
-rw-r--r--dev-python/pyfits/pyfits-3.1.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-python/pyfits/ChangeLog b/dev-python/pyfits/ChangeLog
index 4c83393a6727..ee1cdf2ffcb3 100644
--- a/dev-python/pyfits/ChangeLog
+++ b/dev-python/pyfits/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/pyfits
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.35 2012/08/08 19:11:00 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/ChangeLog,v 1.36 2012/08/21 11:43:10 xarthisius Exp $
+
+*pyfits-3.1 (21 Aug 2012)
+
+ 21 Aug 2012; Kacper Kowalik <xarthisius@gentoo.org> +pyfits-3.1.ebuild:
+ Version bump
08 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> pyfits-2.4.0.ebuild,
pyfits-3.0.8.ebuild:
diff --git a/dev-python/pyfits/pyfits-3.1.ebuild b/dev-python/pyfits/pyfits-3.1.ebuild
new file mode 100644
index 000000000000..1c603eaaac94
--- /dev/null
+++ b/dev-python/pyfits/pyfits-3.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-3.1.ebuild,v 1.1 2012/08/21 11:43:10 xarthisius Exp $
+
+EAPI=4
+
+PYTHON_DEPEND="*:2.6"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.5 2.7-pypy-*"
+DISTUTILS_SRC_TEST=nosetests
+
+inherit distutils eutils
+
+DESCRIPTION="Provides an interface to FITS formatted files under python"
+HOMEPAGE="http://www.stsci.edu/resources/software_hardware/pyfits http://pypi.python.org/pypi/pyfits"
+SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="dev-python/numpy
+ dev-python/setuptools
+ !dev-python/astropy"
+DEPEND="${RDEPEND}
+ dev-python/stsci-distutils
+ dev-python/d2to1"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-3.0.8-debundle_zlib.patch
+ distutils_src_prepare
+}
+
+src_test() {
+ testing() {
+ nosetests -w "$(ls -d build-${PYTHON_ABI}/lib*)"
+ }
+ python_execute_function testing
+}