1 |
bicatali 07/09/10 20:27:58 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: cfitsio-3.060.ebuild |
5 |
Log: |
6 |
Version bump. Added tests and a proper autotools version, added fortran use flag to enable fortran wrappers. Closing bug #123803 |
7 |
(Portage version: 2.1.2.12) |
8 |
|
9 |
Revision Changes Path |
10 |
1.12 sci-libs/cfitsio/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.12&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?rev=1.12&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/ChangeLog?r1=1.11&r2=1.12 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v |
19 |
retrieving revision 1.11 |
20 |
retrieving revision 1.12 |
21 |
diff -u -r1.11 -r1.12 |
22 |
--- ChangeLog 8 Jan 2007 02:36:35 -0000 1.11 |
23 |
+++ ChangeLog 10 Sep 2007 20:27:58 -0000 1.12 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for sci-libs/cfitsio |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.11 2007/01/08 02:36:35 kugelfang Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/ChangeLog,v 1.12 2007/09/10 20:27:58 bicatali Exp $ |
29 |
+ |
30 |
+*cfitsio-3.060 (10 Sep 2007) |
31 |
+ |
32 |
+ 10 Sep 2007; Sébastien Fabbro <bicatali@g.o> |
33 |
+ +files/cfitsio-3.060-autotools.patch, metadata.xml, +cfitsio-3.060.ebuild: |
34 |
+ Version bump. Added tests and a proper autotools version, added fortran use |
35 |
+ flag to enable fortran wrappers. Closing bug #123803 |
36 |
|
37 |
08 Jan 2007; Danny van Dyk <kugelfang@g.o> -cfitsio-2.490.ebuild, |
38 |
-cfitsio-2.500.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.2 sci-libs/cfitsio/metadata.xml |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/metadata.xml?rev=1.2&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/metadata.xml?rev=1.2&content-type=text/plain |
46 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/metadata.xml?r1=1.1&r2=1.2 |
47 |
|
48 |
Index: metadata.xml |
49 |
=================================================================== |
50 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/metadata.xml,v |
51 |
retrieving revision 1.1 |
52 |
retrieving revision 1.2 |
53 |
diff -u -r1.1 -r1.2 |
54 |
--- metadata.xml 28 Dec 2004 20:03:08 -0000 1.1 |
55 |
+++ metadata.xml 10 Sep 2007 20:27:58 -0000 1.2 |
56 |
@@ -3,4 +3,13 @@ |
57 |
<pkgmetadata> |
58 |
<herd>sci</herd> |
59 |
<maintainer><email>nerdboy@g.o</email></maintainer> |
60 |
+<longdescription lang="en"> |
61 |
+CFITSIO is a library of C and Fortran subroutines for reading and |
62 |
+writing data files in FITS (Flexible Image Transport System) data |
63 |
+format. CFITSIO provides simple high-level routines for reading and |
64 |
+writing FITS files that insulate the programmer from the internal |
65 |
+complexities of the FITS format. CFITSIO also provides advanced |
66 |
+features for manipulating and filtering the information in FITS |
67 |
+files. |
68 |
+</longdescription> |
69 |
</pkgmetadata> |
70 |
|
71 |
|
72 |
|
73 |
1.1 sci-libs/cfitsio/cfitsio-3.060.ebuild |
74 |
|
75 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.060.ebuild?rev=1.1&view=markup |
76 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/cfitsio/cfitsio-3.060.ebuild?rev=1.1&content-type=text/plain |
77 |
|
78 |
Index: cfitsio-3.060.ebuild |
79 |
=================================================================== |
80 |
# Copyright 1999-2007 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/cfitsio/cfitsio-3.060.ebuild,v 1.1 2007/09/10 20:27:58 bicatali Exp $ |
83 |
|
84 |
inherit eutils fortran autotools |
85 |
|
86 |
DESCRIPTION="C and Fortran library for manipulating FITS files" |
87 |
HOMEPAGE="http://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" |
88 |
SRC_URI="ftp://heasarc.gsfc.nasa.gov/software/fitsio/c/${PN}${PV//.}.tar.gz" |
89 |
|
90 |
LICENSE="GPL-2" |
91 |
SLOT="0" |
92 |
KEYWORDS="~amd64 ~sparc ~x86" |
93 |
IUSE="doc fortran" |
94 |
|
95 |
DEPEND="fortran? ( dev-lang/cfortran )" |
96 |
|
97 |
S=${WORKDIR}/${PN} |
98 |
|
99 |
pkg_setup() { |
100 |
if use fortran; then |
101 |
FORTRAN="gfortran g77 ifc" |
102 |
fortran_pkg_setup |
103 |
fi |
104 |
} |
105 |
|
106 |
src_unpack() { |
107 |
unpack ${A} |
108 |
cd "${S}" |
109 |
# sed to avoid internal cfortran |
110 |
if use fortran; then |
111 |
sed -i \ |
112 |
-e 's:"cfortran.h":<cfortran.h>:' \ |
113 |
f77_wrap.h || die "sed fortran failed" |
114 |
fi |
115 |
epatch "${FILESDIR}"/${P}-autotools.patch |
116 |
eautoreconf |
117 |
} |
118 |
|
119 |
src_compile() { |
120 |
econf $(use_enable fortran) || die "econf failed" |
121 |
emake || die "emake failed" |
122 |
} |
123 |
|
124 |
src_test() { |
125 |
einfo "Testing cfitsio" |
126 |
./testprog > testprog.lis |
127 |
diff testprog.lis testprog.out || die "test failed" |
128 |
cmp testprog.fit testprog.std || die "failed" |
129 |
if use fortran; then |
130 |
einfo "Testing cfitsio fortran wrappers" |
131 |
./testf77 > testf77.lis |
132 |
diff testf77.lis testf77.out || die "test failed" |
133 |
cmp testf77.fit testf77.std || die "failed" |
134 |
fi |
135 |
} |
136 |
|
137 |
src_install () { |
138 |
emake DESTDIR="${D}" install || die "emake install failed" |
139 |
dodoc changes.txt README License.txt cfitsio.doc || die "dodoc failed" |
140 |
insinto /usr/share/doc/${PF} |
141 |
doins cookbook.c || die "install cookbook failed" |
142 |
use doc && dodoc cfitsio.ps quick.ps |
143 |
if use fortran; then |
144 |
doins cookbook.f || die "install cookbook failed" |
145 |
dodoc fitsio.doc |
146 |
use doc && dodoc fitsio.ps |
147 |
fi |
148 |
} |
149 |
|
150 |
|
151 |
|
152 |
-- |
153 |
gentoo-commits@g.o mailing list |