/[gentoo-x86]/dev-python/pyfits/pyfits-3.1.ebuild
Gentoo

Contents of /dev-python/pyfits/pyfits-3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Apr 22 21:50:31 2013 UTC (4 weeks, 3 days ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Switched to distutils-r1

(Portage version: 2.2.01.21890-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/pyfits/pyfits-3.1.ebuild,v 1.2 2012/10/12 09:35:57 patrick Exp $
4
5 EAPI=4
6
7 PYTHON_DEPEND="*:2.6"
8 SUPPORT_PYTHON_ABIS="1"
9 RESTRICT_PYTHON_ABIS="2.5 2.7-pypy-* 3.3"
10 DISTUTILS_SRC_TEST=nosetests
11
12 inherit distutils eutils
13
14 DESCRIPTION="Provides an interface to FITS formatted files under python"
15 HOMEPAGE="http://www.stsci.edu/resources/software_hardware/pyfits http://pypi.python.org/pypi/pyfits"
16 SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
17
18 LICENSE="BSD"
19 SLOT="0"
20 KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
21 IUSE=""
22
23 RDEPEND="dev-python/numpy
24 dev-python/setuptools
25 !dev-python/astropy"
26 DEPEND="${RDEPEND}
27 dev-python/stsci-distutils
28 dev-python/d2to1"
29
30 PYTHON_CFLAGS=("2.* + -fno-strict-aliasing")
31
32 src_prepare() {
33 epatch "${FILESDIR}"/${PN}-3.0.8-debundle_zlib.patch
34 distutils_src_prepare
35 }
36
37 src_test() {
38 testing() {
39 nosetests -w "$(ls -d build-${PYTHON_ABI}/lib*)"
40 }
41 python_execute_function testing
42 }

  ViewVC Help
Powered by ViewVC 1.1.13