summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-09-23 13:04:37 +0000
committerJustin Lecher <jlec@gentoo.org>2013-09-23 13:04:37 +0000
commite0a2aeb58899101b893f3bfc53428c18e78cb923 (patch)
tree775b80459b23b4fd3b717f5f9ad459ce03d8fb64 /sci-libs/cfitsio
parentChange default/bsd/fbsd/amd64/9.1 from stable to dev because the arch is supp... (diff)
downloadgentoo-2-e0a2aeb58899101b893f3bfc53428c18e78cb923.tar.gz
gentoo-2-e0a2aeb58899101b893f3bfc53428c18e78cb923.tar.bz2
gentoo-2-e0a2aeb58899101b893f3bfc53428c18e78cb923.zip
sci-libs/cfitsio: Use fortran-2.eclass
(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'sci-libs/cfitsio')
-rw-r--r--sci-libs/cfitsio/ChangeLog6
-rw-r--r--sci-libs/cfitsio/cfitsio-3.140.ebuild11
-rw-r--r--sci-libs/cfitsio/cfitsio-3.340.ebuild9
-rw-r--r--sci-libs/cfitsio/cfitsio-3.350.ebuild9
-rw-r--r--sci-libs/cfitsio/metadata.xml10
5 files changed, 32 insertions, 13 deletions
diff --git a/sci-libs/cfitsio/ChangeLog b/sci-libs/cfitsio/ChangeLog
index d1ee14a8c744..fb66c483cdd7 100644
--- a/sci-libs/cfitsio/ChangeLog
+++ b/sci-libs/cfitsio/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sci-libs/cfitsio
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.63 2013/07/03 16:28:04 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.64 2013/09/23 13:04:36 jlec Exp $
+
+ 23 Sep 2013; Justin Lecher <jlec@gentoo.org> cfitsio-3.140.ebuild,
+ cfitsio-3.340.ebuild, cfitsio-3.350.ebuild, metadata.xml:
+ Use fortran-2.eclass
*cfitsio-3.350 (03 Jul 2013)
diff --git a/sci-libs/cfitsio/cfitsio-3.140.ebuild b/sci-libs/cfitsio/cfitsio-3.140.ebuild
index 0fa160fbd82e..a0dd52c0e397 100644
--- a/sci-libs/cfitsio/cfitsio-3.140.ebuild
+++ b/sci-libs/cfitsio/cfitsio-3.140.ebuild
@@ -1,9 +1,10 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.140.ebuild,v 1.8 2009/10/11 16:18:58 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.140.ebuild,v 1.9 2013/09/23 13:04:36 jlec Exp $
EAPI=2
-inherit eutils autotools
+
+inherit autotools eutils fortran-2
DESCRIPTION="C and Fortran library for manipulating FITS files"
HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
@@ -19,6 +20,10 @@ RDEPEND=""
S="${WORKDIR}/${PN}"
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+}
+
src_prepare() {
# avoid internal cfortran
if use fortran; then
diff --git a/sci-libs/cfitsio/cfitsio-3.340.ebuild b/sci-libs/cfitsio/cfitsio-3.340.ebuild
index 4226cf20c1b9..e60d13fd9396 100644
--- a/sci-libs/cfitsio/cfitsio-3.340.ebuild
+++ b/sci-libs/cfitsio/cfitsio-3.340.ebuild
@@ -1,9 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.340.ebuild,v 1.1 2013/03/20 21:07:36 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.340.ebuild,v 1.2 2013/09/23 13:04:36 jlec Exp $
EAPI=5
-inherit autotools-utils
+
+inherit autotools-utils fortran-2
DESCRIPTION="C and Fortran library for manipulating FITS files"
HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
@@ -18,6 +19,10 @@ RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}
fortran? ( dev-lang/cfortran )"
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+}
+
src_prepare() {
# avoid internal cfortran
if use fortran; then
diff --git a/sci-libs/cfitsio/cfitsio-3.350.ebuild b/sci-libs/cfitsio/cfitsio-3.350.ebuild
index ad7909711336..afd62471d17b 100644
--- a/sci-libs/cfitsio/cfitsio-3.350.ebuild
+++ b/sci-libs/cfitsio/cfitsio-3.350.ebuild
@@ -1,9 +1,10 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.350.ebuild,v 1.1 2013/07/03 16:28:04 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.350.ebuild,v 1.2 2013/09/23 13:04:36 jlec Exp $
EAPI=5
-inherit autotools-utils
+
+inherit autotools-utils fortran-2
DESCRIPTION="C and Fortran library for manipulating FITS files"
HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html"
@@ -18,6 +19,10 @@ RDEPEND="sys-libs/zlib"
DEPEND="${RDEPEND}
fortran? ( dev-lang/cfortran )"
+pkg_setup() {
+ use fortran && fortran-2_pkg_setup
+}
+
src_prepare() {
# avoid internal cfortran
if use fortran; then
diff --git a/sci-libs/cfitsio/metadata.xml b/sci-libs/cfitsio/metadata.xml
index d581707e2d8a..3a1d7eeeb433 100644
--- a/sci-libs/cfitsio/metadata.xml
+++ b/sci-libs/cfitsio/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>sci-astronomy</herd>
-<longdescription lang="en">
+ <herd>sci-astronomy</herd>
+ <longdescription lang="en">
CFITSIO is a library of C and Fortran subroutines for reading and
writing data files in FITS (Flexible Image Transport System) data
format. CFITSIO provides simple high-level routines for reading and
@@ -11,8 +11,8 @@
features for manipulating and filtering the information in FITS
files.
</longdescription>
-<use>
- <flag name="tools">Build execs fpack, funpack, imcopy, fitscopy, listhead
+ <use>
+ <flag name="tools">Build execs fpack, funpack, imcopy, fitscopy, listhead
</flag>
-</use>
+ </use>
</pkgmetadata>