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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon Aug 15 20:58:04 2011 UTC (3 years, 4 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Version bump, drop old

(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.7.ebuild,v 1.3 2011/08/08 18:35:34 hwoarang Exp $
4
5 EAPI=3
6
7 PYTHON_DEPEND="*:2.6"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="2.4 2.5 *-jython"
10
11 inherit distutils eutils
12
13 DESCRIPTION="Python module to read VOTABLE into a Numpy recarray"
14 HOMEPAGE="https://trac6.assembla.com/astrolib/wiki http://www.scipy.org/AstroLib"
15 SRC_URI="http://stsdas.stsci.edu/astrolib/${P}.tar.gz"
16
17 IUSE="examples"
18 SLOT="0"
19 KEYWORDS="~amd64 ~x86"
20 LICENSE="BSD"
21
22 RDEPEND="dev-libs/expat"
23 DEPEND="${RDEPEND}"
24
25 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
26
27 src_prepare() {
28 epatch "${FILESDIR}"/${PN}-0.6-expat.patch
29 }
30
31 src_test() {
32 cd test
33
34 testing() {
35 PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" benchmarks.py
36 }
37 python_execute_function testing
38 }
39
40 src_install() {
41 distutils_src_install
42 if use examples; then
43 insinto /usr/share/doc/${PF}/
44 doins -r examples || die
45 fi
46 }

  ViewVC Help
Powered by ViewVC 1.1.20