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: metadata.xml grib_api-1.11.0.ebuild ChangeLog
Date: Mon, 28 Oct 2013 17:26:05
Message-Id: 20131028172556.E78FB20047@flycatcher.gentoo.org
1 bicatali 13/10/28 17:25:56
2
3 Modified: metadata.xml ChangeLog
4 Added: grib_api-1.11.0.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.7-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
9
10 Revision Changes Path
11 1.3 sci-libs/grib_api/metadata.xml
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/metadata.xml?rev=1.3&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/metadata.xml?rev=1.3&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/metadata.xml?r1=1.2&r2=1.3
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/grib_api/metadata.xml,v
20 retrieving revision 1.2
21 retrieving revision 1.3
22 diff -u -r1.2 -r1.3
23 --- metadata.xml 3 Aug 2012 19:09:41 -0000 1.2
24 +++ metadata.xml 28 Oct 2013 17:25:56 -0000 1.3
25 @@ -9,6 +9,8 @@
26 FM-92 GRIB edition 1 and edition 2 messages. A useful set of command
27 line tools is also provided to give quick access to grib messages.
28 </longdescription>
29 -<use><flag name="jasper">Use <pkg>media-libs/jasper</pkg> instead of
30 -<pkg>media-libs/openjpeg</pkg> for JPEG 2000 support</flag></use>
31 +<use>
32 + <flag name="jasper">Use <pkg>media-libs/jasper</pkg> instead of
33 + <pkg>media-libs/openjpeg</pkg> for JPEG 2000 support</flag>
34 +</use>
35 </pkgmetadata>
36
37
38
39 1.14 sci-libs/grib_api/ChangeLog
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/ChangeLog?rev=1.14&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/ChangeLog?rev=1.14&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/ChangeLog?r1=1.13&r2=1.14
44
45 Index: ChangeLog
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/sci-libs/grib_api/ChangeLog,v
48 retrieving revision 1.13
49 retrieving revision 1.14
50 diff -u -r1.13 -r1.14
51 --- ChangeLog 13 Jun 2013 12:45:59 -0000 1.13
52 +++ ChangeLog 28 Oct 2013 17:25:56 -0000 1.14
53 @@ -1,6 +1,12 @@
54 # ChangeLog for sci-libs/grib_api
55 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
56 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/ChangeLog,v 1.13 2013/06/13 12:45:59 xmw Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/ChangeLog,v 1.14 2013/10/28 17:25:56 bicatali Exp $
58 +
59 +*grib_api-1.11.0 (28 Oct 2013)
60 +
61 + 28 Oct 2013; Sébastien Fabbro <bicatali@g.o> +grib_api-1.11.0.ebuild,
62 + metadata.xml:
63 + Version bump
64
65 13 Jun 2013; Michael Weber <xmw@g.o> grib_api-1.9.16.ebuild:
66 Depend on SLOT=0 of media-libs/openjpeg (bug 440086)
67
68
69
70 1.1 sci-libs/grib_api/grib_api-1.11.0.ebuild
71
72 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/grib_api-1.11.0.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/grib_api/grib_api-1.11.0.ebuild?rev=1.1&content-type=text/plain
74
75 Index: grib_api-1.11.0.ebuild
76 ===================================================================
77 # Copyright 1999-2013 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/sci-libs/grib_api/grib_api-1.11.0.ebuild,v 1.1 2013/10/28 17:25:56 bicatali Exp $
80
81 EAPI=5
82
83 AUTOTOOLS_IN_SOURCE_BUILD=1
84
85 FORTRAN_NEEDED=fortran
86 FORTRAN_STANDARD="77 90"
87 PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
88
89 inherit autotools-utils toolchain-funcs fortran-2 python-single-r1
90
91 PID=3473437
92
93 DESCRIPTION="Library for decoding WMO FM-92 GRIB messages"
94 HOMEPAGE="https://software.ecmwf.int/wiki/display/GRIB/Home"
95 SRC_URI="https://software.ecmwf.int/wiki/download/attachments/${PID}/${P}.tar.gz"
96
97 LICENSE="Apache-2.0"
98 SLOT="0"
99 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
100
101 IUSE="doc examples fortran jasper jpeg2k netcdf openmp png python static-libs threads perl"
102 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
103
104 RDEPEND="
105 jpeg2k? (
106 jasper? ( media-libs/jasper )
107 !jasper? ( media-libs/openjpeg:0 )
108 )
109 netcdf? ( sci-libs/netcdf )
110 png? ( media-libs/libpng )
111 python? ( dev-python/numpy[${PYTHON_USEDEP}] )"
112 DEPEND="${RDEPEND}
113 python? ( dev-lang/swig )"
114
115 pkg_setup() {
116 if use openmp; then
117 if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
118 ewarn "OpenMP is not available in your current selected gcc"
119 die "need openmp capable gcc"
120 fi
121 fi
122 fortran-2_pkg_setup
123 use python && python-single-r1_pkg_setup
124 }
125
126 src_prepare() {
127 # failing test
128 sed -i \
129 -e 's/\(${tools_dir}grib_ls -plevels tmp_rlls.grib1 | grep MISSING\)/#\1/' \
130 tests/ls.sh
131 }
132
133 src_configure() {
134 # perl module needs serious packaging work from upstream
135 local myeconfargs=(
136 --without-perl
137 $(use_enable jpeg2k jpeg)
138 $(use_enable fortran)
139 $(use_enable openmp omp-packing)
140 $(use_enable python)
141 $(use_enable python numpy)
142 $(use_enable threads pthread)
143 $(
144 use netcdf && \
145 echo --with-netcdf="${EPREFIX}"/usr || \
146 echo --with-netcdf=none
147 )
148 $(use_with png png-support)
149 )
150 autotools-utils_src_configure
151 }
152
153 src_install() {
154 autotools-utils_src_install
155 use doc && dohtml -r html/*
156 if use examples; then
157 insinto /usr/share/doc/${PF}/examples
158 emake clean
159 doins -r *
160 fi
161 use python && python_optimize
162 }