diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-04-24 19:07:33 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-04-24 19:07:33 +0000 |
commit | 4f3b42604e923de36e8522fbee62395d0adb4d18 (patch) | |
tree | 9c8492658a97716bb5531e355b74a594d237a771 /dev-python | |
parent | Added python-3.3 compat (diff) | |
download | gentoo-2-4f3b42604e923de36e8522fbee62395d0adb4d18.tar.gz gentoo-2-4f3b42604e923de36e8522fbee62395d0adb4d18.tar.bz2 gentoo-2-4f3b42604e923de36e8522fbee62395d0adb4d18.zip |
Switch to new distutils-r1
(Portage version: 2.2.01.21890-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/vo/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/vo/vo-0.8-r1.ebuild | 45 |
2 files changed, 52 insertions, 2 deletions
diff --git a/dev-python/vo/ChangeLog b/dev-python/vo/ChangeLog index 670295b819bb..061d8631ca28 100644 --- a/dev-python/vo/ChangeLog +++ b/dev-python/vo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/vo -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/ChangeLog,v 1.12 2012/08/08 19:13:19 bicatali Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/ChangeLog,v 1.13 2013/04/24 19:07:33 bicatali Exp $ + +*vo-0.8-r1 (24 Apr 2013) + + 24 Apr 2013; Sébastien Fabbro <bicatali@gentoo.org> +vo-0.8-r1.ebuild: + Switch to new distutils-r1 08 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> vo-0.8.ebuild: Blocking astropy (bug #429148) diff --git a/dev-python/vo/vo-0.8-r1.ebuild b/dev-python/vo/vo-0.8-r1.ebuild new file mode 100644 index 000000000000..dfcb5a3fe8a5 --- /dev/null +++ b/dev-python/vo/vo-0.8-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/vo-0.8-r1.ebuild,v 1.1 2013/04/24 19:07:33 bicatali Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} ) + +inherit distutils-r1 eutils + +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 + test? ( http://svn6.assembla.com/svn/astrolib/trunk/vo/test/wfpc2_all.xml.gz )" + +IUSE="examples test" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="BSD" + +RDEPEND=" + dev-libs/expat + !dev-python/astropy" +DEPEND="${RDEPEND}" + +# slow and buggy tests +RESTRICT="test" + +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 +} + +python_install_all() { + if use examples; then + insinto /usr/share/doc/${PF}/ + doins -r examples + fi +} |