diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-02-05 22:42:52 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-02-05 22:42:52 +0000 |
commit | e02d93eb65d543d32a4b61abd66b6dc602bea2c9 (patch) | |
tree | b9986f4299309cd9f7718b5184a08989b4bbce2a /dev-python/aplpy/aplpy-0.9.8-r1.ebuild | |
parent | New HOMEPAGE. Verbose build. (diff) | |
download | gentoo-2-e02d93eb65d543d32a4b61abd66b6dc602bea2c9.tar.gz gentoo-2-e02d93eb65d543d32a4b61abd66b6dc602bea2c9.tar.bz2 gentoo-2-e02d93eb65d543d32a4b61abd66b6dc602bea2c9.zip |
Switch to distutils-r1
(Portage version: 2.2.01.21688-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/aplpy/aplpy-0.9.8-r1.ebuild')
-rw-r--r-- | dev-python/aplpy/aplpy-0.9.8-r1.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/aplpy/aplpy-0.9.8-r1.ebuild b/dev-python/aplpy/aplpy-0.9.8-r1.ebuild new file mode 100644 index 000000000000..797b6df340dd --- /dev/null +++ b/dev-python/aplpy/aplpy-0.9.8-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/aplpy/aplpy-0.9.8-r1.ebuild,v 1.1 2013/02/05 22:42:52 bicatali Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_5,2_6,2_7} ) + +inherit distutils-r1 + +MYP=APLpy-${PV} + +DESCRIPTION="Astronomical Plotting Library in Python" +HOMEPAGE="http://aplpy.github.com/" +SRC_URI="mirror://github/${PN}/${PN}/${MYP}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" + +RDEPEND=" + dev-python/numpy + dev-python/matplotlib + dev-python/pyfits + dev-python/pywcs" +DEPEND=" + dev-python/numpy + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + ${RDEPEND} + )" + +S="${WORKDIR}/${MYP}" + +python_test() { + PYTHONPATH="${BUILD_DIR}"/lib "${EPYTHON}" runtests.py || die +} |