summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2013-02-05 22:42:52 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2013-02-05 22:42:52 +0000
commite02d93eb65d543d32a4b61abd66b6dc602bea2c9 (patch)
treeb9986f4299309cd9f7718b5184a08989b4bbce2a /dev-python/aplpy
parentNew HOMEPAGE. Verbose build. (diff)
downloadgentoo-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')
-rw-r--r--dev-python/aplpy/ChangeLog10
-rw-r--r--dev-python/aplpy/aplpy-0.9.7.ebuild31
-rw-r--r--dev-python/aplpy/aplpy-0.9.8-r1.ebuild38
-rw-r--r--dev-python/aplpy/metadata.xml3
4 files changed, 49 insertions, 33 deletions
diff --git a/dev-python/aplpy/ChangeLog b/dev-python/aplpy/ChangeLog
index 8d47cee55b85..ade30dc67d5b 100644
--- a/dev-python/aplpy/ChangeLog
+++ b/dev-python/aplpy/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/aplpy
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/aplpy/ChangeLog,v 1.9 2012/08/02 18:07:23 bicatali Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/aplpy/ChangeLog,v 1.10 2013/02/05 22:42:52 bicatali Exp $
+
+*aplpy-0.9.8-r1 (05 Feb 2013)
+
+ 05 Feb 2013; Sébastien Fabbro <bicatali@gentoo.org> +aplpy-0.9.8-r1.ebuild,
+ -aplpy-0.9.7.ebuild, metadata.xml:
+ Switch to distutils-r1
02 Aug 2012; Sébastien Fabbro <bicatali@gentoo.org> aplpy-0.9.8.ebuild:
Keyword amd64-linux and x86-linux
diff --git a/dev-python/aplpy/aplpy-0.9.7.ebuild b/dev-python/aplpy/aplpy-0.9.7.ebuild
deleted file mode 100644
index 18bb86486eb5..000000000000
--- a/dev-python/aplpy/aplpy-0.9.7.ebuild
+++ /dev/null
@@ -1,31 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/aplpy/aplpy-0.9.7.ebuild,v 1.2 2012/04/23 20:06:28 mgorny Exp $
-
-EAPI=2
-
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-
-inherit distutils
-
-MYP=APLpy-${PV}
-
-DESCRIPTION="Astronomical Plotting Library in Python"
-HOMEPAGE="http://aplpy.github.com/ http://pypi.python.org/pypi/APLpy"
-SRC_URI="mirror://github/${PN}/${PN}/${MYP}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND="dev-python/numpy"
-RDEPEND="${DEPEND}
- dev-python/matplotlib
- dev-python/pyfits
- dev-python/pywcs"
-
-RESTRICT_PYTHON_ABIS="3.*"
-
-S=${WORKDIR}/${MYP}
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
+}
diff --git a/dev-python/aplpy/metadata.xml b/dev-python/aplpy/metadata.xml
index 43f61495ed19..9f00245ca4e2 100644
--- a/dev-python/aplpy/metadata.xml
+++ b/dev-python/aplpy/metadata.xml
@@ -9,4 +9,7 @@
capable of creating output files in several graphical formats,
including EPS, PDF, PS, PNG, and SVG.
</longdescription>
+<upstream>
+ <remote-id type="pypi">APLpy</remote-id>
+</upstream>
</pkgmetadata>