summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik <xarthisius@gentoo.org>2012-03-25 09:39:17 +0000
committerKacper Kowalik <xarthisius@gentoo.org>2012-03-25 09:39:17 +0000
commitab7a421afdd99af4137f298e9729217b7431f414 (patch)
tree2861f3ba6df0e45a2253b22911fe7015f540ccb6 /dev-python/aplpy
parentFix autoconf/automake dependencies, bug 409451 (diff)
downloadgentoo-2-ab7a421afdd99af4137f298e9729217b7431f414.tar.gz
gentoo-2-ab7a421afdd99af4137f298e9729217b7431f414.tar.bz2
gentoo-2-ab7a421afdd99af4137f298e9729217b7431f414.zip
Version bump, enable tests
(Portage version: 2.2.0_alpha93/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/aplpy')
-rw-r--r--dev-python/aplpy/ChangeLog7
-rw-r--r--dev-python/aplpy/aplpy-0.9.8.ebuild42
2 files changed, 48 insertions, 1 deletions
diff --git a/dev-python/aplpy/ChangeLog b/dev-python/aplpy/ChangeLog
index f8c5894eeff6..94fcff3fb776 100644
--- a/dev-python/aplpy/ChangeLog
+++ b/dev-python/aplpy/ChangeLog
@@ -1,6 +1,11 @@
# 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.6 2012/03/02 10:40:26 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/aplpy/ChangeLog,v 1.7 2012/03/25 09:39:17 xarthisius Exp $
+
+*aplpy-0.9.8 (25 Mar 2012)
+
+ 25 Mar 2012; Kacper Kowalik <xarthisius@gentoo.org> +aplpy-0.9.8.ebuild:
+ Version bump, enable tests
02 Mar 2012; Kacper Kowalik <xarthisius@gentoo.org> -aplpy-0.9.6.ebuild:
Version bump, drop old
diff --git a/dev-python/aplpy/aplpy-0.9.8.ebuild b/dev-python/aplpy/aplpy-0.9.8.ebuild
new file mode 100644
index 000000000000..fc23834db4ee
--- /dev/null
+++ b/dev-python/aplpy/aplpy-0.9.8.ebuild
@@ -0,0 +1,42 @@
+# 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.8.ebuild,v 1.1 2012/03/25 09:39:17 xarthisius 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="https://github.com/downloads/${PN}/${PN}/${MYP}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-python/numpy
+ dev-python/matplotlib
+ dev-python/pyfits
+ dev-python/pywcs"
+DEPEND="dev-python/numpy
+ test? (
+ dev-python/pytest
+ ${RDEPEND}
+ )"
+
+RESTRICT_PYTHON_ABIS="3.*"
+
+S=${WORKDIR}/${MYP}
+
+src_test() {
+ testing() {
+ PYTHONPATH="build-${PYTHON_ABI}/lib" "$(PYTHON)" runtests.py
+ }
+ python_execute_function testing
+}