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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Mon Aug 15 20:58:04 2011 UTC (2 years, 11 months ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +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.6.ebuild,v 1.4 2011/01/07 18:31:44 jlec Exp $
4
5 EAPI=3
6
7 PYTHON_DEPEND="*:2.5"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="2.4"
10 DISTUTILS_SRC_TEST="nosetests"
11
12 inherit distutils eutils
13
14 DESCRIPTION="Python module to read VOTABLE into a Numpy recarray"
15 HOMEPAGE="https://trac6.assembla.com/astrolib/wiki http://www.scipy.org/AstroLib"
16 SRC_URI="http://stsdas.stsci.edu/astrolib/${P}.tar.gz"
17
18 IUSE="examples"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86"
21 LICENSE="BSD"
22
23 RDEPEND="dev-libs/expat"
24 DEPEND="${RDEPEND}"
25
26 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
27
28 src_prepare() {
29 epatch "${FILESDIR}"/${P}-expat.patch
30 }
31
32 #FIXME: tests are buggy, sphinx misses stsci_sphinx.conf
33
34 src_install() {
35 distutils_src_install
36 if use examples; then
37 insinto /usr/share/doc/${PF}/
38 doins -r examples || die
39 fi
40 }

  ViewVC Help
Powered by ViewVC 1.1.20