1 |
commit: fabf71bc2f05126069c8d1068ec7b775368c4546 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 15 05:40:04 2023 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 15 05:45:00 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fabf71bc |
7 |
|
8 |
sci-libs/netcdf-cxx: EAPI 8, use release tarball |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sci-libs/netcdf-cxx/Manifest | 1 + |
13 |
sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild | 31 ++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest |
17 |
index 47c6186db67d..a1dd9b5cece2 100644 |
18 |
--- a/sci-libs/netcdf-cxx/Manifest |
19 |
+++ b/sci-libs/netcdf-cxx/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8 SHA512 347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643 |
22 |
DIST netcdf-cxx-4.3.0.tar.gz 985897 BLAKE2B 89cfd85764ff8fc730c7cb4187df21a4245cd932bcf86df4edf36eb7ae636906eaafc25cfcbb3dd58bc1d346edacd7f80daa3be9a544d5d777d32ad115cfd00f SHA512 8e77333c979513721209e6b3fde31c298e18a45d7ea08123056e8120469eb8c4024d71289fab2b9182ee19ee7b6ad22bd133525bef048a497ede4aa2e9017465 |
23 |
DIST netcdf-cxx-4.3.1.tar.gz 607679 BLAKE2B 68677ba72e66d351bf6d33a2584a3a1edd9da98b41ed66e3f51f8d3d358bfd84bad3e2e06403edf76d26b2c76807ae40859995d8817725e531a27680d04f2501 SHA512 404711eb80d5e78968c0f6cbdcb08855a2778d7fd94e7ee94bdc9d1cd72848ac3327613c6437a7634349f26bc463b950092a2999abb34ddab0a47ad185547d22 |
24 |
+DIST netcdf-cxx4-4.3.1.tar.gz 598335 BLAKE2B e8272d9bd74cf9b814303a5b208be20228149533a9cc78cc1ef460f2cfb0086c7187afba325ab9a7b3d071e0fb9160d3b057e3bee68b679d9f504ccfecb016d8 SHA512 f5d9d26fb9f57430d0d681a9c7396bb0f03ed6446ac6fed51058dcc43690c02565da3f729f98b268b0bd923ca8b5b3cfa8340aca6a4f18f512c0c320ea20703f |
25 |
|
26 |
diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..a628593681d9 |
29 |
--- /dev/null |
30 |
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild |
31 |
@@ -0,0 +1,31 @@ |
32 |
+# Copyright 1999-2023 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+MYP=${PN}4-${PV} |
38 |
+DESCRIPTION="C++ library for netCDF" |
39 |
+HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/" |
40 |
+SRC_URI="https://downloads.unidata.ucar.edu/netcdf-cxx/${PV}/${PN}4-${PV}.tar.gz" |
41 |
+ |
42 |
+LICENSE="UCAR-Unidata" |
43 |
+SLOT="0/1" |
44 |
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" |
45 |
+IUSE="examples" |
46 |
+# 6 out of 9 fail, reported upstream |
47 |
+#RESTRICT="test" |
48 |
+ |
49 |
+RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]" |
50 |
+DEPEND="${RDEPEND}" |
51 |
+ |
52 |
+S="${WORKDIR}/${MYP}" |
53 |
+ |
54 |
+PATCHES=( |
55 |
+ "${FILESDIR}"/${P}-slibtool.patch |
56 |
+) |
57 |
+ |
58 |
+src_install() { |
59 |
+ default |
60 |
+ use examples && dodoc -r examples |
61 |
+ find "${ED}" -name '*.la' -delete || die |
62 |
+} |