diff options
Diffstat (limited to 'sci-astronomy/kapteyn/kapteyn-2.2-r1.ebuild')
-rw-r--r-- | sci-astronomy/kapteyn/kapteyn-2.2-r1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/sci-astronomy/kapteyn/kapteyn-2.2-r1.ebuild b/sci-astronomy/kapteyn/kapteyn-2.2-r1.ebuild new file mode 100644 index 0000000000..55ad6b2718 --- /dev/null +++ b/sci-astronomy/kapteyn/kapteyn-2.2-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils 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} + virtual/pyfits[${PYTHON_USEDEP}] + dev-python/matplotlib[${PYTHON_USEDEP}]" + +DOCS=( CHANGES.txt README.txt doc/${PN}.pdf ) + +python_prepare_all() { + epatch "${FILESDIR}"/${P}-debundle_wcs.patch + rm -r src/wcslib-4.* || die + distutils-r1_python_prepare_all +} |