summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-10-22 10:29:55 +0200
committerJustin Lecher <jlec@gentoo.org>2015-10-22 10:31:52 +0200
commitcc23a7b53bb3bc663c209841ec1137a0a81e37bd (patch)
treeb413f44d7cf48c7edabda8d88a7b7096072473e8 /sci-astronomy/kapteyn/kapteyn-2.3.ebuild
parentdev-python/pyds9: Use pyfits from astropy (diff)
downloadgentoo-cc23a7b53bb3bc663c209841ec1137a0a81e37bd.tar.gz
gentoo-cc23a7b53bb3bc663c209841ec1137a0a81e37bd.tar.bz2
gentoo-cc23a7b53bb3bc663c209841ec1137a0a81e37bd.zip
sci-astronomy/kapteyn: Version Bump and drop old
Package-Manager: portage-2.2.23 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-astronomy/kapteyn/kapteyn-2.3.ebuild')
-rw-r--r--sci-astronomy/kapteyn/kapteyn-2.3.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/sci-astronomy/kapteyn/kapteyn-2.3.ebuild b/sci-astronomy/kapteyn/kapteyn-2.3.ebuild
new file mode 100644
index 00000000000..97afbfa60ba
--- /dev/null
+++ b/sci-astronomy/kapteyn/kapteyn-2.3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Collection of python tools for astronomy"
+HOMEPAGE="http://www.astro.rug.nl/software/kapteyn"
+SRC_URI="http://www.astro.rug.nl/software/kapteyn/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+DEPEND="
+ sci-astronomy/wcslib
+ dev-python/numpy[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}
+ dev-python/astropy[${PYTHON_USEDEP}]
+ dev-python/matplotlib[${PYTHON_USEDEP}]"
+
+DOCS=( CHANGES.txt README.txt doc/${PN}.pdf )
+
+PATCHES=( "${FILESDIR}"/${PN}-2.2-debundle_wcs.patch )
+
+python_prepare_all() {
+ rm -r src/wcslib-4.* || die
+ distutils-r1_python_prepare_all
+}