You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/sci-astronomy/kapteyn/kapteyn-2.2-r1.ebuild

33 lines
861 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/kapteyn/kapteyn-2.2-r1.ebuild,v 1.1 2013/04/24 22:32:19 bicatali Exp $
EAPI=5
PYTHON_COMPAT=( python{2_6,2_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
}