aboutsummaryrefslogtreecommitdiff
blob: 2bbcec1f3f1904bd4dab325d02a2fd08988d6031 (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
27
28
29
30
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2
NEED_PYTHON=2.4
inherit distutils

WCS_V=4.3.3
MYP="${P}-${WCS_V}"

DESCRIPTION="Python routines for handling the FITS World Coordinate System"
HOMEPAGE="https://www.stsci.edu/trac/ssb/astrolib/"
SRC_URI="http://stsdas.stsci.edu/astrolib/${MYP}.tar.gz"

DEPEND="dev-python/pyfits"
# FIX: remove shipped wcslib to use system one
RDEPEND="${DEPEND}"

IUSE=""
SLOT="0"
KEYWORDS="~amd64 ~x86"
LICENSE="AURA"

S="${WORKDIR}/${MYP}"

src_test() {
	# FIX: does not work, needs fits files
	PYTHONPATH=$(dir -d build/lib*) "${python}" test/test.py || die
}