public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-python/pywcs/
@ 2015-10-22  8:32 Justin Lecher
  0 siblings, 0 replies; only message in thread
From: Justin Lecher @ 2015-10-22  8:32 UTC (permalink / raw
  To: gentoo-commits

commit:     4f362598cbc158e26b9db8aebe841d8aff408b23
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 22 07:54:05 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Thu Oct 22 08:31:52 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f362598

dev-python/pywcs: Correct blocker against astropy and fix distutils-r1.eclass usage

Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 dev-python/pywcs/metadata.xml         | 4 ++--
 dev-python/pywcs/pywcs-1.11-r1.ebuild | 9 ++++-----
 2 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/dev-python/pywcs/metadata.xml b/dev-python/pywcs/metadata.xml
index 380f3bf..69c0378 100644
--- a/dev-python/pywcs/metadata.xml
+++ b/dev-python/pywcs/metadata.xml
@@ -1,8 +1,8 @@
 <?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. 

diff --git a/dev-python/pywcs/pywcs-1.11-r1.ebuild b/dev-python/pywcs/pywcs-1.11-r1.ebuild
index ee7041a..e9509bb 100644
--- a/dev-python/pywcs/pywcs-1.11-r1.ebuild
+++ b/dev-python/pywcs/pywcs-1.11-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=5
 
 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}
@@ -26,15 +26,14 @@ DEPEND="
 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}"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-22  8:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-22  8:32 [gentoo-commits] repo/gentoo:master commit in: dev-python/pywcs/ Justin Lecher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox