Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/netcdf: netcdf-4.1.1.ebuild metadata.xml ChangeLog
Date: Tue, 27 Apr 2010 16:13:19
Message-Id: 20100427161315.052FB2C04C@corvid.gentoo.org
1 scarabeus 10/04/27 16:13:14
2
3 Modified: metadata.xml ChangeLog
4 Added: netcdf-4.1.1.ebuild
5 Log:
6 Version bump (includes dap client).
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.4 sci-libs/netcdf/metadata.xml
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/metadata.xml?rev=1.4&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/metadata.xml?rev=1.4&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/metadata.xml?r1=1.3&r2=1.4
15
16 Index: metadata.xml
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-libs/netcdf/metadata.xml,v
19 retrieving revision 1.3
20 retrieving revision 1.4
21 diff -u -r1.3 -r1.4
22 --- metadata.xml 17 Feb 2009 15:55:14 -0000 1.3
23 +++ metadata.xml 27 Apr 2010 16:13:14 -0000 1.4
24 @@ -10,4 +10,7 @@
25 Together, the interface, library, and format support the creation,
26 access, and sharing of scientific data.
27 </longdescription>
28 +<use>
29 + <flag name="dap">Support for remote data access with the built-in OPeNDAP client</flag>
30 +</use>
31 </pkgmetadata>
32
33
34
35 1.66 sci-libs/netcdf/ChangeLog
36
37 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/ChangeLog?rev=1.66&view=markup
38 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/ChangeLog?rev=1.66&content-type=text/plain
39 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/ChangeLog?r1=1.65&r2=1.66
40
41 Index: ChangeLog
42 ===================================================================
43 RCS file: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v
44 retrieving revision 1.65
45 retrieving revision 1.66
46 diff -u -r1.65 -r1.66
47 --- ChangeLog 12 Feb 2010 04:05:09 -0000 1.65
48 +++ ChangeLog 27 Apr 2010 16:13:14 -0000 1.66
49 @@ -1,6 +1,12 @@
50 # ChangeLog for sci-libs/netcdf
51 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
52 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.65 2010/02/12 04:05:09 bicatali Exp $
53 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/ChangeLog,v 1.66 2010/04/27 16:13:14 scarabeus Exp $
54 +
55 +*netcdf-4.1.1 (27 Apr 2010)
56 +
57 + 27 Apr 2010; Tomáš Chvátal <scarabeus@g.o> +netcdf-4.1.1.ebuild,
58 + metadata.xml:
59 + Version bump (includes dap client).
60
61 12 Feb 2010; Sébastien Fabbro <bicatali@g.o>
62 netcdf-4.0.1-r1.ebuild:
63
64
65
66 1.1 sci-libs/netcdf/netcdf-4.1.1.ebuild
67
68 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/netcdf-4.1.1.ebuild?rev=1.1&view=markup
69 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/netcdf/netcdf-4.1.1.ebuild?rev=1.1&content-type=text/plain
70
71 Index: netcdf-4.1.1.ebuild
72 ===================================================================
73 # Copyright 1999-2010 Gentoo Foundation
74 # Distributed under the terms of the GNU General Public License v2
75 # $Header: /var/cvsroot/gentoo-x86/sci-libs/netcdf/netcdf-4.1.1.ebuild,v 1.1 2010/04/27 16:13:14 scarabeus Exp $
76
77 EAPI="3"
78
79 inherit eutils autotools
80
81 DESCRIPTION="Scientific library and interface for array oriented data access"
82 SRC_URI="ftp://ftp.unidata.ucar.edu/pub/netcdf/${P}.tar.gz"
83 HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/"
84
85 LICENSE="UCAR-Unidata"
86 SLOT="0"
87 IUSE="dap doc fortran hdf5 static-libs szip cxx"
88 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
89
90 RDEPEND="
91 hdf5? ( >=sci-libs/hdf5-1.8[zlib,szip?,fortran?] )
92 dap? ( net-misc/curl )
93 "
94 DEPEND="${RDEPEND}
95 >=sys-devel/libtool-2.2
96 doc? ( virtual/latex-base )
97 fortran? ( dev-lang/cfortran )"
98
99 pkg_setup() {
100 if use hdf5 && has_version sci-libs/hdf5[mpi]; then
101 export CC=mpicc
102 if use cxx; then
103 export CXX=mpicxx
104 fi
105 if use fortran; then
106 export FC=mpif90
107 export F77=mpif77
108 fi
109 fi
110 }
111
112 src_prepare() {
113 # use system cfortran
114 rm -f fortran/cfortran.h || die
115 }
116
117 src_configure() {
118 local myconf
119 if use hdf5; then
120 myconf="--with-hdf5=${EPREFIX}/usr --with-zlib=${EPREFIX}/usr"
121 use szip && myconf="${myconf} --with-szlib=${EPREFIX}/usr"
122 fi
123
124 econf \
125 --enable-shared \
126 --docdir="${EPREFIX}"/usr/share/doc/${PF} \
127 $(use_enable dap) \
128 $(use_enable static-libs static) \
129 $(use_enable fortran f77) \
130 $(use_enable fortran f90) \
131 $(use_enable cxx) \
132 $(use_enable fortran separate-fortran) \
133 $(use_enable hdf5 netcdf-4) \
134 $(use_enable hdf5 ncgen4) \
135 $(use_enable doc docs-install) \
136 ${myconf}
137 }
138
139 src_compile() {
140 # hack to allow parallel build
141 if use doc; then
142 emake pdf || die "emake pdf failed"
143 cd man4
144 emake -j1 || die "emake doc failed"
145 cd ..
146 fi
147 emake || die "emake failed"
148 }
149
150 src_install() {
151 emake DESTDIR="${D}" install || die "emake install failed"
152 dodoc README RELEASE_NOTES VERSION || die
153 }