Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci-astronomy</herd>
-<longdescription lang="en">
+ <herd>sci-astronomy</herd>
+ <longdescription lang="en">
pywcs is a set of routines for handling the FITS World Coordinate
System (WCS) standard. It is a thin wrapper around the high- and
mid-level interfaces for wcslib.
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-inherit distutils-r1 eutils
+inherit distutils-r1
WCS_V=4.8.2
MYP=${P}-${WCS_V}
RDEPEND="
>=sci-astronomy/wcslib-${WCS_V}
virtual/pyfits
- !<dev-python/astropy-0.3"
+ !dev-python/astropy"
# missing data to run tests
RESTRICT=test
+
S="${WORKDIR}/${MYP}"
-python_prepare_all(){
- epatch "${FILESDIR}"/${P}-wcslib.patch
-}
+PATCHES=( "${FILESDIR}"/${P}-wcslib.patch )
python_test() {
nosetests -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}"