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-libs/grib_api: ChangeLog grib_api-1.9.9.ebuild
Date: Sun, 20 Nov 2011 20:35:00
Message-Id: 20111120203445.B21222004B@flycatcher.gentoo.org
1 bicatali 11/11/20 20:34:45
2
3 Modified: ChangeLog
4 Added: grib_api-1.9.9.ebuild
5 Log:
6 Version bump. Still patch the normal version since the autotools does not have the perl bindings. Fix bug #378167, thanks tove.
7
8 (Portage version: 2.1.10.36/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.6 sci-libs/grib_api/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/ChangeLog?rev=1.6&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/ChangeLog?rev=1.6&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/ChangeLog?r1=1.5&r2=1.6
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/grib_api/ChangeLog,v
20 retrieving revision 1.5
21 retrieving revision 1.6
22 diff -u -r1.5 -r1.6
23 --- ChangeLog 21 Jun 2011 15:18:12 -0000 1.5
24 +++ ChangeLog 20 Nov 2011 20:34:45 -0000 1.6
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sci-libs/grib_api
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/ChangeLog,v 1.5 2011/06/21 15:18:12 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/ChangeLog,v 1.6 2011/11/20 20:34:45 bicatali Exp $
30 +
31 +*grib_api-1.9.9 (20 Nov 2011)
32 +
33 + 20 Nov 2011; Sébastien Fabbro <bicatali@g.o> +grib_api-1.9.9.ebuild,
34 + +files/grib_api-1.9.9-autotools.patch, +files/grib_api-1.9.9-ieeefloat.patch:
35 + Version bump. Still patch the normal version since the autotools does not
36 + have the perl bindings. Fix bug #378167, thanks tove.
37
38 21 Jun 2011; Justin Lecher <jlec@g.o> grib_api-1.9.5-r1.ebuild:
39 Add dependency on virtual/fortran
40
41
42
43 1.1 sci-libs/grib_api/grib_api-1.9.9.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/grib_api-1.9.9.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/grib_api-1.9.9.ebuild?rev=1.1&content-type=text/plain
47
48 Index: grib_api-1.9.9.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/grib_api-1.9.9.ebuild,v 1.1 2011/11/20 20:34:45 bicatali Exp $
53
54 EAPI=3
55 inherit eutils autotools
56
57 #MYP=${P}_libtool
58 MYP=${P}
59
60 DESCRIPTION="Library for decoding WMO FM-92 GRIB messages"
61 HOMEPAGE="http://www.ecmwf.int/products/data/software/grib_api.html"
62 SRC_URI="http://www.ecmwf.int/products/data/software/download/software_files/${MYP}.tar.gz"
63
64 LICENSE="LGPL-3"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE="doc examples fortran jpeg2k netcdf openmp png perl python static-libs"
68
69 DEPEND="jpeg2k? ( || ( media-libs/jasper media-libs/openjpeg ) )
70 netcdf? ( sci-libs/netcdf )
71 png? ( media-libs/libpng )
72 python? ( dev-python/numpy )"
73 RDEPEND="${DEPEND}"
74
75 S="${WORKDIR}/${MYP}"
76
77 src_prepare() {
78 epatch \
79 "${FILESDIR}"/${P}-ieeefloat.patch \
80 "${FILESDIR}"/${P}-autotools.patch
81 eautoreconf
82 }
83
84 src_configure() {
85 econf \
86 --enable-install-system-perl \
87 --with-perl-options=INSTALLDIRS=vendor \
88 $(use_enable fortran) \
89 $(use_enable jpeg2k jpeg) \
90 $(use_enable openmp omp-packing) \
91 $(use_enable python) \
92 $(use_enable python numpy) \
93 $(use_enable static-libs static) \
94 $(use_with netcdf netcdf "${EPRFIX}"/usr) \
95 $(use_with perl) \
96 $(use_with png png-support)
97
98 }
99
100 src_install() {
101 emake DESTDIR="${D}" install || die "emake install failed"
102 dodoc AUTHORS ChangeLog README
103 if use doc; then
104 dohtml html/* || die
105 fi
106 if use examples; then
107 insinto /usr/share/doc/${PF}/examples
108 emake clean
109 doins -r * || die
110 fi
111 }