summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-08 02:48:45 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-08 02:48:45 +0000
commit2b8ea1ecc7b3d7bc6353fecc9b42b89fb3c63493 (patch)
tree40deee4a8fe922b713f5d0a24c46694e18c0469d /dev-python
parentSet SUPPORT_PYTHON_ABIS. (diff)
downloadhistorical-2b8ea1ecc7b3d7bc6353fecc9b42b89fb3c63493.tar.gz
historical-2b8ea1ecc7b3d7bc6353fecc9b42b89fb3c63493.tar.bz2
historical-2b8ea1ecc7b3d7bc6353fecc9b42b89fb3c63493.zip
Set SUPPORT_PYTHON_ABIS.
Package-Manager: portage-14215-svn/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyfits/ChangeLog6
-rw-r--r--dev-python/pyfits/Manifest4
-rw-r--r--dev-python/pyfits/pyfits-2.1.1.ebuild29
3 files changed, 26 insertions, 13 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/Manifest b/dev-python/pyfits/Manifest
index 7e036dbb1a98..7d3b8b7cb0b2 100644
--- a/dev-python/pyfits/Manifest
+++ b/dev-python/pyfits/Manifest
@@ -3,7 +3,7 @@ DIST pyfits-1.3.tar.gz 3425265 RMD160 f8f8779b9a9ebe41f3baeebf48791c2bb584ceaf S
DIST pyfits-2.1.1.tar.gz 578750 RMD160 d925bd16d7151a7bde11559219b56b3ee127015a SHA1 baf9d07e1a898992c4a4a5083c88de577ef2a543 SHA256 b5fbcd77f616dd3765f4cce8d60f06e1ccc4bd55b09ec1897fc17873b236c6a9
DIST pyfits-2.1.tar.gz 578708 RMD160 f4f964ede12e9b3bdc3feb8a942ec995914a315f SHA1 30910f0a10b255e6dd8680d29f6eda1a3aaa1a06 SHA256 d8cdd1dfd7c649123984232630871a3a5cbe73c355b63d78dc5dc8926fe24d1e
EBUILD pyfits-1.3.ebuild 1006 RMD160 cf6b9ad4923e4cf2f75680ef0f3c357dfc23a13c SHA1 c25a328ad9a13c04685769d6e2f8546a8765411e SHA256 0bdd2d884670b5e000c8cb162d4e73dcaae932b316b350e0f0e0d5f6f727d653
-EBUILD pyfits-2.1.1.ebuild 737 RMD160 b7b4b081a97512ecfabe99c67453e795879e320f SHA1 f5c8b68ea548b7dd01754065e9e951c98445ba26 SHA256 796676616391500cf5dff648281b8a0b363daf0011ab78fcd22c6d857b3ec8c5
+EBUILD pyfits-2.1.1.ebuild 885 RMD160 67cdae8f60dbaa8f2a84473a3a444da8e548ddbb SHA1 cca1a549a967f1773c3ecbdc1c2547049cc267f9 SHA256 c6add3bd0525b3d9a05c3ad59074aee380835145534be72d7478e1173a672178
EBUILD pyfits-2.1.ebuild 737 RMD160 082d700d4a8bf03e6adf7e69201abfb83f727ace SHA1 7fa2439742c92d5d8111bf667af36ac362adf6cc SHA256 71b501ed22e982da9bd689ebe323864c1e1d7a7fdb68958d00ca1347280ba4eb
-MISC ChangeLog 1195 RMD160 970eb15f74e8ab217e35620a49da8d684c92632b SHA1 de8ed8525f9fbf5484728e0d74f54422aa49b254 SHA256 b47752af6b80ee7505032c03d067969a5d0f3210e4dd4082d20872bd9f35234a
+MISC ChangeLog 1320 RMD160 2789c95c9960123456d764eb368467c375b54a6f SHA1 dc56c2ec28eb056c8b11966fdb9d522ecdec5b27 SHA256 7eaf380ad0c522b79ef3f3b57c1257672671513077d515fe5ea0b041ee9a5fe1
MISC metadata.xml 418 RMD160 9a7191d88e1220dec5db4cfcf09e0f7f48951deb SHA1 09a7993d074a69c35542a09a4c905aafb8854e1f SHA256 49f10a05ab0d8af4d0cc7eeb8c239d901d67c5741cece547f7602152c8ea722e
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
}