Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/base/, sci-libs/grib_api/, sci-libs/grib_api/files/, profiles/
Date: Thu, 26 Sep 2019 14:49:47
Message-Id: 1569509361.92bc800b268109f70d32020de8cb7a3af53090bb.mgorny@gentoo
1 commit: 92bc800b268109f70d32020de8cb7a3af53090bb
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 26 14:46:49 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 26 14:49:21 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92bc800b
7
8 sci-libs/grib_api: Remove last-rited pkg
9
10 Closes: https://bugs.gentoo.org/628746
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 profiles/base/package.use.mask | 1 -
14 profiles/package.mask | 9 --
15 sci-libs/grib_api/Manifest | 3 -
16 .../grib_api-1.14.5-add-missing-destdir.patch | 19 -----
17 .../grib_api-1.14.5-disable-failing-test.patch | 15 ----
18 sci-libs/grib_api/grib_api-1.11.0.ebuild | 88 --------------------
19 sci-libs/grib_api/grib_api-1.14.5.ebuild | 95 ----------------------
20 sci-libs/grib_api/metadata.xml | 18 ----
21 8 files changed, 248 deletions(-)
22
23 diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
24 index 34da891f5c1..7e5b325f1e6 100644
25 --- a/profiles/base/package.use.mask
26 +++ b/profiles/base/package.use.mask
27 @@ -78,7 +78,6 @@ media-libs/netpbm jpeg2k
28 media-libs/opencv jpeg2k
29 media-libs/simage jpeg2k
30 net-proxy/ziproxy jpeg2k
31 -sci-libs/grib_api jasper jpeg2k
32 x11-libs/gdk-pixbuf jpeg2k
33
34 # James Le Cuirot <chewi@g.o> (2019-05-21)
35
36 diff --git a/profiles/package.mask b/profiles/package.mask
37 index e1f5fa49963..5b44b3f053c 100644
38 --- a/profiles/package.mask
39 +++ b/profiles/package.mask
40 @@ -1113,15 +1113,6 @@ mail-filter/sid-milter
41 # in Jan 2019. Removal in 30 days. Bug #674800.
42 app-crypt/af_alg
43
44 -# Michał Górny <mgorny@g.o> (2019-08-27)
45 -# Our version is seriously outdated and has numerous bugs reported,
46 -# including multilib-strict failures preventing it from being installed
47 -# on any modern system. It has not been touched since 2016, and is
48 -# many releases behind upstream. Furthermore, upstream has discontinued
49 -# it in favor of eeCodes.
50 -# Removal in 30 days. Bug #628746.
51 -sci-libs/grib_api
52 -
53 # Miroslav Šulc <fordfrog@g.o> (2019-08-19)
54 # Depends on >=virtual/{jdk,jre}-11 which is masked
55 =www-servers/tomcat-9.0.24
56
57 diff --git a/sci-libs/grib_api/Manifest b/sci-libs/grib_api/Manifest
58 deleted file mode 100644
59 index 5c86dbe7a24..00000000000
60 --- a/sci-libs/grib_api/Manifest
61 +++ /dev/null
62 @@ -1,3 +0,0 @@
63 -DIST grib_api-1.11.0.tar.gz 14412684 BLAKE2B 72375400f74f3edba62e781b9dac4c40f3944c676cd90221ad57b0d6690a3a8958ef9d77c414ccb45b60ff2fd2c93923628e0ac3d0f10cfb4c393fb91eaf3001 SHA512 09c50d194049d2d19686139fb7150bd7399fc05bb5b7e40e8d91ce0301698263c40357b8524f925642ae6f78d9bc61218be26bef7f2dfeb326ccc9e8bc3a49e3
64 -DIST grib_api-1.14.5-Source.tar.gz 4530071 BLAKE2B 7d9660e0c244ace011ef53e5a77c8ddc1f9435b210df407d6e90ef111c501cd589db1b34739937d5c78d6e1050b12d7c334b215122467a25b9a513e817a0eb7b SHA512 ad31dc27adcdeeded1aa3c3620181c0d4a5250734724c242443d19332b84f2297b4dea2aa02027627321fa35822c94865a41f24d03eb1143756621da14a59322
65 -DIST grib_api_test_data.tar.gz 131042849 BLAKE2B 9036d4363b86ae0ad948026dd8ea7371232723942dea9eb6d8cceec466d8e37ebbe6a8e4eadb4cd413ab40601d8ea01c91bef0265310aac9ea3773a9bc252868 SHA512 25b37c3e725f7a2c18979d96e7d512111ba54f4e448c57e6a8ae913b7f13be25d9e643edb45ebc714daf6de51d85e9a7d252e735299affc562b9911e53a95058
66
67 diff --git a/sci-libs/grib_api/files/grib_api-1.14.5-add-missing-destdir.patch b/sci-libs/grib_api/files/grib_api-1.14.5-add-missing-destdir.patch
68 deleted file mode 100644
69 index 6bd6fb53f6e..00000000000
70 --- a/sci-libs/grib_api/files/grib_api-1.14.5-add-missing-destdir.patch
71 +++ /dev/null
72 @@ -1,19 +0,0 @@
73 -From: Sébastien Fabbro <bicatali@g.o>
74 -Subject: add missing DESTDIR to respect sandbox install
75 -
76 ---- grib_api-1.14.5-Source.orig/fortran/CMakeLists.txt 2016-03-14 22:53:44.310678929 +0000
77 -+++ grib_api-1.14.5-Source/fortran/CMakeLists.txt 2016-03-14 22:55:42.479193350 +0000
78 -@@ -55,11 +55,11 @@
79 - install( CODE
80 - "
81 - if( EXISTS ${CMAKE_Fortran_MODULE_DIRECTORY}/${CMAKE_CFG_INTDIR}/GRIB_API.mod )
82 -- execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_Fortran_MODULE_DIRECTORY}/${CMAKE_CFG_INTDIR}/GRIB_API.mod ${CMAKE_INSTALL_PREFIX}/${INSTALL_INCLUDE_DIR}/grib_api.mod )
83 -+ execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_Fortran_MODULE_DIRECTORY}/${CMAKE_CFG_INTDIR}/GRIB_API.mod \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${INSTALL_INCLUDE_DIR}/grib_api.mod )
84 - endif()
85 -
86 - if( EXISTS ${CMAKE_Fortran_MODULE_DIRECTORY}/${CMAKE_CFG_INTDIR}/grib_api.mod )
87 -- execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_Fortran_MODULE_DIRECTORY}/${CMAKE_CFG_INTDIR}/grib_api.mod ${CMAKE_INSTALL_PREFIX}/${INSTALL_INCLUDE_DIR}/GRIB_API.mod )
88 -+ execute_process( COMMAND ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_Fortran_MODULE_DIRECTORY}/${CMAKE_CFG_INTDIR}/grib_api.mod \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/${INSTALL_INCLUDE_DIR}/GRIB_API.mod )
89 - endif()
90 - " )
91 -
92
93 diff --git a/sci-libs/grib_api/files/grib_api-1.14.5-disable-failing-test.patch b/sci-libs/grib_api/files/grib_api-1.14.5-disable-failing-test.patch
94 deleted file mode 100644
95 index 0615edc1542..00000000000
96 --- a/sci-libs/grib_api/files/grib_api-1.14.5-disable-failing-test.patch
97 +++ /dev/null
98 @@ -1,15 +0,0 @@
99 -From: Sébastien Fabbro <bicatali@g.o>
100 -Subject: comment out failing test
101 -https://software.ecmwf.int/issues/browse/SUP-521
102 ---- grib_api-1.14.5-Source.orig/tests/ls.sh 2016-03-14 21:56:28.933867464 +0000
103 -+++ grib_api-1.14.5-Source/tests/ls.sh 2016-03-14 21:56:57.103513324 +0000
104 -@@ -62,7 +62,8 @@
105 -
106 - # Test for bug GRIB-56
107 - ${tools_dir}grib_set -s typeOfLevel=depthBelowLandLayer,topLevel=missing regular_latlon_surface.grib1 tmp_rlls.grib1
108 --${tools_dir}grib_ls -plevels tmp_rlls.grib1 | grep MISSING>/dev/null
109 -+# disabling because MISSING is not there and fails the test
110 -+#${tools_dir}grib_ls -plevels tmp_rlls.grib1 | grep MISSING>/dev/null
111 -
112 - ${tools_dir}grib_set -s typeOfLevel=depthBelowLandLayer,bottomLevel=missing regular_latlon_surface.grib1 tmp_rlls.grib1
113 - ${tools_dir}grib_ls -plevels tmp_rlls.grib1 | grep MISSING>/dev/null
114
115 diff --git a/sci-libs/grib_api/grib_api-1.11.0.ebuild b/sci-libs/grib_api/grib_api-1.11.0.ebuild
116 deleted file mode 100644
117 index e1476a9132a..00000000000
118 --- a/sci-libs/grib_api/grib_api-1.11.0.ebuild
119 +++ /dev/null
120 @@ -1,88 +0,0 @@
121 -# Copyright 1999-2019 Gentoo Authors
122 -# Distributed under the terms of the GNU General Public License v2
123 -
124 -EAPI=5
125 -
126 -AUTOTOOLS_IN_SOURCE_BUILD=1
127 -
128 -FORTRAN_NEEDED=fortran
129 -FORTRAN_STANDARD="77 90"
130 -PYTHON_COMPAT=( python2_7 )
131 -
132 -inherit autotools-utils toolchain-funcs fortran-2 python-single-r1
133 -
134 -PID=3473437
135 -
136 -DESCRIPTION="Library for decoding WMO FM-92 GRIB messages"
137 -HOMEPAGE="https://software.ecmwf.int/wiki/display/GRIB/Home"
138 -SRC_URI="https://software.ecmwf.int/wiki/download/attachments/${PID}/${P}.tar.gz"
139 -
140 -LICENSE="Apache-2.0"
141 -SLOT="0"
142 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
143 -
144 -IUSE="doc examples fortran jpeg2k netcdf openmp png python static-libs threads perl"
145 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
146 -
147 -RDEPEND="
148 - jpeg2k? (
149 - media-libs/openjpeg:0
150 - !!media-libs/jasper
151 - )
152 - netcdf? ( sci-libs/netcdf )
153 - png? ( media-libs/libpng:0= )
154 - python? (
155 - ${PYTHON_DEPS}
156 - dev-python/numpy[${PYTHON_USEDEP}]
157 - )"
158 -DEPEND="${RDEPEND}
159 - python? ( dev-lang/swig )"
160 -
161 -pkg_setup() {
162 - if use openmp; then
163 - if [[ $(tc-getCC) == *gcc ]] && ! tc-has-openmp; then
164 - ewarn "OpenMP is not available in your current selected gcc"
165 - die "need openmp capable gcc"
166 - fi
167 - fi
168 - fortran-2_pkg_setup
169 - use python && python-single-r1_pkg_setup
170 -}
171 -
172 -src_prepare() {
173 - # failing test
174 - sed -i \
175 - -e 's/\(${tools_dir}grib_ls -plevels tmp_rlls.grib1 | grep MISSING\)/#\1/' \
176 - tests/ls.sh
177 -}
178 -
179 -src_configure() {
180 - # perl module needs serious packaging work from upstream
181 - local myeconfargs=(
182 - --without-perl
183 - $(use_enable jpeg2k jpeg)
184 - $(use_enable fortran)
185 - $(use_enable openmp omp-packing)
186 - $(use_enable python)
187 - $(use_enable python numpy)
188 - $(use_enable threads pthread)
189 - $(
190 - use netcdf && \
191 - echo --with-netcdf="${EPREFIX}"/usr || \
192 - echo --with-netcdf=none
193 - )
194 - $(use_with png png-support)
195 - )
196 - autotools-utils_src_configure
197 -}
198 -
199 -src_install() {
200 - autotools-utils_src_install
201 - use doc && dohtml -r html/*
202 - if use examples; then
203 - insinto /usr/share/doc/${PF}/examples
204 - emake clean
205 - doins -r *
206 - fi
207 - use python && python_optimize
208 -}
209
210 diff --git a/sci-libs/grib_api/grib_api-1.14.5.ebuild b/sci-libs/grib_api/grib_api-1.14.5.ebuild
211 deleted file mode 100644
212 index 40b5406dc0f..00000000000
213 --- a/sci-libs/grib_api/grib_api-1.14.5.ebuild
214 +++ /dev/null
215 @@ -1,95 +0,0 @@
216 -# Copyright 1999-2019 Gentoo Authors
217 -# Distributed under the terms of the GNU General Public License v2
218 -
219 -EAPI=6
220 -
221 -FORTRAN_NEEDED=fortran
222 -FORTRAN_STANDARD="77 90"
223 -PYTHON_COMPAT=( python{2_7,3_5,3_6} )
224 -
225 -inherit cmake-utils toolchain-funcs fortran-2 python-single-r1
226 -
227 -PID=3473437
228 -
229 -DESCRIPTION="Library for encoding and decoding WMO FM-92 GRIB messages"
230 -HOMEPAGE="https://software.ecmwf.int/wiki/display/GRIB/Home"
231 -SRC_URI="https://software.ecmwf.int/wiki/download/attachments/${PID}/${P}-Source.tar.gz
232 - test? ( http://download.ecmwf.org/test-data/grib_api/grib_api_test_data.tar.gz )"
233 -
234 -S="${WORKDIR}/${P}-Source"
235 -
236 -LICENSE="Apache-2.0"
237 -SLOT="0"
238 -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
239 -
240 -IUSE="aec doc examples fortran netcdf png python static-libs test threads"
241 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
242 -
243 -RDEPEND="
244 - aec? ( sci-libs/libaec:= )
245 - netcdf? ( sci-libs/netcdf:= )
246 - png? ( media-libs/libpng:= )
247 - python? (
248 - ${PYTHON_DEPS}
249 - dev-python/numpy[${PYTHON_USEDEP}]
250 - )"
251 -
252 -DEPEND="${RDEPEND}
253 - python? ( dev-lang/swig )
254 - test? ( dev-libs/boost )"
255 -
256 -PATCHES=(
257 - "${FILESDIR}"/${P}-disable-failing-test.patch
258 - "${FILESDIR}"/${P}-add-missing-destdir.patch
259 -)
260 -
261 -pkg_setup() {
262 - use fortran && fortran-2_pkg_setup
263 - use python && python-single-r1_pkg_setup
264 -}
265 -
266 -src_unpack() {
267 - # only unpack the source and not the test data at this stage
268 - unpack ${P}-Source.tar.gz
269 -}
270 -
271 -src_prepare() {
272 - # remove package build type to allow gentoo one
273 - sed -i -e '/include(ecbuild_define_build_types)/d' cmake/ecbuild_system.cmake || die
274 - cmake-utils_src_prepare
275 -}
276 -
277 -src_configure() {
278 - local mycmakeargs=(
279 - -DDISABLE_OS_CHECK=ON
280 - -DENABLE_EXAMPLES=OFF
281 - -DENABLE_ALIGN_MEMORY=ON
282 - -DENABLE_MEMORY_MANAGEMENT=ON
283 - -DENABLE_GRIB_TIMER=ON
284 - -DENABLE_RELATIVE_RPATHS=OFF
285 - -DENABLE_RPATHS=OFF
286 - -DENABLE_AEC="$(usex aec)"
287 - -DENABLE_FORTRAN="$(usex fortran)"
288 - -DENABLE_GRIB_THREADS="$(usex threads)"
289 - -DENABLE_JPG=OFF
290 - -DENABLE_NETCDF="$(usex netcdf)"
291 - -DENABLE_PNG="$(usex png)"
292 - -DENABLE_PYTHON="$(usex python)"
293 - -DENABLE_TESTS="$(usex test)"
294 - )
295 - use static-libs && mycmakeargs+=( -DBUILD_SHARED_LIBS=BOTH )
296 - cmake-utils_src_configure
297 -}
298 -
299 -src_test() {
300 - # unpack here because subdirectory tree
301 - use test && cd "${BUILD_DIR}" && unpack grib_api_test_data.tar.gz || die
302 - cmake-utils_src_test
303 -}
304 -
305 -src_install() {
306 - cmake-utils_src_install
307 - insinto /usr/share/doc/${PF}
308 - use examples && doins -r examples
309 - use doc && doins -r html
310 -}
311
312 diff --git a/sci-libs/grib_api/metadata.xml b/sci-libs/grib_api/metadata.xml
313 deleted file mode 100644
314 index 9a5952fcb79..00000000000
315 --- a/sci-libs/grib_api/metadata.xml
316 +++ /dev/null
317 @@ -1,18 +0,0 @@
318 -<?xml version="1.0" encoding="UTF-8"?>
319 -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
320 -<pkgmetadata>
321 -<maintainer type="project">
322 - <email>sci@g.o</email>
323 - <name>Gentoo Science Project</name>
324 -</maintainer>
325 -<longdescription lang="en">
326 - The European Centre for Medium-Range Weather Forecasts GRIdded
327 - Binary (GRIB) API is an application program interface accessible
328 - from C and FORTRAN programs developed for encoding and decoding WMO
329 - FM-92 GRIB edition 1 and edition 2 messages. A useful set of command
330 - line tools is also provided to give quick access to grib messages.
331 -</longdescription>
332 -<use>
333 - <flag name="aec">Build with Adaptive Entropy Coding compression, needs <pkg>sci-libs/libaec</pkg></flag>
334 -</use>
335 -</pkgmetadata>