* [gentoo-commits] repo/gentoo:master commit in: dev-python/vo/
@ 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: 7a0add4a35814d9b07aead5f5887d94c87c1b518
Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 22 07:52:29 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=7a0add4a
dev-python/vo: 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/vo/metadata.xml | 4 ++--
dev-python/vo/vo-0.8-r1.ebuild | 18 +++++++++---------
2 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/dev-python/vo/metadata.xml b/dev-python/vo/metadata.xml
index 1fec8de..fc6a461 100644
--- a/dev-python/vo/metadata.xml
+++ b/dev-python/vo/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">
vo.table is a Python package to read and write astronomical VOTable
files into Numpy record arrays.
vo.table supports the VOTable Format Definition Version 1.1. Some
diff --git a/dev-python/vo/vo-0.8-r1.ebuild b/dev-python/vo/vo-0.8-r1.ebuild
index 1af5073..bc97f1d 100644
--- a/dev-python/vo/vo-0.8-r1.ebuild
+++ b/dev-python/vo/vo-0.8-r1.ebuild
@@ -6,11 +6,12 @@ EAPI=5
PYTHON_COMPAT=( python{2_7,3_3,3_4} )
-inherit distutils-r1 eutils
+inherit distutils-r1
DESCRIPTION="Python module to read VO tables into a numpy array"
HOMEPAGE="https://trac6.assembla.com/astrolib/wiki"
-SRC_URI="http://stsdas.stsci.edu/astrolib/${P}.tar.gz
+SRC_URI="
+ http://stsdas.stsci.edu/astrolib/${P}.tar.gz
test? ( http://svn6.assembla.com/svn/astrolib/trunk/vo/test/wfpc2_all.xml.gz )"
IUSE="examples test"
@@ -20,26 +21,25 @@ LICENSE="BSD"
RDEPEND="
dev-libs/expat
- !<dev-python/astropy-0.3"
+ !dev-python/astropy"
DEPEND="${RDEPEND}"
# slow and buggy tests
RESTRICT="test"
+PATCHES=( "${FILESDIR}"/${PN}-0.6-expat.patch )
+
python_prepare_all() {
- epatch "${FILESDIR}"/${PN}-0.6-expat.patch
use test && cp "${WORKDIR}"/wfpc2_all.xml test
}
python_test() {
cd test || die
ln -s "${S}"/lib/data "${BUILD_DIR}/lib/vo/data" || die
- PYTHONPATH="${BUILD_DIR}/lib" "${EPYTHON}" benchmarks.py || die
+ "${EPYTHON}" benchmarks.py || die
}
python_install_all() {
- if use examples; then
- insinto /usr/share/doc/${PF}/
- doins -r examples
- fi
+ use examples && EXAMPLES=( examples/. )
+ distutils-r1_python_install_all
}
^ 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/vo/ Justin Lecher
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox