aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2005-11-29 16:28:38 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2005-11-29 16:28:38 +0000
commita81a78d91fbcc2dbc75a73e56336dc94f1c22bdc (patch)
tree030928593cb02c3576f4f3a02a047a9ab2d4001a
parentadded examples to test even without doc flag (diff)
downloadsci-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
-rw-r--r--dev-python/pyfits/ChangeLog9
-rw-r--r--dev-python/pyfits/Manifest2
-rw-r--r--dev-python/pyfits/files/digest-pyfits-1.01
-rw-r--r--dev-python/pyfits/metadata.xml13
-rw-r--r--dev-python/pyfits/pyfits-1.0.ebuild33
-rw-r--r--sci-libs/minuit/minuit-1.7.6.ebuild4
6 files changed, 60 insertions, 2 deletions
diff --git a/dev-python/pyfits/ChangeLog b/dev-python/pyfits/ChangeLog
new file mode 100644
index 000000000..4a2133225
--- /dev/null
+++ b/dev-python/pyfits/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-python/pyfits
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+* pyfits-1.0 (29 Nov 2005)
+
+ 29 Nov 2005; Sebastien Fabbro <seb@ist.utl.pt> +pyfits-1.0.ebuild.
+ Initial import. Close bug #65691
+
diff --git a/dev-python/pyfits/Manifest b/dev-python/pyfits/Manifest
new file mode 100644
index 000000000..0fdbc3ff9
--- /dev/null
+++ b/dev-python/pyfits/Manifest
@@ -0,0 +1,2 @@
+MD5 3e9a019e7e6b2cc79ca3e76e770b8339 pyfits-1.0.ebuild 760
+MD5 59f60aedbd56419f50ce3bb6b8c6e97f files/digest-pyfits-1.0 63
diff --git a/dev-python/pyfits/files/digest-pyfits-1.0 b/dev-python/pyfits/files/digest-pyfits-1.0
new file mode 100644
index 000000000..99e4f1afb
--- /dev/null
+++ b/dev-python/pyfits/files/digest-pyfits-1.0
@@ -0,0 +1 @@
+MD5 8d3622776ba9c5ab52af43ffbe7c0eaf pyfits_v1.0.tar.gz 304930
diff --git a/dev-python/pyfits/metadata.xml b/dev-python/pyfits/metadata.xml
new file mode 100644
index 000000000..d0862938b
--- /dev/null
+++ b/dev-python/pyfits/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+ <maintainer>
+ <email>seb@ist.utl.pt</email>
+ <name> Sebastien Fabbro</name>
+ </maintainer>
+ <longdescription lang="en">
+ PyFITS provides an interface to FITS formatted files under
+ the Python scripting language and PyRAF, the Python-based interface to IRAF.
+ </longdescription>
+</pkgmetadata>
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
+}
diff --git a/sci-libs/minuit/minuit-1.7.6.ebuild b/sci-libs/minuit/minuit-1.7.6.ebuild
index 988bc4689..6d6583126 100644
--- a/sci-libs/minuit/minuit-1.7.6.ebuild
+++ b/sci-libs/minuit/minuit-1.7.6.ebuild
@@ -28,10 +28,10 @@ src_compile() {
src_install() {
make DESTDIR=${D} install || die "make install failed"
dodir /usr/share/doc/${PF}/MnTutorial
- insinto /usr/share/doc/${PF}/MnTutorial
doins tests/MnTutorial/*.{h,cpp}
if use doc; then
- doins ${DISTDIR}/mnusersguide.pdf || die "doins failed"
+ insinto /usr/share/doc/${PF}
+ doins mnusersguide.pdf || die "doins failed"
dohtml -r doc/html/* || die "dohtml failed"
fi
}