summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2012-06-06 22:48:41 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2012-06-06 22:48:41 +0000
commitf9a65989a4574037f6aac49fb457641eb3470a86 (patch)
tree0a08b6cb6d8784a144f2ffebde2cb5715bb939d3 /dev-python/vo
parentInitial import (diff)
downloadgentoo-2-f9a65989a4574037f6aac49fb457641eb3470a86.tar.gz
gentoo-2-f9a65989a4574037f6aac49fb457641eb3470a86.tar.bz2
gentoo-2-f9a65989a4574037f6aac49fb457641eb3470a86.zip
Version bump
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/vo')
-rw-r--r--dev-python/vo/ChangeLog9
-rw-r--r--dev-python/vo/vo-0.8.ebuild48
2 files changed, 55 insertions, 2 deletions
diff --git a/dev-python/vo/ChangeLog b/dev-python/vo/ChangeLog
index 25ab3ad75f01..20723cef7cc3 100644
--- a/dev-python/vo/ChangeLog
+++ b/dev-python/vo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/vo
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/ChangeLog,v 1.9 2011/08/15 20:58:03 xarthisius Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/ChangeLog,v 1.10 2012/06/06 22:48:41 bicatali Exp $
+
+*vo-0.8 (06 Jun 2012)
+
+ 06 Jun 2012; Sébastien Fabbro <bicatali@gentoo.org> +vo-0.8.ebuild:
+ Version bump
*vo-0.7.2 (15 Aug 2011)
diff --git a/dev-python/vo/vo-0.8.ebuild b/dev-python/vo/vo-0.8.ebuild
new file mode 100644
index 000000000000..cad010841785
--- /dev/null
+++ b/dev-python/vo/vo-0.8.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/vo-0.8.ebuild,v 1.1 2012/06/06 22:48:41 bicatali Exp $
+
+EAPI=4
+
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="2.4 2.5 *-jython"
+
+inherit distutils eutils
+
+DESCRIPTION="Python module to read VOTABLE into a Numpy recarray"
+HOMEPAGE="https://trac6.assembla.com/astrolib/wiki http://www.scipy.org/AstroLib"
+SRC_URI="http://stsdas.stsci.edu/astrolib/${P}.tar.gz"
+
+IUSE="examples"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LICENSE="BSD"
+
+RDEPEND="dev-libs/expat"
+DEPEND="${RDEPEND}"
+
+PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
+
+# missing data to perform tests
+RESTRICT="test"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.6-expat.patch
+}
+
+src_test() {
+ cd test
+ testing() {
+ PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" \
+ "$(PYTHON)" benchmarks.py
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PF}/
+ doins -r examples
+ fi
+}