[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2024-05-07 Thread Sam James
commit: 9d42a461467f2aa90af04cdfde2c64e68281ad87
Author: Sam James  gentoo  org>
AuthorDate: Tue May  7 17:54:35 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  7 17:54:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d42a461

sci-libs/netcdf-cxx: Stabilize 4.3.1-r1 amd64, #908155

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index 1a1079b72566..dddb7002fbd6 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://downloads.unidata.ucar.edu/netcdf-cxx/${PV}/${PN}4-${PV}.tar.gz
 
 LICENSE="UCAR-Unidata"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="examples"
 # 6 out of 9 fail, reported upstream
 #RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2024-03-26 Thread Sam James
commit: 94513b4963654fc66f22f70db5a797f86bb79546
Author: Eli Schwartz  gmail  com>
AuthorDate: Wed Mar 27 04:29:26 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 27 04:49:47 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94513b49

sci-libs/netcdf-cxx: make sure elibtoolize is applied

Since the libtool available for 4.2 is very old, that means running a
full eautoreconf.

Needed to e.g. pass LTO warning flags through to the linker.

Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild | 9 -
 sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild | 9 -
 sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild| 9 -
 3 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild
index 897094334974..04c76791f47d 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit autotools
+
 DESCRIPTION="C++ library for netCDF"
 HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
 SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz;
@@ -15,6 +17,11 @@ IUSE="examples"
 RDEPEND=">=sci-libs/netcdf-4.2:0="
 DEPEND="${RDEPEND}"
 
+src_prepare() {
+   default
+   eautoreconf
+}
+
 src_configure() {
econf --disable-static
 }

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
index a628593681d9..1a1079b72566 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit libtool
+
 MYP=${PN}4-${PV}
 DESCRIPTION="C++ library for netCDF"
 HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
@@ -24,6 +26,11 @@ PATCHES=(
"${FILESDIR}"/${P}-slibtool.patch
 )
 
+src_prepare() {
+   default
+   elibtoolize
+}
+
 src_install() {
default
use examples && dodoc -r examples

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
index 243ba75a2e3a..559d4d5483dc 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
+inherit libtool
+
 MYP=${PN}4-${PV}
 DESCRIPTION="C++ library for netCDF"
 HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
@@ -24,6 +26,11 @@ PATCHES=(
"${FILESDIR}"/${P}-slibtool.patch
 )
 
+src_prepare() {
+   default
+   elibtoolize
+}
+
 src_configure() {
econf --disable-static
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2023-03-14 Thread Sam James
commit: 05949728d5b77eb7914e3fe2e9ef7c4c5005e04d
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 15 05:50:44 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 15 05:52:13 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05949728

sci-libs/netcdf-cxx: drop 4.3.0

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/Manifest|  1 -
 sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild | 29 -
 2 files changed, 30 deletions(-)

diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest
index a1dd9b5cece2..fe245292f7f8 100644
--- a/sci-libs/netcdf-cxx/Manifest
+++ b/sci-libs/netcdf-cxx/Manifest
@@ -1,4 +1,3 @@
 DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B 
a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8
 SHA512 
347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643
-DIST netcdf-cxx-4.3.0.tar.gz 985897 BLAKE2B 
89cfd85764ff8fc730c7cb4187df21a4245cd932bcf86df4edf36eb7ae636906eaafc25cfcbb3dd58bc1d346edacd7f80daa3be9a544d5d777d32ad115cfd00f
 SHA512 
8e77333c979513721209e6b3fde31c298e18a45d7ea08123056e8120469eb8c4024d71289fab2b9182ee19ee7b6ad22bd133525bef048a497ede4aa2e9017465
 DIST netcdf-cxx-4.3.1.tar.gz 607679 BLAKE2B 
68677ba72e66d351bf6d33a2584a3a1edd9da98b41ed66e3f51f8d3d358bfd84bad3e2e06403edf76d26b2c76807ae40859995d8817725e531a27680d04f2501
 SHA512 
404711eb80d5e78968c0f6cbdcb08855a2778d7fd94e7ee94bdc9d1cd72848ac3327613c6437a7634349f26bc463b950092a2999abb34ddab0a47ad185547d22
 DIST netcdf-cxx4-4.3.1.tar.gz 598335 BLAKE2B 
e8272d9bd74cf9b814303a5b208be20228149533a9cc78cc1ef460f2cfb0086c7187afba325ab9a7b3d071e0fb9160d3b057e3bee68b679d9f504ccfecb016d8
 SHA512 
f5d9d26fb9f57430d0d681a9c7396bb0f03ed6446ac6fed51058dcc43690c02565da3f729f98b268b0bd923ca8b5b3cfa8340aca6a4f18f512c0c320ea20703f

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
deleted file mode 100644
index ba3408589ce6..
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-MYP=${PN}4-${PV}
-DESCRIPTION="C++ library for netCDF"
-HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
-SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/${MYP}"
-
-LICENSE="UCAR-Unidata"
-SLOT="0/1"
-KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
-IUSE="examples"
-
-RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
-DEPEND="${RDEPEND}"
-
-src_configure() {
-   econf --disable-static
-}
-
-src_install() {
-   default
-   use examples && dodoc -r examples
-
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2023-03-14 Thread Sam James
commit: fabf71bc2f05126069c8d1068ec7b775368c4546
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar 15 05:40:04 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar 15 05:45:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fabf71bc

sci-libs/netcdf-cxx: EAPI 8, use release tarball

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/Manifest   |  1 +
 sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild | 31 ++
 2 files changed, 32 insertions(+)

diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest
index 47c6186db67d..a1dd9b5cece2 100644
--- a/sci-libs/netcdf-cxx/Manifest
+++ b/sci-libs/netcdf-cxx/Manifest
@@ -1,3 +1,4 @@
 DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B 
a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8
 SHA512 
347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643
 DIST netcdf-cxx-4.3.0.tar.gz 985897 BLAKE2B 
89cfd85764ff8fc730c7cb4187df21a4245cd932bcf86df4edf36eb7ae636906eaafc25cfcbb3dd58bc1d346edacd7f80daa3be9a544d5d777d32ad115cfd00f
 SHA512 
8e77333c979513721209e6b3fde31c298e18a45d7ea08123056e8120469eb8c4024d71289fab2b9182ee19ee7b6ad22bd133525bef048a497ede4aa2e9017465
 DIST netcdf-cxx-4.3.1.tar.gz 607679 BLAKE2B 
68677ba72e66d351bf6d33a2584a3a1edd9da98b41ed66e3f51f8d3d358bfd84bad3e2e06403edf76d26b2c76807ae40859995d8817725e531a27680d04f2501
 SHA512 
404711eb80d5e78968c0f6cbdcb08855a2778d7fd94e7ee94bdc9d1cd72848ac3327613c6437a7634349f26bc463b950092a2999abb34ddab0a47ad185547d22
+DIST netcdf-cxx4-4.3.1.tar.gz 598335 BLAKE2B 
e8272d9bd74cf9b814303a5b208be20228149533a9cc78cc1ef460f2cfb0086c7187afba325ab9a7b3d071e0fb9160d3b057e3bee68b679d9f504ccfecb016d8
 SHA512 
f5d9d26fb9f57430d0d681a9c7396bb0f03ed6446ac6fed51058dcc43690c02565da3f729f98b268b0bd923ca8b5b3cfa8340aca6a4f18f512c0c320ea20703f

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
new file mode 100644
index ..a628593681d9
--- /dev/null
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MYP=${PN}4-${PV}
+DESCRIPTION="C++ library for netCDF"
+HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
+SRC_URI="https://downloads.unidata.ucar.edu/netcdf-cxx/${PV}/${PN}4-${PV}.tar.gz;
+
+LICENSE="UCAR-Unidata"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+# 6 out of 9 fail, reported upstream
+#RESTRICT="test"
+
+RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=(
+   "${FILESDIR}"/${P}-slibtool.patch
+)
+
+src_install() {
+   default
+   use examples && dodoc -r examples
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-10-17 Thread Sam James
commit: 10c699449cc970afd5a64c0b6d8f0d5fa5c3719c
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 17 20:03:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 17 20:04:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10c69944

sci-libs/netcdf-cxx: Stabilize 4.3.1 x86, #818643

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
index 96052a5b6c5..47e1c0f9bb2 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="UCAR-Unidata"
 SLOT="0/1"
-KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
 IUSE="examples"
 # 6 out of 9 fail, reported upstream
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-10-17 Thread Sam James
commit: 6c096eb42f2c8c55cb3b406f6c411793be11565f
Author: Sam James  gentoo  org>
AuthorDate: Sun Oct 17 19:07:19 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Oct 17 19:07:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c096eb4

sci-libs/netcdf-cxx: Stabilize 4.3.1 amd64, #818643

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
index 11abdd911ef..96052a5b6c5 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="UCAR-Unidata"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="examples"
 # 6 out of 9 fail, reported upstream
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/, sci-libs/netcdf-cxx/files/

2021-09-07 Thread Sam James
commit: df3e6bd9f56dd0d323e19abe242182f37fe802a2
Author: Sam James  gentoo  org>
AuthorDate: Wed Sep  8 05:06:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Sep  8 05:06:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df3e6bd9

sci-libs/netcdf-cxx: fix build with slibtool

Closes: https://bugs.gentoo.org/778200
Thanks-to: orbea  riseup.net>
Signed-off-by: Sam James  gentoo.org>

 .../files/netcdf-cxx-4.3.1-slibtool.patch  | 42 ++
 sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild|  4 +++
 2 files changed, 46 insertions(+)

diff --git a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.3.1-slibtool.patch 
b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.3.1-slibtool.patch
new file mode 100644
index 000..72db4dbd2c7
--- /dev/null
+++ b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.3.1-slibtool.patch
@@ -0,0 +1,42 @@
+https://github.com/Unidata/netcdf-cxx4/pull/103
+https://bugs.gentoo.org/778200
+
+From: orbea 
+Date: Thu, 25 Mar 2021 12:24:57 -0700
+Subject: [PATCH 1/2] cxx4: Move -lnetcdf to LIBADD so its used.
+
+--- a/cxx4/Makefile.am
 b/cxx4/Makefile.am
+@@ -3,15 +3,13 @@
+ 
+ # This file builds the new C++-4 interface.
+ 
+-# Point pre-preprocessor to netcdf-4 directory (libsrc4).
+-LDADD = $(top_builddir)/cxx4/libnetcdf_c++4.la  -lnetcdf
+-
+ # This is our output library.
+ lib_LTLIBRARIES = libnetcdf_c++4.la
+ 
+ # For rules updating the version info, see
+ # http://www.gnu.org/s/libtool/manual/html_node/Updating-version-info.html
+ libnetcdf_c__4_la_LDFLAGS = -version-info 2:0:1 -no-undefined
++libnetcdf_c__4_la_LIBADD = -lnetcdf
+ 
+ # These headers will be installed in the users header directory.
+ include_HEADERS = netcdf ncAtt.h ncCheck.h ncDim.h ncException.h  \
+
+From a6dd5eb862d9a845b8458591b957b07c527e0d20 Mon Sep 17 00:00:00 2001
+From: orbea 
+Date: Thu, 25 Mar 2021 12:25:33 -0700
+Subject: [PATCH 2/2] plugins: Add a missing -lhdf5 linker flag.
+
+--- a/plugins/Makefile.am
 b/plugins/Makefile.am
+@@ -20,6 +20,7 @@ lib_LTLIBRARIES = libh5bzip2.la
+ 
+ libh5bzip2_la_SOURCES = ${HDF5PLUGINSRC}
+ libh5bzip2_la_LDFLAGS = -module -avoid-version -shared -export-dynamic 
-no-undefined
++libh5bzip2_la_LIBADD = -lhdf5
+ 
+ libmisc_la_SOURCES = H5Zmisc.c H5Zutil.c h5misc.h
+ libmisc_la_LDFLAGS = -module -avoid-version -shared -export-dynamic 
-no-undefined -rpath ${abs_builddir}

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
index 31c7a79c7e9..11abdd911ef 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
@@ -20,6 +20,10 @@ DEPEND="${RDEPEND}"
 
 S="${WORKDIR}/${MYP}"
 
+PATCHES=(
+   "${FILESDIR}"/${P}-slibtool.patch
+)
+
 src_configure() {
econf --disable-static
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-03-27 Thread Sam James
commit: fbd8767ea10f184c2cb24d03c8dce1ba7317d3cb
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 03:05:03 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 03:05:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbd8767e

sci-libs/netcdf-cxx: fix DeprecatedInsinto

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild
index 25f862ab6e1..89e747db64c 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild
@@ -25,7 +25,7 @@ src_install() {
default
 
if use examples ; then
-   insinto /usr/share/doc/${PF}
-   doins -r examples
+   docinto examples
+   dodoc -r examples
fi
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-03-27 Thread Sam James
commit: 156d6d434e5007d7838fc644668f5379a400e640
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 28 03:05:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 03:05:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=156d6d43

sci-libs/netcdf-cxx: port to EAPI 7, drop eutils.eclass, drop ltprune.eclass

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild | 11 ---
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
index abbec52bd2a..ba3408589ce 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
@@ -1,15 +1,13 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-
-inherit eutils ltprune
+EAPI=7
 
 MYP=${PN}4-${PV}
-
 DESCRIPTION="C++ library for netCDF"
 HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
 SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${MYP}"
 
 LICENSE="UCAR-Unidata"
 SLOT="0/1"
@@ -19,8 +17,6 @@ IUSE="examples"
 RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
 DEPEND="${RDEPEND}"
 
-S="${WORKDIR}/${MYP}"
-
 src_configure() {
econf --disable-static
 }
@@ -28,5 +24,6 @@ src_configure() {
 src_install() {
default
use examples && dodoc -r examples
-   prune_libtool_files
+
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-03-27 Thread Sam James
commit: fd5082a8ca42d8119a85207092141bc319340f9b
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 27 23:43:40 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 01:13:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5082a8

sci-libs/netcdf-cxx: port 4.2-r300 to EAPI 7, drop autotools-utils.eclass

* Port to EAPI 7
* Drop autotools-utils.eclass
* Drop unused versionator.eclass

Revbumping to ensure visibility of any reported issues, but should not
be technically necessary.

Signed-off-by: Sam James  gentoo.org>

 ...cdf-cxx-4.2-r300.ebuild => netcdf-cxx-4.2-r301.ebuild} | 15 ++-
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild
similarity index 80%
rename from sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
rename to sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild
index a15d37a2a1d..25f862ab6e1 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r301.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit autotools-utils versionator
+inherit autotools
 
 DESCRIPTION="C++ library for netCDF"
 HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
@@ -12,14 +12,19 @@ 
SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz;
 LICENSE="UCAR-Unidata"
 SLOT="3"
 KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
-IUSE="examples static-libs"
+IUSE="examples"
 
 RDEPEND=">=sci-libs/netcdf-4.2:0="
 DEPEND="${RDEPEND}"
 
+src_configure() {
+   econf --disable-static
+}
+
 src_install() {
-   autotools-utils_src_install
-   if use examples; then
+   default
+
+   if use examples ; then
insinto /usr/share/doc/${PF}
doins -r examples
fi



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-03-27 Thread Sam James
commit: df351896f691c7dd8b6724f3055bff4f0a18df8a
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 27 23:56:32 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 28 01:13:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df351896

sci-libs/netcdf-cxx: drop static-libs

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
index e029c4ea6b3..abbec52bd2a 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
@@ -14,7 +14,7 @@ 
SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.ta
 LICENSE="UCAR-Unidata"
 SLOT="0/1"
 KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
-IUSE="examples static-libs"
+IUSE="examples"
 
 RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
 DEPEND="${RDEPEND}"
@@ -22,7 +22,7 @@ DEPEND="${RDEPEND}"
 S="${WORKDIR}/${MYP}"
 
 src_configure() {
-   econf $(use_enable static-libs static)
+   econf --disable-static
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-03-13 Thread David Seifert
commit: 631465b06154d1ba9e66335d2f8f8b0302d2afe4
Author: David Seifert  gentoo  org>
AuthorDate: Sat Mar 13 18:53:37 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Mar 13 18:53:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=631465b0

Reverts: efc78ff95f89db0e7c2400c72a4d819976c3df0d

* Still needed by sci-libs/vtk

Signed-off-by: David Seifert  gentoo.org>

 sci-libs/netcdf-cxx/Manifest   |  1 +
 sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild | 26 ++
 2 files changed, 27 insertions(+)

diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest
index c8a52bc165d..47c6186db67 100644
--- a/sci-libs/netcdf-cxx/Manifest
+++ b/sci-libs/netcdf-cxx/Manifest
@@ -1,2 +1,3 @@
+DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B 
a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8
 SHA512 
347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643
 DIST netcdf-cxx-4.3.0.tar.gz 985897 BLAKE2B 
89cfd85764ff8fc730c7cb4187df21a4245cd932bcf86df4edf36eb7ae636906eaafc25cfcbb3dd58bc1d346edacd7f80daa3be9a544d5d777d32ad115cfd00f
 SHA512 
8e77333c979513721209e6b3fde31c298e18a45d7ea08123056e8120469eb8c4024d71289fab2b9182ee19ee7b6ad22bd133525bef048a497ede4aa2e9017465
 DIST netcdf-cxx-4.3.1.tar.gz 607679 BLAKE2B 
68677ba72e66d351bf6d33a2584a3a1edd9da98b41ed66e3f51f8d3d358bfd84bad3e2e06403edf76d26b2c76807ae40859995d8817725e531a27680d04f2501
 SHA512 
404711eb80d5e78968c0f6cbdcb08855a2778d7fd94e7ee94bdc9d1cd72848ac3327613c6437a7634349f26bc463b950092a2999abb34ddab0a47ad185547d22

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
new file mode 100644
index 000..a15d37a2a1d
--- /dev/null
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit autotools-utils versionator
+
+DESCRIPTION="C++ library for netCDF"
+HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
+SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz;
+
+LICENSE="UCAR-Unidata"
+SLOT="3"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
+IUSE="examples static-libs"
+
+RDEPEND=">=sci-libs/netcdf-4.2:0="
+DEPEND="${RDEPEND}"
+
+src_install() {
+   autotools-utils_src_install
+   if use examples; then
+   insinto /usr/share/doc/${PF}
+   doins -r examples
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-03-13 Thread David Seifert
commit: efc78ff95f89db0e7c2400c72a4d819976c3df0d
Author: David Seifert  gentoo  org>
AuthorDate: Sat Mar 13 18:21:06 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Mar 13 18:21:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efc78ff9

sci-libs/netcdf-cxx: Remove old 4.2-r300

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/netcdf-cxx/Manifest   |  1 -
 sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild | 26 --
 2 files changed, 27 deletions(-)

diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest
index 47c6186db67..c8a52bc165d 100644
--- a/sci-libs/netcdf-cxx/Manifest
+++ b/sci-libs/netcdf-cxx/Manifest
@@ -1,3 +1,2 @@
-DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B 
a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8
 SHA512 
347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643
 DIST netcdf-cxx-4.3.0.tar.gz 985897 BLAKE2B 
89cfd85764ff8fc730c7cb4187df21a4245cd932bcf86df4edf36eb7ae636906eaafc25cfcbb3dd58bc1d346edacd7f80daa3be9a544d5d777d32ad115cfd00f
 SHA512 
8e77333c979513721209e6b3fde31c298e18a45d7ea08123056e8120469eb8c4024d71289fab2b9182ee19ee7b6ad22bd133525bef048a497ede4aa2e9017465
 DIST netcdf-cxx-4.3.1.tar.gz 607679 BLAKE2B 
68677ba72e66d351bf6d33a2584a3a1edd9da98b41ed66e3f51f8d3d358bfd84bad3e2e06403edf76d26b2c76807ae40859995d8817725e531a27680d04f2501
 SHA512 
404711eb80d5e78968c0f6cbdcb08855a2778d7fd94e7ee94bdc9d1cd72848ac3327613c6437a7634349f26bc463b950092a2999abb34ddab0a47ad185547d22

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
deleted file mode 100644
index a15d37a2a1d..000
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils versionator
-
-DESCRIPTION="C++ library for netCDF"
-HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
-SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz;
-
-LICENSE="UCAR-Unidata"
-SLOT="3"
-KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
-IUSE="examples static-libs"
-
-RDEPEND=">=sci-libs/netcdf-4.2:0="
-DEPEND="${RDEPEND}"
-
-src_install() {
-   autotools-utils_src_install
-   if use examples; then
-   insinto /usr/share/doc/${PF}
-   doins -r examples
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-03-05 Thread Sam James
commit: c98c170c2f490909b4e0807ca52ad219b3577d86
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar  6 01:19:42 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar  6 01:19:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c98c170c

sci-libs/netcdf-cxx: Keyword 4.3.1 arm64, #772782

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
index 7e359955fe3..31c7a79c7e9 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
@@ -10,7 +10,7 @@ 
SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="UCAR-Unidata"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
 IUSE="examples"
 # 6 out of 9 fail, reported upstream
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-02-22 Thread Sam James
commit: bb44297202e23329ad02226bef75474ff9cbd4f3
Author: Roy Bamford  gentoo  org>
AuthorDate: Mon Feb 15 14:53:38 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 22 18:57:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb442972

sci-libs/netcdf-cxx: added ~arm64

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Roy Bamford  gentoo.org>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
index 35eed157f02..a15d37a2a1d 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ 
SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz;
 
 LICENSE="UCAR-Unidata"
 SLOT="3"
-KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
 IUSE="examples static-libs"
 
 RDEPEND=">=sci-libs/netcdf-4.2:0="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/files/, sci-libs/netcdf-cxx/

2021-02-18 Thread David Seifert
commit: ad3c39284c250bbade6974247dd5dc3a280b317a
Author: Jakov Smolic  sartura  hr>
AuthorDate: Thu Feb 18 18:56:19 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Thu Feb 18 18:56:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad3c3928

sci-libs/netcdf-cxx: Remove old

Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/netcdf-cxx/Manifest   |  1 -
 .../netcdf-cxx/files/netcdf-cxx-4.2-config.patch   | 28 -
 sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild | 36 --
 sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild| 36 --
 4 files changed, 101 deletions(-)

diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest
index 35d2f0af935..47c6186db67 100644
--- a/sci-libs/netcdf-cxx/Manifest
+++ b/sci-libs/netcdf-cxx/Manifest
@@ -1,4 +1,3 @@
-DIST netcdf-cxx-4.2.1.tar.gz 456547 BLAKE2B 
e973f064ad40c0d0cb76766f3b1639d16ed7eaae73d8e55db011645fc0d4e6f8949a60aeb9d47a4f8e88b3c5b2d486d42442e417908a2194b8b9a5e720ba2ff5
 SHA512 
d51ab1cbda74db5f7b074799d2407d0214d1c920af780ae3bb7a47b3708e45f721be7eec61902e035968a9df5019a7b2b5a10f236f6bab4cb47a26e4e7867adb
 DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B 
a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8
 SHA512 
347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643
 DIST netcdf-cxx-4.3.0.tar.gz 985897 BLAKE2B 
89cfd85764ff8fc730c7cb4187df21a4245cd932bcf86df4edf36eb7ae636906eaafc25cfcbb3dd58bc1d346edacd7f80daa3be9a544d5d777d32ad115cfd00f
 SHA512 
8e77333c979513721209e6b3fde31c298e18a45d7ea08123056e8120469eb8c4024d71289fab2b9182ee19ee7b6ad22bd133525bef048a497ede4aa2e9017465
 DIST netcdf-cxx-4.3.1.tar.gz 607679 BLAKE2B 
68677ba72e66d351bf6d33a2584a3a1edd9da98b41ed66e3f51f8d3d358bfd84bad3e2e06403edf76d26b2c76807ae40859995d8817725e531a27680d04f2501
 SHA512 
404711eb80d5e78968c0f6cbdcb08855a2778d7fd94e7ee94bdc9d1cd72848ac3327613c6437a7634349f26bc463b950092a2999abb34ddab0a47ad185547d22

diff --git a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch 
b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
deleted file mode 100644
index 50b6b478bdb..000
--- a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
+++ /dev/null
@@ -1,28 +0,0 @@
 netcdf-cxx4-4.2.1/ncxx4-config.in.orig 2013-01-10 10:47:00.595224631 
-0800
-+++ netcdf-cxx4-4.2.1/ncxx4-config.in  2013-01-10 10:49:22.856926765 -0800
-@@ -5,7 +5,7 @@
- 
- prefix=@prefix@
- exec_prefix=${prefix}
--libdir=${exec_prefix}/lib
-+libdir=@libdir@
- includedir=${prefix}/include
- 
- cc="@CC@"
-@@ -13,7 +13,7 @@
- fc="@FC@"
- cflags=" -I${includedir} @CPPFLAGS@" 
- fflags="@FFLAGS@ @MOD_FLAG@${includedir}"
--libs="-L${libdir} @NC_LIBS@"
-+libs="-L${libdir} @NC_LIBS@ -lnetcdf"
- flibs="-L${libdir} @NC_FLIBS@"
- has_dap="@HAS_DAP@"
- has_nc2="@HAS_NC2@"
 netcdf-cxx4-4.2.1/netcdf-cxx4.pc.in.orig   2013-01-10 10:46:50.995177250 
-0800
-+++ netcdf-cxx4-4.2.1/netcdf-cxx4.pc.in2013-01-10 10:49:45.030036161 
-0800
-@@ -10,4 +10,4 @@
- Version: @PACKAGE_VERSION@
- Libs: -L${libdir} @NC_LIBS@
- Cflags: -I${includedir}
--
-+Requires: netcdf

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
deleted file mode 100644
index fa311868cb0..000
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils ltprune
-
-MYP=${PN}4-${PV}
-
-DESCRIPTION="C++ library for netCDF"
-HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
-SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="UCAR-Unidata"
-SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
-IUSE="examples static-libs"
-
-RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MYP}"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-4.2-config.patch"
-)
-
-src_configure() {
-   econf $(use_enable static-libs static)
-}
-
-src_install() {
-   default
-   use examples && dodoc -r examples
-   prune_libtool_files
-}

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild
deleted file mode 100644
index b1bb22728e0..000
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools-utils
-
-MYP=${PN}4-${PV}
-
-DESCRIPTION="C++ library for netCDF"
-HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
-SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-

[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-02-18 Thread Sam James
commit: 37424ef4f0d6a43702cad7edc1ccfa766ebd0062
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 08:38:47 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 08:38:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37424ef4

sci-libs/netcdf-cxx: Stabilize 4.3.0 amd64, #765760

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
index 87d9d046b7c..e029c4ea6b3 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="UCAR-Unidata"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
 IUSE="examples static-libs"
 
 RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-02-18 Thread Sam James
commit: 5c5462bde1d3f24e05a253c776730ffeeb5ee10b
Author: Sam James  gentoo  org>
AuthorDate: Thu Feb 18 08:35:18 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Feb 18 08:35:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c5462bd

sci-libs/netcdf-cxx: Stabilize 4.3.0 x86, #765760

Signed-off-by: Sam James  gentoo.org>

 sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
index c64a6ff9763..87d9d046b7c 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ 
SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> ${P}.ta
 
 LICENSE="UCAR-Unidata"
 SLOT="0/1"
-KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm x86 ~amd64-linux ~x86-linux"
 IUSE="examples static-libs"
 
 RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2021-02-15 Thread David Seifert
commit: ba774dd15cf6c0b1de1434e6c79d33610cdef7c8
Author: Jakov Smolic  sartura  hr>
AuthorDate: Mon Feb 15 08:42:49 2021 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Feb 15 08:42:49 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba774dd1

sci-libs/netcdf-cxx: Bump to 4.3.1

Closes: https://github.com/gentoo/gentoo/pull/19468
Signed-off-by: Jakov Smolic  sartura.hr>
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/netcdf-cxx/Manifest|  1 +
 sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild | 31 +
 2 files changed, 32 insertions(+)

diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest
index a083069bcc6..35d2f0af935 100644
--- a/sci-libs/netcdf-cxx/Manifest
+++ b/sci-libs/netcdf-cxx/Manifest
@@ -1,3 +1,4 @@
 DIST netcdf-cxx-4.2.1.tar.gz 456547 BLAKE2B 
e973f064ad40c0d0cb76766f3b1639d16ed7eaae73d8e55db011645fc0d4e6f8949a60aeb9d47a4f8e88b3c5b2d486d42442e417908a2194b8b9a5e720ba2ff5
 SHA512 
d51ab1cbda74db5f7b074799d2407d0214d1c920af780ae3bb7a47b3708e45f721be7eec61902e035968a9df5019a7b2b5a10f236f6bab4cb47a26e4e7867adb
 DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B 
a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8
 SHA512 
347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643
 DIST netcdf-cxx-4.3.0.tar.gz 985897 BLAKE2B 
89cfd85764ff8fc730c7cb4187df21a4245cd932bcf86df4edf36eb7ae636906eaafc25cfcbb3dd58bc1d346edacd7f80daa3be9a544d5d777d32ad115cfd00f
 SHA512 
8e77333c979513721209e6b3fde31c298e18a45d7ea08123056e8120469eb8c4024d71289fab2b9182ee19ee7b6ad22bd133525bef048a497ede4aa2e9017465
+DIST netcdf-cxx-4.3.1.tar.gz 607679 BLAKE2B 
68677ba72e66d351bf6d33a2584a3a1edd9da98b41ed66e3f51f8d3d358bfd84bad3e2e06403edf76d26b2c76807ae40859995d8817725e531a27680d04f2501
 SHA512 
404711eb80d5e78968c0f6cbdcb08855a2778d7fd94e7ee94bdc9d1cd72848ac3327613c6437a7634349f26bc463b950092a2999abb34ddab0a47ad185547d22

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
new file mode 100644
index 000..7e359955fe3
--- /dev/null
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MYP=${PN}4-${PV}
+DESCRIPTION="C++ library for netCDF"
+HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
+SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="UCAR-Unidata"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples"
+# 6 out of 9 fail, reported upstream
+RESTRICT="test"
+
+RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MYP}"
+
+src_configure() {
+   econf --disable-static
+}
+
+src_install() {
+   default
+   use examples && dodoc -r examples
+   find "${ED}" -name '*.la' -delete || die
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2018-10-27 Thread Pacho Ramos
commit: ed0a495dbf23a6f845c13eb674599f87d1630388
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sat Oct 27 14:06:26 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sat Oct 27 14:06:26 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed0a495d

sci-libs/netcdf-cxx: Needs to be rebuilt when subslot changes

Signed-off-by: Pacho Ramos  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
index 79fd2e1b0aa..35eed157f02 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -14,7 +14,7 @@ SLOT="3"
 KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
 IUSE="examples static-libs"
 
-RDEPEND=">=sci-libs/netcdf-4.2"
+RDEPEND=">=sci-libs/netcdf-4.2:0="
 DEPEND="${RDEPEND}"
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2018-05-16 Thread Aaron Bauman
commit: b629aca278d5d40a7096c1ba052414f7598437d5
Author: Michael Mair-Keimberger  gmail  com>
AuthorDate: Tue May 15 11:26:36 2018 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Wed May 16 22:56:56 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b629aca2

sci-libs/netcdf-cxx: use HTTPS

 sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild | 4 ++--
 sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild | 4 ++--
 sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild| 4 ++--
 sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild| 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
index 5e1d1c252b1..79fd2e1b0aa 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2-r300.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,7 +6,7 @@ EAPI=5
 inherit autotools-utils versionator
 
 DESCRIPTION="C++ library for netCDF"
-HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/;
+HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
 SRC_URI="https://www.unidata.ucar.edu/downloads/netcdf/ftp/${P}.tar.gz;
 
 LICENSE="UCAR-Unidata"

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
index 5d0ad2c8c24..92e54788bdc 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -8,7 +8,7 @@ inherit eutils
 MYP=${PN}4-${PV}
 
 DESCRIPTION="C++ library for netCDF"
-HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/;
+HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
 SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="UCAR-Unidata"

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild
index 0cff763395d..b1bb22728e0 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -8,7 +8,7 @@ inherit autotools-utils
 MYP=${PN}4-${PV}
 
 DESCRIPTION="C++ library for netCDF"
-HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/;
+HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
 SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="UCAR-Unidata"

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
index 3b997cf9c65..43463f50c10 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
@@ -8,7 +8,7 @@ inherit eutils
 MYP=${PN}4-${PV}
 
 DESCRIPTION="C++ library for netCDF"
-HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/;
+HOMEPAGE="https://www.unidata.ucar.edu/software/netcdf/;
 SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="UCAR-Unidata"



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2018-04-24 Thread Matthias Maier
commit: bd84cce2dfe50850ea463a41a04521919eb4dfce
Author: Matthias Maier  gentoo  org>
AuthorDate: Tue Apr 24 15:46:49 2018 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Tue Apr 24 15:57:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd84cce2

sci-libs/netcdf-cxx: version bump to 4.3.0:0

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 sci-libs/netcdf-cxx/Manifest|  1 +
 sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild | 32 +
 2 files changed, 33 insertions(+)

diff --git a/sci-libs/netcdf-cxx/Manifest b/sci-libs/netcdf-cxx/Manifest
index 9c5d782de70..a083069bcc6 100644
--- a/sci-libs/netcdf-cxx/Manifest
+++ b/sci-libs/netcdf-cxx/Manifest
@@ -1,2 +1,3 @@
 DIST netcdf-cxx-4.2.1.tar.gz 456547 BLAKE2B 
e973f064ad40c0d0cb76766f3b1639d16ed7eaae73d8e55db011645fc0d4e6f8949a60aeb9d47a4f8e88b3c5b2d486d42442e417908a2194b8b9a5e720ba2ff5
 SHA512 
d51ab1cbda74db5f7b074799d2407d0214d1c920af780ae3bb7a47b3708e45f721be7eec61902e035968a9df5019a7b2b5a10f236f6bab4cb47a26e4e7867adb
 DIST netcdf-cxx-4.2.tar.gz 703482 BLAKE2B 
a6727b7305204d2b53e6ee951c8165b03cd07f14e5d59a306445481272d0e10eb077e4bc62a2586c57652cb8273b9098ed77836f9023817d8a9e6ef51ac2cfe8
 SHA512 
347ddbc518ac2186868d69417342e5146e285fc3a88f7c55edc33063f5c9a6647af7e512a03b9b6a8f67a448b85a1edcdde5df707b893f6a1527821cfd78e643
+DIST netcdf-cxx-4.3.0.tar.gz 985897 BLAKE2B 
89cfd85764ff8fc730c7cb4187df21a4245cd932bcf86df4edf36eb7ae636906eaafc25cfcbb3dd58bc1d346edacd7f80daa3be9a544d5d777d32ad115cfd00f
 SHA512 
8e77333c979513721209e6b3fde31c298e18a45d7ea08123056e8120469eb8c4024d71289fab2b9182ee19ee7b6ad22bd133525bef048a497ede4aa2e9017465

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
new file mode 100644
index 000..3b997cf9c65
--- /dev/null
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.3.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils
+
+MYP=${PN}4-${PV}
+
+DESCRIPTION="C++ library for netCDF"
+HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/;
+SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="UCAR-Unidata"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples static-libs"
+
+RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MYP}"
+
+src_configure() {
+   econf $(use_enable static-libs static)
+}
+
+src_install() {
+   default
+   use examples && dodoc -r examples
+   prune_libtool_files
+}



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/

2016-01-25 Thread David Seifert
commit: 9ccfa6b6c5f7d99ada18099fe4da3a2efdf86699
Author: David Seifert  gentoo  org>
AuthorDate: Mon Jan 25 09:47:15 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Mon Jan 25 09:52:10 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ccfa6b6

sci-libs/netcdf-cxx: Replace 'doins' with 'dodoc -r'

Package-Manager: portage-2.2.27

 sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
index 3926444..48d3dd7 100644
--- a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
@@ -32,9 +32,6 @@ src_configure() {
 
 src_install() {
default
-   if use examples; then
-   insinto /usr/share/doc/${PF}
-   doins -r examples
-   fi
+   use examples && dodoc -r examples
prune_libtool_files
 }



[gentoo-commits] repo/gentoo:master commit in: sci-libs/netcdf-cxx/files/, sci-libs/netcdf-cxx/

2016-01-23 Thread David Seifert
commit: 2ca5155c00e212a4ea8b6b4636b159baa5d917e3
Author: David Seifert  gentoo  org>
AuthorDate: Sat Jan 23 19:51:15 2016 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Jan 23 20:05:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca5155c

sci-libs/netcdf-cxx: Add USE=hdf5 dependency on sci-libs/netcdf

Gentoo-Bug: 566622
* EAPI=6
* Remove usage of 'autotools-utils'

Package-Manager: portage-2.2.27

 .../netcdf-cxx/files/netcdf-cxx-4.2-config.patch   |  8 ++---
 sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild | 40 ++
 2 files changed, 44 insertions(+), 4 deletions(-)

diff --git a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch 
b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
index 7d83b6d..50b6b47 100644
--- a/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
+++ b/sci-libs/netcdf-cxx/files/netcdf-cxx-4.2-config.patch
@@ -1,5 +1,5 @@
 ncxx4-config.in.orig   2013-01-10 10:47:00.595224631 -0800
-+++ ncxx4-config.in2013-01-10 10:49:22.856926765 -0800
+--- netcdf-cxx4-4.2.1/ncxx4-config.in.orig 2013-01-10 10:47:00.595224631 
-0800
 netcdf-cxx4-4.2.1/ncxx4-config.in  2013-01-10 10:49:22.856926765 -0800
 @@ -5,7 +5,7 @@
  
  prefix=@prefix@
@@ -18,8 +18,8 @@
  flibs="-L${libdir} @NC_FLIBS@"
  has_dap="@HAS_DAP@"
  has_nc2="@HAS_NC2@"
 netcdf-cxx4.pc.in.orig 2013-01-10 10:46:50.995177250 -0800
-+++ netcdf-cxx4.pc.in  2013-01-10 10:49:45.030036161 -0800
+--- netcdf-cxx4-4.2.1/netcdf-cxx4.pc.in.orig   2013-01-10 10:46:50.995177250 
-0800
 netcdf-cxx4-4.2.1/netcdf-cxx4.pc.in2013-01-10 10:49:45.030036161 
-0800
 @@ -10,4 +10,4 @@
  Version: @PACKAGE_VERSION@
  Libs: -L${libdir} @NC_LIBS@

diff --git a/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild 
b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
new file mode 100644
index 000..3926444
--- /dev/null
+++ b/sci-libs/netcdf-cxx/netcdf-cxx-4.2.1-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit eutils
+
+MYP=${PN}4-${PV}
+
+DESCRIPTION="C++ library for netCDF"
+HOMEPAGE="http://www.unidata.ucar.edu/software/netcdf/;
+SRC_URI="https://github.com/Unidata/netcdf-cxx4/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="UCAR-Unidata"
+SLOT="0/1"
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="examples static-libs"
+
+RDEPEND=">=sci-libs/netcdf-4.2:=[hdf5]"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/${MYP}"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-4.2-config.patch"
+)
+
+src_configure() {
+   econf $(use_enable static-libs static)
+}
+
+src_install() {
+   default
+   if use examples; then
+   insinto /usr/share/doc/${PF}
+   doins -r examples
+   fi
+   prune_libtool_files
+}