Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-misc/nco: metadata.xml ChangeLog nco-4.0.8.ebuild nco-2.9.1.ebuild nco-3.9.4.ebuild
Date: Fri, 30 Dec 2011 04:10:50
Message-Id: 20111230041040.93AE12004B@flycatcher.gentoo.org
1 bicatali 11/12/30 04:10:40
2
3 Modified: metadata.xml ChangeLog
4 Added: nco-4.0.8.ebuild
5 Removed: nco-2.9.1.ebuild nco-3.9.4.ebuild
6 Log:
7 Version bump. Removed mpi flag, since it was quite buggy on compilation
8
9 (Portage version: 2.1.10.41/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.5 sci-misc/nco/metadata.xml
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/nco/metadata.xml?rev=1.5&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/nco/metadata.xml?rev=1.5&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/nco/metadata.xml?r1=1.4&r2=1.5
17
18 Index: metadata.xml
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/sci-misc/nco/metadata.xml,v
21 retrieving revision 1.4
22 retrieving revision 1.5
23 diff -u -r1.4 -r1.5
24 --- metadata.xml 12 Dec 2009 18:25:32 -0000 1.4
25 +++ metadata.xml 30 Dec 2011 04:10:40 -0000 1.5
26 @@ -12,6 +12,7 @@
27 climate data, though it works on any netCDF format datasets.
28 </longdescription>
29 <use>
30 + <flag name="dap">Support for remote data access with the NETCDF DAP client</flag>
31 <flag name='ncap2'>Build next generation netcdf arithmetic processor
32 (needs <pkg>dev-java/antlr</pkg>)</flag>
33 <flag name='udunits'>Add <pkg>sci-libs/udunits</pkg> files support</flag>
34
35
36
37 1.19 sci-misc/nco/ChangeLog
38
39 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/nco/ChangeLog?rev=1.19&view=markup
40 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/nco/ChangeLog?rev=1.19&content-type=text/plain
41 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/nco/ChangeLog?r1=1.18&r2=1.19
42
43 Index: ChangeLog
44 ===================================================================
45 RCS file: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v
46 retrieving revision 1.18
47 retrieving revision 1.19
48 diff -u -r1.18 -r1.19
49 --- ChangeLog 17 Mar 2011 08:17:00 -0000 1.18
50 +++ ChangeLog 30 Dec 2011 04:10:40 -0000 1.19
51 @@ -1,6 +1,12 @@
52 # ChangeLog for sci-misc/nco
53 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
54 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v 1.18 2011/03/17 08:17:00 xarthisius Exp $
55 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v 1.19 2011/12/30 04:10:40 bicatali Exp $
56 +
57 +*nco-4.0.8 (30 Dec 2011)
58 +
59 + 30 Dec 2011; Sébastien Fabbro <bicatali@g.o> -nco-2.9.1.ebuild,
60 + -nco-3.9.4.ebuild, +nco-4.0.8.ebuild:
61 + Version bump. Removed mpi flag, since it was quite buggy on compilation
62
63 17 Mar 2011; Kacper Kowalik <xarthisius@g.o> nco-3.9.9.ebuild:
64 ppc stable wrt #326433
65
66
67
68 1.1 sci-misc/nco/nco-4.0.8.ebuild
69
70 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/nco/nco-4.0.8.ebuild?rev=1.1&view=markup
71 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-misc/nco/nco-4.0.8.ebuild?rev=1.1&content-type=text/plain
72
73 Index: nco-4.0.8.ebuild
74 ===================================================================
75 # Copyright 1999-2011 Gentoo Foundation
76 # Distributed under the terms of the GNU General Public License v2
77 # $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/nco-4.0.8.ebuild,v 1.1 2011/12/30 04:10:40 bicatali Exp $
78
79 EAPI=4
80 inherit eutils flag-o-matic
81
82 DESCRIPTION="Command line utilities for operating on netCDF files"
83 HOMEPAGE="http://nco.sourceforge.net/"
84 SRC_URI="http://nco.sf.net/src/${P}.tar.gz"
85
86 LICENSE="GPL-3"
87 SLOT="0"
88 KEYWORDS="~amd64 ~ppc ~x86"
89
90 IUSE="dap doc gsl ncap2 static-libs udunits"
91
92 RDEPEND=">=sci-libs/netcdf-4[dap=]
93 gsl? ( sci-libs/gsl )
94 udunits? ( >=sci-libs/udunits-2 )"
95
96 DEPEND="${RDEPEND}
97 ncap2? ( dev-java/antlr:0 )
98 doc? ( virtual/latex-base )"
99
100 src_configure() {
101 local myconf
102 if has_version '>=sci-libs/netcdf-4[hdf5]'; then
103 myconf="--enable-netcdf4"
104 append-flags -DHAVE_NETCDF4_H
105 else
106 myconf="--disable-netcdf4"
107 fi
108 if use dap; then
109 myconf="${myconf} --enable-dap-netcdf --disable-dap-opendap"
110 else
111 myconf="${myconf} --disable-dap-netcdf --disable-dap-opendap"
112 fi
113 econf \
114 --disable-udunits \
115 $(use_enable gsl) \
116 $(use_enable ncap2) \
117 $(use_enable static-libs static) \
118 $(use_enable udunits udunits2) \
119 ${myconf}
120 }
121
122 src_compile() {
123 # TODO: workout -j1 to make sure lex generation is done
124 emake -j1
125 cd doc
126 emake clean info
127 use doc && VARTEXFONTS="${T}/fonts" emake html pdf
128 }
129
130 src_install() {
131 default
132 cd doc
133 dodoc ANNOUNCE ChangeLog MANIFEST NEWS README TAG TODO VERSION *.txt
134 doinfo *.info*
135 use doc && dohtml nco.html/* && dodoc nco.pdf
136 }