diff options
author | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2005-11-29 16:28:38 +0000 |
---|---|---|
committer | bicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb> | 2005-11-29 16:28:38 +0000 |
commit | a81a78d91fbcc2dbc75a73e56336dc94f1c22bdc (patch) | |
tree | 030928593cb02c3576f4f3a02a047a9ab2d4001a /dev-python/pyfits/pyfits-1.0.ebuild | |
parent | added examples to test even without doc flag (diff) | |
download | sci-a81a78d91fbcc2dbc75a73e56336dc94f1c22bdc.tar.gz sci-a81a78d91fbcc2dbc75a73e56336dc94f1c22bdc.tar.bz2 sci-a81a78d91fbcc2dbc75a73e56336dc94f1c22bdc.zip |
added pyfits-1.0.ebuild
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@26 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'dev-python/pyfits/pyfits-1.0.ebuild')
-rw-r--r-- | dev-python/pyfits/pyfits-1.0.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-python/pyfits/pyfits-1.0.ebuild b/dev-python/pyfits/pyfits-1.0.ebuild new file mode 100644 index 000000000..b3894106d --- /dev/null +++ b/dev-python/pyfits/pyfits-1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit distutils + +DESCRIPTION="Provides an interface to FITS formatted files under python" +SRC_URI="ftp://ra.stsci.edu/pub/pyfits/${PN}_v${PV}.tar.gz" +HOMEPAGE="http://www.stsci.edu/resources/software_hardware/pyfits" + +DEPEND=">=dev-lang/python-2.3 + dev-python/numarray" +IUSE="doc" +SLOT="0" +KEYWORDS="~x86 ~amd64" + +# the license has to be checked. +# Nothing on the web site, so copy it from numarray, +# which are from the same guys +LICENSE="BSD" + +S=${WORKDIR}/${PN} + +src_install() { + + distutils_src_install + + if use doc; then + dodir /usr/share/doc/${PF} + insinto /usr/share/doc/${PF} + doins docs/Users_Manual.pdf + fi +} |