summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2008-05-22 17:16:59 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2008-05-22 17:16:59 +0000
commit083e1019cd0d5e49c06398b6620b58379b69d6eb (patch)
tree77dbd7de8fb65894fc2c767b3ee65f0180759861 /dev-python/pyfits
parentSome patches from debian (read patches for description). Updated deps: 1. the... (diff)
downloadgentoo-2-083e1019cd0d5e49c06398b6620b58379b69d6eb.tar.gz
gentoo-2-083e1019cd0d5e49c06398b6620b58379b69d6eb.tar.bz2
gentoo-2-083e1019cd0d5e49c06398b6620b58379b69d6eb.zip
Added a patch for a binary table test
(Portage version: 2.1.5.2)
Diffstat (limited to 'dev-python/pyfits')
-rw-r--r--dev-python/pyfits/pyfits-1.3.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/dev-python/pyfits/pyfits-1.3.ebuild b/dev-python/pyfits/pyfits-1.3.ebuild
index 2f1daea8a886..f6472ab22498 100644
--- a/dev-python/pyfits/pyfits-1.3.ebuild
+++ b/dev-python/pyfits/pyfits-1.3.ebuild
@@ -1,22 +1,28 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-1.3.ebuild,v 1.1 2008/02/26 12:45:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pyfits/pyfits-1.3.ebuild,v 1.2 2008/05/22 17:16:59 bicatali Exp $
NEED_PYTHON=2.3
-inherit distutils
+inherit distutils eutils
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-1.0.1"
-DEPEND="test? ( >=dev-python/numpy-1.0.1 )"
+RDEPEND="dev-python/numpy"
+DEPEND="test? ( dev-python/numpy )"
IUSE="doc test"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
LICENSE="AURA"
+src_unpack() {
+ unpack ${A}
+ # fix test in binary table (should be fixed in >1.3)
+ epatch "${FILESDIR}"/${P}-test-table.patch
+}
+
src_test() {
cd "${S}"/test
for t in test*.py; do