dev-python/pyfits: Drop old

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-10-22 08:47:51 +02:00
parent b357db8a73
commit adf3a32f8d
3 changed files with 6 additions and 50 deletions

View File

@@ -1,2 +1 @@
DIST pyfits-2.4.0.tar.gz 284236 SHA256 40c21106b86ad01264780409ecb2c8102e80c3eaf2085224f370fc7b3b07ea22 SHA512 cdbcf8b4e178cde8723eb9386a52e59c9d66462479491d0b0ae1d436c91cc476748c00e837477acf9a46791cd4a7517ff649434c33c225ba8a396148e4485fa1 WHIRLPOOL 2c22a63bd180ad68bf3001d539c403147eecc01dc5537f9c1b0be582c79dd87297f91f33809dec6c9f5906396d409af5b4495ef0b68fe6cc03d816a51a286e50
DIST pyfits-3.3.tar.gz 1646403 SHA256 becb6dcc7e443138b9d239db7a0e8ad939e6e047c2c9ca86e84d0672da425fa1 SHA512 561fe61050e61745054e0e4712c4413e129293b062d2020219b61d648d7093ce6952e1f26da955a1bf570f76ba7eddeb1805c99f679300b072ef6bacc2e4c90a WHIRLPOOL 9b4b5dd236713359a9441e4179486e4b56ec11b7fc25c3abb59d30a6267fe87496601778731ba7ff92c55243621aa58ca493821b83224fde41a79f18c21e485b

View File

@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>sci-astronomy</herd>
<herd>python</herd>
<longdescription lang="en">
<herd>sci-astronomy</herd>
<herd>python</herd>
<longdescription lang="en">
PyFITS provides an interface to FITS formatted files under the
Python scripting language and PyRAF, the Python-based interface to
IRAF.
</longdescription>
<upstream>
<remote-id type="pypi">pyfits</remote-id>
</upstream>
<upstream>
<remote-id type="pypi">pyfits</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -1,43 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-*"
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
!<dev-python/astropy-0.3"
DEPEND="${RDEPEND}"
# current tests need data which are not in tar ball
RESTRICT="test"
src_test() {
testing() {
local t
for t in lib/tests/testPyfits*.py; do
PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib*)" "$(PYTHON)" "${t}" || die "${t} failed with Python ${PYTHON_ABI}"
done
}
python_execute_function testing
}
src_install() {
distutils_src_install
local binary
for binary in "${ED}"/usr/bin/*; do
mv ${binary}{,-pyfits} || die
done
}