blob: 2ac4b06bed2f324423b63dd45829ab494af00e2a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# 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.ebuild,v 1.2 2009/04/18 06:21:21 mr_bones_ Exp $
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"
src_test() {
cd "${S}"/test
for t in test*.py; do
PYTHONPATH="$(dir -d ${S}/build/lib*)" "${python}" \
${t} || die "test ${t} failed"
done
}
|