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: ChangeLog nco-3.9.2.ebuild nco-3.2.0.ebuild
Date: Thu, 08 Nov 2007 09:27:49
Message-Id: E1Iq3fo-0000RK-7u@stork.gentoo.org
1 bicatali 07/11/08 09:27:40
2
3 Modified: ChangeLog
4 Added: nco-3.9.2.ebuild
5 Removed: nco-3.2.0.ebuild
6 Log:
7 Version bump.
8 (Portage version: 2.1.3.16)
9
10 Revision Changes Path
11 1.10 sci-misc/nco/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/nco/ChangeLog?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/nco/ChangeLog?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/nco/ChangeLog?r1=1.9&r2=1.10
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- ChangeLog 20 Aug 2007 12:11:31 -0000 1.9
24 +++ ChangeLog 8 Nov 2007 09:27:39 -0000 1.10
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-misc/nco
27 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v 1.9 2007/08/20 12:11:31 bicatali Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/ChangeLog,v 1.10 2007/11/08 09:27:39 bicatali Exp $
30 +
31 +*nco-3.9.2 (08 Nov 2007)
32 +
33 + 08 Nov 2007; Sébastien Fabbro <bicatali@g.o> -nco-3.2.0.ebuild,
34 + +nco-3.9.2.ebuild:
35 + Version bump.
36
37 *nco-3.9.1 (20 Aug 2007)
38
39
40
41
42 1.1 sci-misc/nco/nco-3.9.2.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/nco/nco-3.9.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-misc/nco/nco-3.9.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: nco-3.9.2.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-misc/nco/nco-3.9.2.ebuild,v 1.1 2007/11/08 09:27:39 bicatali Exp $
52
53 DESCRIPTION="Command line utilities for operating on netCDF files"
54 SRC_URI="http://dust.ess.uci.edu/nco/src/${P}.tar.gz"
55 HOMEPAGE="http://nco.sourceforge.net/"
56
57 LICENSE="GPL-3"
58 SLOT="0"
59 KEYWORDS="~amd64 ~x86 ~ppc"
60
61 IUSE="mpi doc ncap2 udunits"
62
63 RDEPEND="sci-libs/netcdf
64 mpi? ( virtual/mpi )
65 udunits? ( sci-libs/udunits )"
66
67 DEPEND="${RDEPEND}
68 ncap2? ( !mpi? ( dev-java/antlr ) )
69 doc? ( virtual/latex-base )"
70
71 pkg_setup() {
72 if use mpi && use ncap2; then
73 elog
74 elog "mpi and ncap2 are still incompatible flags"
75 elog "nco configure will automatically disables ncap2"
76 elog
77 fi
78 }
79
80 src_compile() {
81 # let more experimental options enabling via EXTRA_ECONF
82 econf \
83 $(use_enable ncap2 ncoxx) \
84 $(use_enable udunits) \
85 $(use_enable mpi) \
86 || die "econf failed"
87 emake || die "emake failed"
88 cd doc
89 emake clean info
90 if use doc; then
91 emake html pdf || die "emake doc failed"
92 fi
93 }
94
95 src_install() {
96 emake DESTDIR="${D}" install || die "emake install failed"
97 cd doc
98 dodoc ANNOUNCE ChangeLog MANIFEST NEWS README TAG TODO VERSION *.txt \
99 || die "dodoc failed"
100 doinfo *.info* || die "doinfo failed"
101 if use doc; then
102 dohtml nco.html/* || die "dohtml failed"
103 insinto /usr/share/doc/${PF}
104 doins nco.pdf || die "pdf install failed"
105 fi
106 }
107
108
109
110 --
111 gentoo-commits@g.o mailing list