diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-04-24 22:45:29 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-04-24 22:45:29 +0000 |
commit | 7fe5565fd2c856d21f734da27359215b41ce646b (patch) | |
tree | c5e413936fb6407d9988c04a6f9827f106c444da /dev-python/atpy | |
parent | fix for bug #466270, migrated upstream and ebuild to use hwids instead of iee... (diff) | |
download | gentoo-2-7fe5565fd2c856d21f734da27359215b41ce646b.tar.gz gentoo-2-7fe5565fd2c856d21f734da27359215b41ce646b.tar.bz2 gentoo-2-7fe5565fd2c856d21f734da27359215b41ce646b.zip |
Switched to distutils-r1 and virtual/pyfits
(Portage version: 2.2.01.21890-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-python/atpy')
-rw-r--r-- | dev-python/atpy/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/atpy/atpy-0.9.6-r1.ebuild | 37 | ||||
-rw-r--r-- | dev-python/atpy/metadata.xml | 15 |
3 files changed, 53 insertions, 7 deletions
diff --git a/dev-python/atpy/ChangeLog b/dev-python/atpy/ChangeLog index 0d01048019d5..def79dfcd779 100644 --- a/dev-python/atpy/ChangeLog +++ b/dev-python/atpy/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/atpy # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/atpy/ChangeLog,v 1.11 2013/02/27 07:29:29 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/atpy/ChangeLog,v 1.12 2013/04/24 22:45:29 bicatali Exp $ + +*atpy-0.9.6-r1 (24 Apr 2013) + + 24 Apr 2013; Sébastien Fabbro <bicatali@gentoo.org> +atpy-0.9.6-r1.ebuild, + metadata.xml: + Switched to distutils-r1 and virtual/pyfits 27 Feb 2013; Kacper Kowalik <xarthisius@gentoo.org> -atpy-0.9.5.3.ebuild: Drop old diff --git a/dev-python/atpy/atpy-0.9.6-r1.ebuild b/dev-python/atpy/atpy-0.9.6-r1.ebuild new file mode 100644 index 000000000000..0daa5f95a8bf --- /dev/null +++ b/dev-python/atpy/atpy-0.9.6-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/atpy/atpy-0.9.6-r1.ebuild,v 1.1 2013/04/24 22:45:29 bicatali Exp $ + +EAPI=5 + +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE="sqlite" + +inherit distutils-r1 + +MYPN=ATpy +MYP="${MYPN}-${PV}" + +DESCRIPTION="Astronomical tables support for Python" +HOMEPAGE="http://atpy.github.com" +SRC_URI="mirror://github/${PN}/${PN}/${MYP}.tar.gz" + +DEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +RDEPEND="${DEPEND} + dev-python/asciitable[${PYTHON_USEDEP}] + fits? ( virtual/pyfits[${PYTHON_USEDEP}] ) + hdf5? ( dev-python/h5py[${PYTHON_USEDEP}] ) + mysql? ( dev-python/mysql-python[${PYTHON_USEDEP}] ) + postgres? ( dev-db/pygresql ) + votable? ( virtual/pyvo[${PYTHON_USEDEP}] )" + +IUSE="+fits hdf5 mysql postgres sqlite +votable" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +LICENSE="GPL-3" + +S="${WORKDIR}/${MYP}" + +python_test() { + PYTHONPATH="${BUILD_DIR}/lib" "${EPYTHON}" test/unittests.py || die +} diff --git a/dev-python/atpy/metadata.xml b/dev-python/atpy/metadata.xml index 4602fa7ba06b..5f2b659f0d99 100644 --- a/dev-python/atpy/metadata.xml +++ b/dev-python/atpy/metadata.xml @@ -14,11 +14,14 @@ and PostgreSQL. </longdescription> <use> - <flag name="fits"> - Enable support for reading and FITS with <pkg>dev-python/pyfits</pkg>. - </flag> - <flag name="votable"> - Enable support for reading and VOTABLE with <pkg>dev-python/vo</pkg>. - </flag> +<flag name="fits"> + Enable support for reading and FITS with <pkg>dev-python/pyfits</pkg>. +</flag> +<flag name="votable"> + Enable support for reading and VOTABLE with <pkg>dev-python/vo</pkg>. +</flag> </use> +<upstream> + <remote-id type="pypi">ATpy</remote-id> +</upstream> </pkgmetadata> |