/[gentoo-x86]/dev-python/vo/vo-0.8.ebuild
Gentoo

Contents of /dev-python/vo/vo-0.8.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Feb 5 23:47:37 2014 UTC (5 months, 2 weeks ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Conflicting only with older versions of astropy

(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-python/vo/vo-0.8.ebuild,v 1.3 2012/08/08 19:13:19 bicatali Exp $
4
5 EAPI=4
6
7 SUPPORT_PYTHON_ABIS="1"
8 RESTRICT_PYTHON_ABIS="2.4 2.5 *-jython"
9
10 inherit distutils eutils
11
12 DESCRIPTION="Python module to read VOTABLE into a Numpy recarray"
13 HOMEPAGE="https://trac6.assembla.com/astrolib/wiki http://www.scipy.org/AstroLib"
14 SRC_URI="http://stsdas.stsci.edu/astrolib/${P}.tar.gz"
15
16 IUSE="examples"
17 SLOT="0"
18 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
19 LICENSE="BSD"
20
21 RDEPEND="dev-libs/expat
22 !dev-python/astropy"
23 DEPEND="${RDEPEND}"
24
25 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
26
27 # missing data to perform tests
28 RESTRICT="test"
29
30 src_prepare() {
31 epatch "${FILESDIR}"/${PN}-0.6-expat.patch
32 }
33
34 src_test() {
35 cd test
36 testing() {
37 PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" \
38 "$(PYTHON)" benchmarks.py
39 }
40 python_execute_function testing
41 }
42
43 src_install() {
44 distutils_src_install
45 if use examples; then
46 insinto /usr/share/doc/${PF}/
47 doins -r examples
48 fi
49 }

  ViewVC Help
Powered by ViewVC 1.1.20