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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/Attic/vo-0.7.ebuild,v 1.2 2011/08/04 00:04:14 bicatali Exp $ 3# $Header: /var/cvsroot/gentoo-x86/dev-python/vo/Attic/vo-0.7.ebuild,v 1.3 2011/08/08 18:35:34 hwoarang Exp $
4 4
5EAPI=3 5EAPI=3
6 6
7PYTHON_DEPEND="*:2.5" 7PYTHON_DEPEND="*:2.6"
8SUPPORT_PYTHON_ABIS="1" 8SUPPORT_PYTHON_ABIS="1"
9RESTRICT_PYTHON_ABIS="2.4" 9RESTRICT_PYTHON_ABIS="2.4 2.5 *-jython"
10 10
11inherit distutils eutils 11inherit distutils eutils
12 12
13DESCRIPTION="Python module to read VOTABLE into a Numpy recarray" 13DESCRIPTION="Python module to read VOTABLE into a Numpy recarray"
14HOMEPAGE="https://trac6.assembla.com/astrolib/wiki http://www.scipy.org/AstroLib" 14HOMEPAGE="https://trac6.assembla.com/astrolib/wiki http://www.scipy.org/AstroLib"
20LICENSE="BSD" 20LICENSE="BSD"
21 21
22RDEPEND="dev-libs/expat" 22RDEPEND="dev-libs/expat"
23DEPEND="${RDEPEND}" 23DEPEND="${RDEPEND}"
24 24
25PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
26
25src_prepare() { 27src_prepare() {
26 epatch "${FILESDIR}"/${PN}-0.6-expat.patch 28 epatch "${FILESDIR}"/${PN}-0.6-expat.patch
27} 29}
28 30
29src_test() { 31src_test() {
30 cd test 32 cd test
33
31 testing() { 34 testing() {
32 PYTHONPATH="$(ls -d ${S}/build-${PYTHON_ABI}/lib*)" \ 35 PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" benchmarks.py
33 "$(PYTHON)" benchmarks.py || die "test failed with Python ${PYTHON_ABI}"
34 } 36 }
35 python_execute_function testing 37 python_execute_function testing
36} 38}
37 39
38src_install() { 40src_install() {

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20