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

2024-04-23 Thread Sam James
commit: ea8101e47c60955e6a8bb5fbb5e442a765d01a52
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 23 20:26:45 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 23 20:33:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea8101e4

sci-libs/hdf5: add explanatory comment for SLOT

See https://github.com/HDFGroup/hdf5/commits/hdf5_1_14_4/config/lt_vers.am.

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

 sci-libs/hdf5/hdf5-1.14.4_p2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-libs/hdf5/hdf5-1.14.4_p2.ebuild 
b/sci-libs/hdf5/hdf5-1.14.4_p2.ebuild
index b71c204edfea..e0e67c452ed5 100644
--- a/sci-libs/hdf5/hdf5-1.14.4_p2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.4_p2.ebuild
@@ -19,6 +19,7 @@ 
SRC_URI="https://github.com/HDFGroup/hdf5/releases/download/${PN}_${MY_PV/-/.}/$
 S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
+# Upstream make SONAME changes all the time even within stable releases.
 SLOT="0/${PV%%_p*}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"



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

2024-04-15 Thread Sam James
commit: e74ef4bd39c13a64422aec66c646b857884727d4
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 16 03:33:29 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 16 03:34:25 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74ef4bd

sci-libs/hdf5: add 1.14.4_p2

Drop LTO filtering as it's fixed upstream.

Bug: https://bugs.gentoo.org/922800
Bug: https://bugs.gentoo.org/930089
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/Manifest |   1 +
 ...hat-during-runtime-we-ll-use-the-same-lib.patch |  28 +
 ...hdf5-1.14.4-0002-Disable-forced-stripping.patch |  31 ++
 ...-1.14.4-0003-Drop-broken-Werror-stripping.patch |  65 
 sci-libs/hdf5/hdf5-1.14.4_p2.ebuild| 118 +
 5 files changed, 243 insertions(+)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index cef49f76a841..f07fe2e1a3ad 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -3,3 +3,4 @@ DIST hdf5-1.12.2.tar.bz2 10494264 BLAKE2B 
99ca5b57f6f54fa044c909f0773de62b218c1f
 DIST hdf5-1.14.1.tar.bz2 16257319 BLAKE2B 
fbabbe2a61fca3f841d0206e3918390001ec1ec713696b69845eb6390595794a63740db9a7b48fd132814268e216d8fea6288cd23b04b2fa981058b557113e73
 SHA512 
b4dd3fca88547fdcbb2afcc22cb11bb45b7b15c3c01d9e11b7f060301a9d5c4995abb6cf27b0c4e748f1a7ca497a7f2d995ba00586f447fcd2fa537e0e16
 DIST hdf5-1.14.2.tar.bz2 16070491 BLAKE2B 
04acdc5352f7f0455bf6304ef07ddf51b99125bb585984bd3e27a521a784a6ad6723d64aa3b4179e4bd382334b7e68d06650404d7d4617a696d3f64917487dbc
 SHA512 
1e1bfdff50c2e0e172d399c2d5b79b9ad0c7c72b9b30c4849aad7c5656393e8cf2af788cdf62b51fbe596023483fbc7fa23fdebf37bfe3109dae7f0783ea590f
 DIST hdf5-1.14.3.tar.bz2 16320137 BLAKE2B 
4c58edc04788db739c5c74d6edbfb9277011e2d6776862404fc29b30bb2c06a4314eb317393c230ebd2617a9a362ff78183d39ae80ce08f8963bdf6c02e8a865
 SHA512 
06d51638a56f387f6d0ef484b72e182509c15ab639315052be9821adeed6ad08551c50d7fe84d2b550b64211f68484cf3022a4660c8004cd0afd90eaa83c1bb1
+DIST hdf5-1.14.4-2.tar.gz 37033062 BLAKE2B 
cd75e0fec1ccea8622bb93839c4898e07093b298612cd3ba5aaa48178eba33f49e6a6492df779f0cc36ee263a107a3fa3e592caec35576d0e637b9e457da3965
 SHA512 
f1714b7999468d580b7cae2e575d3d7f31cea2fb81bfa4e37abd248d7223476b2351d1714197ace04eee970b451cf1f6971f5a291fd7426398737b8d7eb26924

diff --git 
a/sci-libs/hdf5/files/hdf5-1.14.4-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch
 
b/sci-libs/hdf5/files/hdf5-1.14.4-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch
new file mode 100644
index ..5b3a5f85f2ce
--- /dev/null
+++ 
b/sci-libs/hdf5/files/hdf5-1.14.4-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch
@@ -0,0 +1,28 @@
+From dcfab0f9f0c41cb61a25b11cd61eac7204365693 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sun, 17 Dec 2023 09:25:43 +
+Subject: [PATCH 1/3] Make sure that during runtime we'll use the same
+ libgfortran as during linking
+
+Bug: https://bugs.gentoo.org/419991
+Bug: https://bugs.gentoo.org/419895
+Signed-off-by: Sam James 
+---
+ fortran/src/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/fortran/src/Makefile.am b/fortran/src/Makefile.am
+index 8d8396f..de03df9 100644
+--- a/fortran/src/Makefile.am
 b/fortran/src/Makefile.am
+@@ -98,6 +98,7 @@ if BUILD_PARALLEL_CONDITIONAL
+ else
+   H5FC_NAME = h5fc
+ endif
++H5test_kind_LDFLAGS=-static-libgfortran
+ 
+ # Rules for automatically detecting which fortran types are present
+ # and matching them to C types.  This is accomplished using helper
+-- 
+2.44.0
+

diff --git 
a/sci-libs/hdf5/files/hdf5-1.14.4-0002-Disable-forced-stripping.patch 
b/sci-libs/hdf5/files/hdf5-1.14.4-0002-Disable-forced-stripping.patch
new file mode 100644
index ..25a3088dc031
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.14.4-0002-Disable-forced-stripping.patch
@@ -0,0 +1,31 @@
+From 9bcb00e44ce2442db9dcd173e70f8635d7e22c1d Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sun, 17 Dec 2023 09:26:33 +
+Subject: [PATCH 2/3] Disable forced stripping
+
+Bug: https://bugs.gentoo.org/665378
+Signed-off-by: Sam James 
+---
+ configure.ac | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 6a3beee..fc44a39 100644
+--- a/configure.ac
 b/configure.ac
+@@ -2512,9 +2512,9 @@ case "X-$SYMBOLS" in
+ AC_MSG_RESULT([yes])
+ ;;
+   X-no)
+-H5_CFLAGS="$H5_CFLAGS $NO_SYMBOLS_CFLAGS"
+-H5_CXXFLAGS="$H5_CXXFLAGS $NO_SYMBOLS_CXXFLAGS"
+-H5_FCFLAGS="$H5_FCFLAGS $NO_SYMBOLS_FCFLAGS"
++H5_CFLAGS="$H5_CFLAGS"
++H5_CXXFLAGS="$H5_CXXFLAGS"
++H5_FCFLAGS="$H5_FCFLAGS"
+ AC_MSG_RESULT([no])
+ ;;
+   *)
+-- 
+2.44.0
+

diff --git 
a/sci-libs/hdf5/files/hdf5-1.14.4-0003-Drop-broken-Werror-stripping.patch 
b/sci-libs/hdf5/files/hdf5-1.14.4-0003-Drop-broken-Werror-stripping.patch
new file mode 100644
index ..3b8a628b0384
--- /dev/null
+++ b/sci-libs/hdf5/files/hd

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

2024-02-21 Thread Ionen Wolkens
commit: 2ff1513fabf8fddcb26b036bfecbfaf51c25c8ee
Author: Matoro Mahri  matoro  tk>
AuthorDate: Wed Feb 21 00:33:06 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Feb 22 04:45:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ff1513f

sci-libs/hdf5: Stabilize 1.14.3-r1 sparc, #923536

Signed-off-by: Matoro Mahri  matoro.tk>
Signed-off-by: Ionen Wolkens  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
index c127f1ea3bc9..a5ec57304de1 100644
--- a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2024-02-04 Thread Sam James
commit: 0398c99dcd85c12076c5a10cdec611e95fab7c7e
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Feb  4 01:02:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb  4 20:10:37 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0398c99d

sci-libs/hdf5: suppress LTO due to compile errors

It uses fortran code that fails with lto-type-mismatch

Bug: https://bugs.gentoo.org/922800
Signed-off-by: Eli Schwartz  gmail.com>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.3-r1.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
index 35ebec24cadd..c127f1ea3bc9 100644
--- a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
@@ -85,6 +85,8 @@ src_prepare() {
 src_configure() {
# bug #686620
use sparc && tc-is-gcc && append-flags -fno-tree-ccp
+   # bug #922800, LTO failures:
+   filter-lto
 
local myeconfargs=(
--disable-static



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

2024-02-02 Thread Sam James
commit: b836b375c958872d3d2317bc50f7f40b70f519bb
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  3 06:54:57 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  3 06:54:57 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b836b375

sci-libs/hdf5: Stabilize 1.14.3-r1 arm64, #923536

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

 sci-libs/hdf5/hdf5-1.14.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
index cb7e28999c88..35ebec24cadd 100644
--- a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2024-02-02 Thread Arthur Zamarin
commit: f662d5c86f3fd0fcfec34a7d2b43eef1b86f0c4a
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  2 15:39:08 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  2 15:39:08 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f662d5c8

sci-libs/hdf5: Stabilize 1.14.3-r1 x86, #923536

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
index 0e2b1237af97..cb7e28999c88 100644
--- a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2024-02-02 Thread Arthur Zamarin
commit: dfea98b71cde466c5c52cde67a38d1ce7249ff1b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  2 14:17:33 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  2 14:17:33 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfea98b7

sci-libs/hdf5: Stabilize 1.14.3-r1 amd64, #923536

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
index efa419f617bf..0e2b1237af97 100644
--- a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2024-02-02 Thread Arthur Zamarin
commit: 9c98c24ae8ae2ab296a813b461283765c33dc8b7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  2 12:38:19 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  2 12:38:19 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c98c24a

sci-libs/hdf5: Stabilize 1.14.3-r1 ppc64, #923536

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
index 3cd9a8548239..efa419f617bf 100644
--- a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2024-02-01 Thread Sam James
commit: 16a7fcbcba047b16ac2bf8195f6a0e191ff736c1
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 04:42:27 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 04:42:27 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16a7fcbc

sci-libs/hdf5: Stabilize 1.14.3-r1 ppc, #923536

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

 sci-libs/hdf5/hdf5-1.14.3-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
index 750f17457476..9706423bf750 100644
--- a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2024-02-01 Thread Sam James
commit: b0422560a913d808a8079eb0b1cd31732913e2a4
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  2 04:42:28 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  2 04:42:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b0422560

sci-libs/hdf5: Stabilize 1.14.3-r1 arm, #923536

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

 sci-libs/hdf5/hdf5-1.14.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
index 9706423bf750..3cd9a8548239 100644
--- a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-12-18 Thread Arthur Zamarin
commit: 70885771a965bb75966bcbb573eb387594d6791f
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Mon Dec 18 09:00:51 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Mon Dec 18 09:00:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70885771

sci-libs/hdf5: Stabilize 1.14.2 ppc, #920131

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.2.ebuild b/sci-libs/hdf5/hdf5-1.14.2.ebuild
index b40823d3c6b7..874a59f5ed76 100644
--- a/sci-libs/hdf5/hdf5-1.14.2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.2.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-12-18 Thread Andrew Ammerlaan
commit: 0c573513414f30ca44e76fa6aa0ed34897c41257
Author: Eli Schwartz  gmail  com>
AuthorDate: Sun Dec 17 21:58:19 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon Dec 18 08:21:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c573513

sci-libs/hdf5: fix broken examplesdir support

Since at least upstream version 1.12.2, upstream added a configure
option to choose the examples directory. It was no longer hardcoded in
Makefile.am, which means the sed fixup did not work, but also the option
wasn't passed.

Upstream commit: 
https://github.com/HDFGroup/hdf5/commit/b8a93a7224114739e42f32aaf62ae64fd1aad33e

iwdevtools:
```
 * SED: the following did not cause any changes
 * sed -e "s:hdf5_examples:doc/${PF}/examples:g" -i $(find . -name 
Makefile.am) $(find . -name "run*.sh.in") || die;
 * no-op: -e s:hdf5_examples:doc/hdf5-1.12.2-r4/examples:g
```

Make sure the option is correctly passed.

Signed-off-by: Eli Schwartz  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/34335
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-libs/hdf5/{hdf5-1.14.3.ebuild => hdf5-1.14.3-r1.ebuild} | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.3.ebuild 
b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
similarity index 95%
rename from sci-libs/hdf5/hdf5-1.14.3.ebuild
rename to sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
index 47b70efe199b..750f17457476 100644
--- a/sci-libs/hdf5/hdf5-1.14.3.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild
@@ -65,10 +65,6 @@ pkg_setup() {
 src_prepare() {
default
 
-   # Respect Gentoo examples directory
-   sed \
-   -e "s:hdf5_examples:doc/${PF}/examples:g" \
-   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
sed \
-e '/docdir/d' \
-i config/commence.am || die
@@ -96,6 +92,7 @@ src_configure() {
--enable-deprecated-symbols
--enable-build-mode=$(usex debug debug production)

--with-default-plugindir="${EPREFIX}/usr/$(get_libdir)/${PN}/plugin"
+   --with-examplesdir="\${datarootdir}/doc/${PF}/examples" \
$(use_enable cxx)
$(use_enable debug codestack)
$(use_enable fortran)



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

2023-12-17 Thread Sam James
commit: da31d13917542ce5d62f939834df91166762643d
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 17 09:40:43 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 17 09:43:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da31d139

sci-libs/hdf5: add 1.14.3

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

 sci-libs/hdf5/Manifest   |   1 +
 sci-libs/hdf5/hdf5-1.14.3.ebuild | 120 +++
 2 files changed, 121 insertions(+)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index f146f8d34066..cef49f76a841 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -2,3 +2,4 @@ DIST hdf5-1.10.5.tar.bz2 8706317 BLAKE2B 
ac326be8fe4ccc4b0153f15bc7d65aa8f1adc2a
 DIST hdf5-1.12.2.tar.bz2 10494264 BLAKE2B 
99ca5b57f6f54fa044c909f0773de62b218c1f0ec3c011f88f3c227536dd719e77ddbe42d562b1214e8843e41d8fc56db499d7f122876fdd36ef31b235229cb7
 SHA512 
cbb4663570de76b11adb6bf62cfdb754371d31eeab04691479a5764a45207a9c1309665ab80f51c63a4b9b87354f9cbe6835cef506a9fd554d142c6d2bec21e5
 DIST hdf5-1.14.1.tar.bz2 16257319 BLAKE2B 
fbabbe2a61fca3f841d0206e3918390001ec1ec713696b69845eb6390595794a63740db9a7b48fd132814268e216d8fea6288cd23b04b2fa981058b557113e73
 SHA512 
b4dd3fca88547fdcbb2afcc22cb11bb45b7b15c3c01d9e11b7f060301a9d5c4995abb6cf27b0c4e748f1a7ca497a7f2d995ba00586f447fcd2fa537e0e16
 DIST hdf5-1.14.2.tar.bz2 16070491 BLAKE2B 
04acdc5352f7f0455bf6304ef07ddf51b99125bb585984bd3e27a521a784a6ad6723d64aa3b4179e4bd382334b7e68d06650404d7d4617a696d3f64917487dbc
 SHA512 
1e1bfdff50c2e0e172d399c2d5b79b9ad0c7c72b9b30c4849aad7c5656393e8cf2af788cdf62b51fbe596023483fbc7fa23fdebf37bfe3109dae7f0783ea590f
+DIST hdf5-1.14.3.tar.bz2 16320137 BLAKE2B 
4c58edc04788db739c5c74d6edbfb9277011e2d6776862404fc29b30bb2c06a4314eb317393c230ebd2617a9a362ff78183d39ae80ce08f8963bdf6c02e8a865
 SHA512 
06d51638a56f387f6d0ef484b72e182509c15ab639315052be9821adeed6ad08551c50d7fe84d2b550b64211f68484cf3022a4660c8004cd0afd90eaa83c1bb1

diff --git a/sci-libs/hdf5/hdf5-1.14.3.ebuild b/sci-libs/hdf5/hdf5-1.14.3.ebuild
new file mode 100644
index ..47b70efe199b
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.14.3.ebuild
@@ -0,0 +1,120 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+
+# We've reverted *back* to autotools from CMake because of
+# https://github.com/HDFGroup/hdf5/issues/1814.
+inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix
+
+MY_P=${PN}-${PV/_p/-patch}
+MAJOR_P=${PN}-$(ver_cut 1-2)
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   !unsupported? (
+   cxx? ( !mpi ) mpi? ( !cxx )
+   threads? ( !cxx !mpi !fortran !hl )
+   )
+"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:= )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   
"${FILESDIR}"/hdf5-1.14.2-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch
+   "${FILESDIR}"/hdf5-1.14.2-0002-Disable-forced-stripping.patch
+   "${FILESDIR}"/hdf5-1.14.2-0003-Drop-broken-Werror-stripping.patch
+)
+
+pkg_setup() {
+   # Workaround for bug 285148
+   tc-export CXX CC AR
+
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+
+   export CC=mpicc
+   use fortran && export FC=mpif90
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_prepare() {
+   default
+
+   # Respect Gentoo examples directory
+   sed \
+   -e "s:hdf5_examples:doc/${PF}/examples:g" \
+   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
+   sed \
+   -e '/docdir/d' \
+   -i config/commence.am || die
+
+   if ! use examples; then
+   # bug #409091
+   sed -e '/^install:/ s/install-examples//' \
+   -i Makefile.am || die
+   fi
+
+

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

2023-12-16 Thread Sam James
commit: 8293fecc69471fd08cb2d21aa3397bb3bcf9636c
Author: Sam James  gentoo  org>
AuthorDate: Sun Dec 17 00:00:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Dec 17 00:00:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8293fecc

sci-libs/hdf5: Stabilize 1.14.2 ppc64, #920131

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

 sci-libs/hdf5/hdf5-1.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.2.ebuild b/sci-libs/hdf5/hdf5-1.14.2.ebuild
index b22b3bb7f7e4..0cd8c97ec4cf 100644
--- a/sci-libs/hdf5/hdf5-1.14.2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.2.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-12-16 Thread Arthur Zamarin
commit: d0b8a784941f583e2b60401e2b22cb21d9f58a1c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 16 19:16:18 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 16 19:16:18 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0b8a784

sci-libs/hdf5: Stabilize 1.14.2 amd64, #920131

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.2.ebuild b/sci-libs/hdf5/hdf5-1.14.2.ebuild
index b6d7e8c40a17..b22b3bb7f7e4 100644
--- a/sci-libs/hdf5/hdf5-1.14.2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.2.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-12-16 Thread Arthur Zamarin
commit: 05efb7c045084d265dc44522dd9fcfa69a40989e
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 16 16:17:03 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 16 16:17:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05efb7c0

sci-libs/hdf5: Stabilize 1.14.2 arm64, #920131

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.2.ebuild b/sci-libs/hdf5/hdf5-1.14.2.ebuild
index 4516b4af81e1..b6d7e8c40a17 100644
--- a/sci-libs/hdf5/hdf5-1.14.2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.2.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-12-16 Thread Arthur Zamarin
commit: fced73a3b2ff49944ac6736f7c6a61bf6c506267
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 16 16:17:02 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 16 16:17:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fced73a3

sci-libs/hdf5: Stabilize 1.14.2 x86, #920131

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.2.ebuild b/sci-libs/hdf5/hdf5-1.14.2.ebuild
index b47d4f7ba340..4516b4af81e1 100644
--- a/sci-libs/hdf5/hdf5-1.14.2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.2.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-12-16 Thread Arthur Zamarin
commit: 4f00a452bd9c0dd7a20c3ff23834b7c7bb09a912
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 16 11:58:06 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 16 11:58:06 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f00a452

sci-libs/hdf5: Stabilize 1.14.2 sparc, #920131

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.2.ebuild b/sci-libs/hdf5/hdf5-1.14.2.ebuild
index 3edb5153287a..0227cb48e398 100644
--- a/sci-libs/hdf5/hdf5-1.14.2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.2.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-12-16 Thread Arthur Zamarin
commit: 6155f72b016202fcc2031a15dd8c59483600709d
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Dec 16 11:58:07 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Dec 16 11:58:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6155f72b

sci-libs/hdf5: Stabilize 1.14.2 arm, #920131

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.2.ebuild b/sci-libs/hdf5/hdf5-1.14.2.ebuild
index 0227cb48e398..b47d4f7ba340 100644
--- a/sci-libs/hdf5/hdf5-1.14.2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.2.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+KEYWORDS="~alpha ~amd64 arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-08-17 Thread Sam James
commit: 0d819111ba8b645ffeeeae1edfc2a6117d20ccb4
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug 17 06:39:29 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug 17 07:00:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d819111

sci-libs/hdf5: add 1.14.2

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

 sci-libs/hdf5/Manifest   |   1 +
 sci-libs/hdf5/hdf5-1.14.2.ebuild | 115 +++
 2 files changed, 116 insertions(+)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index a387e4f253e8..f146f8d34066 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -1,3 +1,4 @@
 DIST hdf5-1.10.5.tar.bz2 8706317 BLAKE2B 
ac326be8fe4ccc4b0153f15bc7d65aa8f1adc2ae279d3980f57ed46722b754d3f36ecf1d6273c75e80ed1afd4bbf10c6b1c5d9408e1f83a4b2e397e7902a7d3c
 SHA512 
769e43b8672e26fe24ed68da0228c010d3d9bc950ca09f0bc60707911a2f26f2f8415c8abc8ec06e07667148d8cdb3b0c7b3e7860d9b19739629c5dfd5ce73d4
 DIST hdf5-1.12.2.tar.bz2 10494264 BLAKE2B 
99ca5b57f6f54fa044c909f0773de62b218c1f0ec3c011f88f3c227536dd719e77ddbe42d562b1214e8843e41d8fc56db499d7f122876fdd36ef31b235229cb7
 SHA512 
cbb4663570de76b11adb6bf62cfdb754371d31eeab04691479a5764a45207a9c1309665ab80f51c63a4b9b87354f9cbe6835cef506a9fd554d142c6d2bec21e5
 DIST hdf5-1.14.1.tar.bz2 16257319 BLAKE2B 
fbabbe2a61fca3f841d0206e3918390001ec1ec713696b69845eb6390595794a63740db9a7b48fd132814268e216d8fea6288cd23b04b2fa981058b557113e73
 SHA512 
b4dd3fca88547fdcbb2afcc22cb11bb45b7b15c3c01d9e11b7f060301a9d5c4995abb6cf27b0c4e748f1a7ca497a7f2d995ba00586f447fcd2fa537e0e16
+DIST hdf5-1.14.2.tar.bz2 16070491 BLAKE2B 
04acdc5352f7f0455bf6304ef07ddf51b99125bb585984bd3e27a521a784a6ad6723d64aa3b4179e4bd382334b7e68d06650404d7d4617a696d3f64917487dbc
 SHA512 
1e1bfdff50c2e0e172d399c2d5b79b9ad0c7c72b9b30c4849aad7c5656393e8cf2af788cdf62b51fbe596023483fbc7fa23fdebf37bfe3109dae7f0783ea590f

diff --git a/sci-libs/hdf5/hdf5-1.14.2.ebuild b/sci-libs/hdf5/hdf5-1.14.2.ebuild
new file mode 100644
index ..3edb5153287a
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.14.2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+
+# We've reverted *back* to autotools from CMake because of
+# https://github.com/HDFGroup/hdf5/issues/1814.
+inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix
+
+MY_P=${PN}-${PV/_p/-patch}
+MAJOR_P=${PN}-$(ver_cut 1-2)
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   !unsupported? (
+   cxx? ( !mpi ) mpi? ( !cxx )
+   threads? ( !cxx !mpi !fortran !hl )
+   )
+"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:= )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
+   "${FILESDIR}"/${PN}-1.12.2-no-strip-symbols.patch
+)
+
+pkg_setup() {
+   # Workaround for bug 285148
+   tc-export CXX CC AR
+
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+
+   export CC=mpicc
+   use fortran && export FC=mpif90
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_prepare() {
+   default
+
+   # Respect Gentoo examples directory
+   sed \
+   -e "s:hdf5_examples:doc/${PF}/examples:g" \
+   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
+   sed \
+   -e '/docdir/d' \
+   -i config/commence.am || die
+
+   if ! use examples; then
+   # bug #409091
+   sed -e '/^install:/ s/install-examples//' \
+   -i Makefile.am || die
+   fi
+
+   # Enable shared libs by default for h5cc config utility
+   sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" bin/h5cc.in || die
+   hprefixify m4/libtool.m4
+
+   eautoreconf
+}
+
+src_configure() {
+  

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

2023-07-08 Thread Benda XU
commit: 0434a221623ca664edd24efbfe28d9e0f6b7e86e
Author: Benda Xu  gentoo  org>
AuthorDate: Sat Jul  8 10:38:24 2023 +
Commit: Benda XU  gentoo  org>
CommitDate: Sat Jul  8 10:47:29 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0434a221

sci-libs/hdf5: keyword 1.14.1 for ~x64-macos

Signed-off-by: Benda Xu  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.1.ebuild b/sci-libs/hdf5/hdf5-1.14.1.ebuild
index dc0f170ecccb..32728bd51372 100644
--- a/sci-libs/hdf5/hdf5-1.14.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



[gentoo-commits] repo/gentoo:master commit in: sci-libs/hdf5/files/

2023-06-13 Thread Andrew Ammerlaan
commit: eed0d90c361035f9c51298398a0a1e9d0ec4cc68
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Jun 13 16:48:12 2023 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jun 13 19:48:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eed0d90c

sci-libs/hdf5: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/31426
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 .../hdf5/files/hdf5-1.14.0-fix-include-path.patch  | 34 --
 1 file changed, 34 deletions(-)

diff --git a/sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch 
b/sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch
deleted file mode 100644
index 4530f1fa6d2e..
--- a/sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-https://bugs.gentoo.org/904515
-https://github.com/HDFGroup/hdf5/issues/2422
-https://github.com/HDFGroup/hdf5/issues/2621
-https://github.com/HDFGroup/hdf5/pull/2667
-https://github.com/HDFGroup/hdf5/commit/b77cb393b884c1dbdaffb300aa8c4967d9ba7fb0
-
-From b77cb393b884c1dbdaffb300aa8c4967d9ba7fb0 Mon Sep 17 00:00:00 2001
-From: jhendersonHDF 
-Date: Tue, 11 Apr 2023 14:31:25 -0500
-Subject: [PATCH] Fix improper include of build directory (#2422, #2621)
- (#2667)
-
 a/configure.ac
-+++ b/configure.ac
-@@ -3012,8 +3012,7 @@ SUBFILING_VFD=no
- HAVE_MERCURY="no"
- 
- ## Always include subfiling directory so public header files are available
--CPPFLAGS="$CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
--AM_CPPFLAGS="$AM_CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
-+H5_CPPFLAGS="$H5_CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
- 
- AC_MSG_CHECKING([if the subfiling I/O virtual file driver (VFD) is enabled])
- 
-@@ -3061,8 +3060,7 @@ if test "X$SUBFILING_VFD" = "Xyes"; then
- mercury_dir="$ac_abs_confdir/src/H5FDsubfiling/mercury"
- mercury_inc="$mercury_dir/src/util"
- 
--CPPFLAGS="$CPPFLAGS -I$mercury_inc"
--AM_CPPFLAGS="$AM_CPPFLAGS -I$mercury_inc"
-+H5_CPPFLAGS="$H5_CPPFLAGS -I$mercury_inc"
- 
- HAVE_STDATOMIC_H="yes"
- AC_CHECK_HEADERS([stdatomic.h],,[HAVE_STDATOMIC_H="no"])



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

2023-06-10 Thread Sam James
commit: 3e17b7d337fd848fa13e2c505d51c153174cef6a
Author: Sam James  gentoo  org>
AuthorDate: Sat Jun 10 07:04:16 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jun 10 07:07:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e17b7d3

sci-libs/hdf5: drop 1.14.0-r1

Bug: https://bugs.gentoo.org/908156
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/Manifest  |   1 -
 sci-libs/hdf5/hdf5-1.14.0-r1.ebuild | 115 
 2 files changed, 116 deletions(-)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index e28fb3367874..a387e4f253e8 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -1,4 +1,3 @@
 DIST hdf5-1.10.5.tar.bz2 8706317 BLAKE2B 
ac326be8fe4ccc4b0153f15bc7d65aa8f1adc2ae279d3980f57ed46722b754d3f36ecf1d6273c75e80ed1afd4bbf10c6b1c5d9408e1f83a4b2e397e7902a7d3c
 SHA512 
769e43b8672e26fe24ed68da0228c010d3d9bc950ca09f0bc60707911a2f26f2f8415c8abc8ec06e07667148d8cdb3b0c7b3e7860d9b19739629c5dfd5ce73d4
 DIST hdf5-1.12.2.tar.bz2 10494264 BLAKE2B 
99ca5b57f6f54fa044c909f0773de62b218c1f0ec3c011f88f3c227536dd719e77ddbe42d562b1214e8843e41d8fc56db499d7f122876fdd36ef31b235229cb7
 SHA512 
cbb4663570de76b11adb6bf62cfdb754371d31eeab04691479a5764a45207a9c1309665ab80f51c63a4b9b87354f9cbe6835cef506a9fd554d142c6d2bec21e5
-DIST hdf5-1.14.0.tar.bz2 15709493 BLAKE2B 
c86bc91da66d0136870ef9a63edfb7b3591592b4ccc072d2c93ff1c6fa7de23184d0b2f49a6de76215541342c6021cda38816f9a3fae69c2c1fdc18d219ea24c
 SHA512 
25a147b60b1abe15950d66368b3c0b401e767425036b575bcb12aad46374b6db4687dc0816b5cfa103c24fd5078d91d70c7b19cfe0db327d3ff15811b651b8f8
 DIST hdf5-1.14.1.tar.bz2 16257319 BLAKE2B 
fbabbe2a61fca3f841d0206e3918390001ec1ec713696b69845eb6390595794a63740db9a7b48fd132814268e216d8fea6288cd23b04b2fa981058b557113e73
 SHA512 
b4dd3fca88547fdcbb2afcc22cb11bb45b7b15c3c01d9e11b7f060301a9d5c4995abb6cf27b0c4e748f1a7ca497a7f2d995ba00586f447fcd2fa537e0e16

diff --git a/sci-libs/hdf5/hdf5-1.14.0-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.0-r1.ebuild
deleted file mode 100644
index 7bc1dd2336e3..
--- a/sci-libs/hdf5/hdf5-1.14.0-r1.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-FORTRAN_NEEDED=fortran
-
-# We've reverted *back* to autotools from CMake because of
-# https://github.com/HDFGroup/hdf5/issues/1814.
-inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix
-
-MY_P=${PN}-${PV/_p/-patch}
-MAJOR_P=${PN}-$(ver_cut 1-2)
-
-DESCRIPTION="General purpose library and file format for storing scientific 
data"
-HOMEPAGE="https://www.hdfgroup.org/HDF5/";
-SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="NCSA-HDF"
-SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
-IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="
-   !unsupported? (
-   cxx? ( !mpi ) mpi? ( !cxx )
-   threads? ( !cxx !mpi !fortran !hl )
-   )
-"
-
-RDEPEND="
-   mpi? ( virtual/mpi[romio] )
-   szip? ( virtual/szip )
-   zlib? ( sys-libs/zlib:0= )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
-   "${FILESDIR}"/${PN}-1.12.2-no-strip-symbols.patch
-   "${FILESDIR}"/${PN}-1.14.0-fix-include-path.patch
-)
-
-pkg_setup() {
-   # Workaround for bug 285148
-   tc-export CXX CC AR
-
-   use fortran && fortran-2_pkg_setup
-
-   if use mpi; then
-   if has_version 'sci-libs/hdf5[-mpi]'; then
-   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
-   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
-   fi
-
-   export CC=mpicc
-   use fortran && export FC=mpif90
-   elif has_version 'sci-libs/hdf5[mpi]'; then
-   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
-   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
-   fi
-}
-
-src_prepare() {
-   default
-
-   # Respect Gentoo examples directory
-   sed \
-   -e "s:hdf5_examples:doc/${PF}/examples:g" \
-   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
-   sed \
-   -e '/docdir/d' \
-   -i config/commence.am || die
-
-   if ! use examples; then
-   # bug #409091
-   sed -e '/^install:/ s/install-examples//' \
-   -i Makefile.am || die
-   fi
-
-   # Enable shared libs by default for h5cc config utility
-   sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" bin/h5cc.in || d

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

2023-06-09 Thread Arthur Zamarin
commit: 421107218bb69e4e35c5b3d9c00f2f22588f79af
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 17:38:49 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 17:38:49 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42110721

sci-libs/hdf5: Stabilize 1.14.1 amd64, #908156

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.1.ebuild b/sci-libs/hdf5/hdf5-1.14.1.ebuild
index 96c305f48a55..1961ce8631e0 100644
--- a/sci-libs/hdf5/hdf5-1.14.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-06-09 Thread Arthur Zamarin
commit: f5bf3af6de9da160f19d9a4ec015d9ada650b418
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 15:27:08 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 15:27:08 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5bf3af6

sci-libs/hdf5: Stabilize 1.14.1 ppc64, #908156

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.1.ebuild b/sci-libs/hdf5/hdf5-1.14.1.ebuild
index ee22b82f3ed9..96c305f48a55 100644
--- a/sci-libs/hdf5/hdf5-1.14.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-06-09 Thread Arthur Zamarin
commit: 5548d7fb2ad9c3497211fadd4727d93d116d75b9
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 14:44:02 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 14:44:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5548d7fb

sci-libs/hdf5: Stabilize 1.14.1 sparc, #908156

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.1.ebuild b/sci-libs/hdf5/hdf5-1.14.1.ebuild
index 35979de2cc17..ee22b82f3ed9 100644
--- a/sci-libs/hdf5/hdf5-1.14.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-06-09 Thread Sam James
commit: a5c9947afe2d82eacc0e161aa711ae529a333e0b
Author: Sam James  gentoo  org>
AuthorDate: Fri Jun  9 14:30:12 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jun  9 14:30:12 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5c9947a

sci-libs/hdf5: Stabilize 1.14.1 arm, #908156

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

 sci-libs/hdf5/hdf5-1.14.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.1.ebuild b/sci-libs/hdf5/hdf5-1.14.1.ebuild
index 3b9a8404bbae..35979de2cc17 100644
--- a/sci-libs/hdf5/hdf5-1.14.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-06-09 Thread Arthur Zamarin
commit: ba4692d09b69b7df62baec06feed7bbb00ed7973
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Jun  9 14:21:53 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Jun  9 14:21:53 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba4692d0

sci-libs/hdf5: Stabilize 1.14.1 arm64, #908156

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.1.ebuild b/sci-libs/hdf5/hdf5-1.14.1.ebuild
index a71ecaa91a84..3b9a8404bbae 100644
--- a/sci-libs/hdf5/hdf5-1.14.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.1.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
 RESTRICT="!test? ( test )"
 REQUIRED_USE="



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

2023-05-10 Thread Sam James
commit: 2c465100b96a2ad8adedfecf3198aa7a2e65117e
Author: Sam James  gentoo  org>
AuthorDate: Wed May 10 18:48:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 10 18:48:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c465100

sci-libs/hdf5: add 1.14.1

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

 sci-libs/hdf5/Manifest   |   1 +
 sci-libs/hdf5/hdf5-1.14.1.ebuild | 115 +++
 2 files changed, 116 insertions(+)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index 026f6bd1bb2c..e28fb3367874 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -1,3 +1,4 @@
 DIST hdf5-1.10.5.tar.bz2 8706317 BLAKE2B 
ac326be8fe4ccc4b0153f15bc7d65aa8f1adc2ae279d3980f57ed46722b754d3f36ecf1d6273c75e80ed1afd4bbf10c6b1c5d9408e1f83a4b2e397e7902a7d3c
 SHA512 
769e43b8672e26fe24ed68da0228c010d3d9bc950ca09f0bc60707911a2f26f2f8415c8abc8ec06e07667148d8cdb3b0c7b3e7860d9b19739629c5dfd5ce73d4
 DIST hdf5-1.12.2.tar.bz2 10494264 BLAKE2B 
99ca5b57f6f54fa044c909f0773de62b218c1f0ec3c011f88f3c227536dd719e77ddbe42d562b1214e8843e41d8fc56db499d7f122876fdd36ef31b235229cb7
 SHA512 
cbb4663570de76b11adb6bf62cfdb754371d31eeab04691479a5764a45207a9c1309665ab80f51c63a4b9b87354f9cbe6835cef506a9fd554d142c6d2bec21e5
 DIST hdf5-1.14.0.tar.bz2 15709493 BLAKE2B 
c86bc91da66d0136870ef9a63edfb7b3591592b4ccc072d2c93ff1c6fa7de23184d0b2f49a6de76215541342c6021cda38816f9a3fae69c2c1fdc18d219ea24c
 SHA512 
25a147b60b1abe15950d66368b3c0b401e767425036b575bcb12aad46374b6db4687dc0816b5cfa103c24fd5078d91d70c7b19cfe0db327d3ff15811b651b8f8
+DIST hdf5-1.14.1.tar.bz2 16257319 BLAKE2B 
fbabbe2a61fca3f841d0206e3918390001ec1ec713696b69845eb6390595794a63740db9a7b48fd132814268e216d8fea6288cd23b04b2fa981058b557113e73
 SHA512 
b4dd3fca88547fdcbb2afcc22cb11bb45b7b15c3c01d9e11b7f060301a9d5c4995abb6cf27b0c4e748f1a7ca497a7f2d995ba00586f447fcd2fa537e0e16

diff --git a/sci-libs/hdf5/hdf5-1.14.1.ebuild b/sci-libs/hdf5/hdf5-1.14.1.ebuild
new file mode 100644
index ..a71ecaa91a84
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.14.1.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+
+# We've reverted *back* to autotools from CMake because of
+# https://github.com/HDFGroup/hdf5/issues/1814.
+inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix
+
+MY_P=${PN}-${PV/_p/-patch}
+MAJOR_P=${PN}-$(ver_cut 1-2)
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   !unsupported? (
+   cxx? ( !mpi ) mpi? ( !cxx )
+   threads? ( !cxx !mpi !fortran !hl )
+   )
+"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:= )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
+   "${FILESDIR}"/${PN}-1.12.2-no-strip-symbols.patch
+)
+
+pkg_setup() {
+   # Workaround for bug 285148
+   tc-export CXX CC AR
+
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+
+   export CC=mpicc
+   use fortran && export FC=mpif90
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_prepare() {
+   default
+
+   # Respect Gentoo examples directory
+   sed \
+   -e "s:hdf5_examples:doc/${PF}/examples:g" \
+   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
+   sed \
+   -e '/docdir/d' \
+   -i config/commence.am || die
+
+   if ! use examples; then
+   # bug #409091
+   sed -e '/^install:/ s/install-examples//' \
+   -i Makefile.am || die
+   fi
+
+   # Enable shared libs by default for h5cc config utility
+   sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" bin/h5cc.in || die
+   hprefixify m4/libtool.m4
+
+   eautoreconf
+}
+
+src_configure() {
+   # bug #686620
+   u

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

2023-04-23 Thread Sam James
commit: d1c29e6d710cb4af0032b73b5a98f0341e3bd9a7
Author: Sam James  gentoo  org>
AuthorDate: Sun Apr 23 21:21:51 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Apr 23 21:21:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1c29e6d

sci-libs/hdf5: fix install w/ USE=mpi

The 'perf' tool was dropped w/ 
https://github.com/HDFGroup/hdf5/commit/8c6a3ce1d7006a633a8973f6ca827c664d7a1ac9.

Closes: https://bugs.gentoo.org/904516
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.14.0-r1.ebuild | 5 -
 1 file changed, 5 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.14.0-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.14.0-r1.ebuild
index 8d4d4bf40680..7bc1dd2336e3 100644
--- a/sci-libs/hdf5/hdf5-1.14.0-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.0-r1.ebuild
@@ -112,9 +112,4 @@ src_install() {
 
# No static archives
find "${ED}" -name '*.la' -delete || die
-
-   # Remove "perf" executable due to file collisions with dev-util/perf.
-   # Previously with the CMake build system we only installed h5perf, so
-   # let's simply remove the file for now.
-   use mpi && { rm "${ED}"/usr/bin/perf || die "rm failed" ; }
 }



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

2023-04-20 Thread Sam James
commit: 995c8aefa871da5ad197b29b782ff9e2d1e46e83
Author: Sam James  gentoo  org>
AuthorDate: Thu Apr 20 19:34:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Apr 20 19:36:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=995c8aef

sci-libs/hdf5: fix installed CMake files (exclude temporary include dir for 
build)

Closes: https://bugs.gentoo.org/904515
Closes: https://bugs.gentoo.org/904691
Signed-off-by: Sam James  gentoo.org>

 .../hdf5/files/hdf5-1.14.0-fix-include-path.patch  | 34 ++
 .../{hdf5-1.14.0.ebuild => hdf5-1.14.0-r1.ebuild}  |  1 +
 2 files changed, 35 insertions(+)

diff --git a/sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch 
b/sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch
new file mode 100644
index ..4530f1fa6d2e
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.14.0-fix-include-path.patch
@@ -0,0 +1,34 @@
+https://bugs.gentoo.org/904515
+https://github.com/HDFGroup/hdf5/issues/2422
+https://github.com/HDFGroup/hdf5/issues/2621
+https://github.com/HDFGroup/hdf5/pull/2667
+https://github.com/HDFGroup/hdf5/commit/b77cb393b884c1dbdaffb300aa8c4967d9ba7fb0
+
+From b77cb393b884c1dbdaffb300aa8c4967d9ba7fb0 Mon Sep 17 00:00:00 2001
+From: jhendersonHDF 
+Date: Tue, 11 Apr 2023 14:31:25 -0500
+Subject: [PATCH] Fix improper include of build directory (#2422, #2621)
+ (#2667)
+
+--- a/configure.ac
 b/configure.ac
+@@ -3012,8 +3012,7 @@ SUBFILING_VFD=no
+ HAVE_MERCURY="no"
+ 
+ ## Always include subfiling directory so public header files are available
+-CPPFLAGS="$CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
+-AM_CPPFLAGS="$AM_CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
++H5_CPPFLAGS="$H5_CPPFLAGS -I$ac_abs_confdir/src/H5FDsubfiling"
+ 
+ AC_MSG_CHECKING([if the subfiling I/O virtual file driver (VFD) is enabled])
+ 
+@@ -3061,8 +3060,7 @@ if test "X$SUBFILING_VFD" = "Xyes"; then
+ mercury_dir="$ac_abs_confdir/src/H5FDsubfiling/mercury"
+ mercury_inc="$mercury_dir/src/util"
+ 
+-CPPFLAGS="$CPPFLAGS -I$mercury_inc"
+-AM_CPPFLAGS="$AM_CPPFLAGS -I$mercury_inc"
++H5_CPPFLAGS="$H5_CPPFLAGS -I$mercury_inc"
+ 
+ HAVE_STDATOMIC_H="yes"
+ AC_CHECK_HEADERS([stdatomic.h],,[HAVE_STDATOMIC_H="no"])

diff --git a/sci-libs/hdf5/hdf5-1.14.0.ebuild 
b/sci-libs/hdf5/hdf5-1.14.0-r1.ebuild
similarity index 98%
rename from sci-libs/hdf5/hdf5-1.14.0.ebuild
rename to sci-libs/hdf5/hdf5-1.14.0-r1.ebuild
index d69a56ff0f16..8d4d4bf40680 100644
--- a/sci-libs/hdf5/hdf5-1.14.0.ebuild
+++ b/sci-libs/hdf5/hdf5-1.14.0-r1.ebuild
@@ -38,6 +38,7 @@ DEPEND="${RDEPEND}"
 PATCHES=(
"${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
"${FILESDIR}"/${PN}-1.12.2-no-strip-symbols.patch
+   "${FILESDIR}"/${PN}-1.14.0-fix-include-path.patch
 )
 
 pkg_setup() {



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

2023-04-18 Thread Sam James
commit: 52ff075678f80c88a0e8f40dd8f31c843f2399f0
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 18 08:06:27 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 18 08:06:27 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52ff0756

sci-libs/hdf5: add 1.14.0

Closes: https://bugs.gentoo.org/863089
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/Manifest   |   1 +
 sci-libs/hdf5/hdf5-1.14.0.ebuild | 119 +++
 2 files changed, 120 insertions(+)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index 172f6d6a8029..026f6bd1bb2c 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -1,2 +1,3 @@
 DIST hdf5-1.10.5.tar.bz2 8706317 BLAKE2B 
ac326be8fe4ccc4b0153f15bc7d65aa8f1adc2ae279d3980f57ed46722b754d3f36ecf1d6273c75e80ed1afd4bbf10c6b1c5d9408e1f83a4b2e397e7902a7d3c
 SHA512 
769e43b8672e26fe24ed68da0228c010d3d9bc950ca09f0bc60707911a2f26f2f8415c8abc8ec06e07667148d8cdb3b0c7b3e7860d9b19739629c5dfd5ce73d4
 DIST hdf5-1.12.2.tar.bz2 10494264 BLAKE2B 
99ca5b57f6f54fa044c909f0773de62b218c1f0ec3c011f88f3c227536dd719e77ddbe42d562b1214e8843e41d8fc56db499d7f122876fdd36ef31b235229cb7
 SHA512 
cbb4663570de76b11adb6bf62cfdb754371d31eeab04691479a5764a45207a9c1309665ab80f51c63a4b9b87354f9cbe6835cef506a9fd554d142c6d2bec21e5
+DIST hdf5-1.14.0.tar.bz2 15709493 BLAKE2B 
c86bc91da66d0136870ef9a63edfb7b3591592b4ccc072d2c93ff1c6fa7de23184d0b2f49a6de76215541342c6021cda38816f9a3fae69c2c1fdc18d219ea24c
 SHA512 
25a147b60b1abe15950d66368b3c0b401e767425036b575bcb12aad46374b6db4687dc0816b5cfa103c24fd5078d91d70c7b19cfe0db327d3ff15811b651b8f8

diff --git a/sci-libs/hdf5/hdf5-1.14.0.ebuild b/sci-libs/hdf5/hdf5-1.14.0.ebuild
new file mode 100644
index ..d69a56ff0f16
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.14.0.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+
+# We've reverted *back* to autotools from CMake because of
+# https://github.com/HDFGroup/hdf5/issues/1814.
+inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix
+
+MY_P=${PN}-${PV/_p/-patch}
+MAJOR_P=${PN}-$(ver_cut 1-2)
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx debug examples fortran +hl mpi szip test threads unsupported zlib"
+RESTRICT="!test? ( test )"
+REQUIRED_USE="
+   !unsupported? (
+   cxx? ( !mpi ) mpi? ( !cxx )
+   threads? ( !cxx !mpi !fortran !hl )
+   )
+"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:0= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
+   "${FILESDIR}"/${PN}-1.12.2-no-strip-symbols.patch
+)
+
+pkg_setup() {
+   # Workaround for bug 285148
+   tc-export CXX CC AR
+
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+
+   export CC=mpicc
+   use fortran && export FC=mpif90
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_prepare() {
+   default
+
+   # Respect Gentoo examples directory
+   sed \
+   -e "s:hdf5_examples:doc/${PF}/examples:g" \
+   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
+   sed \
+   -e '/docdir/d' \
+   -i config/commence.am || die
+
+   if ! use examples; then
+   # bug #409091
+   sed -e '/^install:/ s/install-examples//' \
+   -i Makefile.am || die
+   fi
+
+   # Enable shared libs by default for h5cc config utility
+   sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" bin/h5cc.in || die
+   hprefixify m4/libtool.m4
+
+   eautoreconf
+}
+
+src_configure() {
+   # bug #686620
+   use sparc && tc-is-gcc && append-flags -fno-tree-ccp
+
+   econf \
+   --disable-static \
+   --enable-deprecated-symbols \
+   --enable-build-mode=$(usex debug debug production) \
+   
--with-default-plugindir="${EPREFIX}

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

2023-04-13 Thread Sam James
commit: 8763b1b03668dc7b0a681225b2013f216f4c
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 14 03:13:07 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 14 03:23:03 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8763b1b0

sci-libs/hdf5: fix configure w/ clang 16

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

 .../hdf5/files/hdf5-1.12.2-configure-clang16.patch | 30 ++
 ...hdf5-1.12.2-r5.ebuild => hdf5-1.12.2-r6.ebuild} |  1 +
 2 files changed, 31 insertions(+)

diff --git a/sci-libs/hdf5/files/hdf5-1.12.2-configure-clang16.patch 
b/sci-libs/hdf5/files/hdf5-1.12.2-configure-clang16.patch
new file mode 100644
index ..f341fa99ddac
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.12.2-configure-clang16.patch
@@ -0,0 +1,30 @@
+https://github.com/HDFGroup/hdf5/commit/9dd36f016a4316b94f5df15856d228de01d304c6
+
+From 9dd36f016a4316b94f5df15856d228de01d304c6 Mon Sep 17 00:00:00 2001
+From: Ryan Schmidt 
+Date: Thu, 17 Nov 2022 16:28:44 -0600
+Subject: [PATCH] Simplify & fix check for szlib encoder (#2263)
+
+Return the result rather than setting the exit code. "return" is a
+language keyword whereas "exit" is a function for which the 
+header has to be included which it wasn't in this test, therefore the
+test would previously fail to identify that the encoder was enabled if
+"-Werror=implicit-function-declaration" was used, which it is by default
+with clang from Xcode 12 and later.
+
+Fixes #2262
+--- a/configure.ac
 b/configure.ac
+@@ -1737,10 +1737,7 @@ if test "x$HAVE_SZLIB" = "xyes" -a "x$HAVE_SZLIB_H" = 
"xyes"; then
+ #include "szlib.h"
+ ],[[
+ /* SZ_encoder_enabled returns 1 if encoder is present */
+-if(SZ_encoder_enabled() == 1)
+-exit(0);
+-else
+-exit(1);
++return SZ_encoder_enabled() != 1;
+ ]])]
+ , [hdf5_cv_szlib_can_encode=yes], [hdf5_cv_szlib_can_encode=no],)]
+)
+

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r6.ebuild
similarity index 98%
rename from sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
rename to sci-libs/hdf5/hdf5-1.12.2-r6.ebuild
index c27c86b3a6eb..c723c3ad3dde 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r6.ebuild
@@ -38,6 +38,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
"${FILESDIR}"/${PN}-1.12.2-no-messing-ldpath.patch
"${FILESDIR}"/${PN}-1.12.2-no-strip-symbols.patch
+   "${FILESDIR}"/${PN}-1.12.2-configure-clang16.patch
 )
 
 pkg_setup() {



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

2023-03-30 Thread Arthur Zamarin
commit: df2e6f40a679eda1fd47be11c43e657d66578dfe
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Thu Mar 30 18:30:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Thu Mar 30 18:30:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df2e6f40

sci-libs/hdf5: Stabilize 1.12.2-r5 arm, #899460

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
index 3a7ce1c9a8d0..c27c86b3a6eb 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2023-03-04 Thread Arthur Zamarin
commit: 1e8e8aba6d67cb8181ddf3bee32be864e86d15b6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 11:02:14 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 11:02:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1e8e8aba

sci-libs/hdf5: Stabilize 1.12.2-r5 ppc, #899460

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
index d5f631700b15..3a7ce1c9a8d0 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2023-03-04 Thread Arthur Zamarin
commit: ff4c27fcfe5172fc5955faaba9feaad90f1cb9a0
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 09:55:20 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 09:55:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff4c27fc

sci-libs/hdf5: Stabilize 1.12.2-r5 amd64, #899460

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
index ccb76cc25f06..d5f631700b15 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2023-03-04 Thread Arthur Zamarin
commit: a37b8f61a32c52c1edd9564c9e98538c53124bfb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 08:54:07 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 08:54:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a37b8f61

sci-libs/hdf5: Stabilize 1.12.2-r5 sparc, #899460

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
index a3bd9cc974ea..ccb76cc25f06 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2023-03-03 Thread Arthur Zamarin
commit: 830e5f99987a43d31950823b3c5f38e18ab0594b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 07:40:00 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 07:40:00 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=830e5f99

sci-libs/hdf5: Stabilize 1.12.2-r5 ppc64, #899460

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
index fc80ab2c4b29..a3bd9cc974ea 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2023-03-03 Thread Arthur Zamarin
commit: 8f7809fb155ae7019ddb7e37ade06bea3f2261c7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 07:37:44 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 07:37:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f7809fb

sci-libs/hdf5: Stabilize 1.12.2-r5 x86, #899460

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
index 308391b45f2c..fc80ab2c4b29 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2023-03-03 Thread Arthur Zamarin
commit: a1ce7eb8c3722b0d806764a89ef3089ee16e7003
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 05:46:35 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 05:46:35 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1ce7eb8

sci-libs/hdf5: Stabilize 1.12.2-r5 arm64, #899460

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r5.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
index d3cb285ccfc0..308391b45f2c 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-12-05 Thread WANG Xuerui
commit: ab19b372bc791b95989ca04fc0ea7704fa8d1321
Author: WANG Xuerui  gentoo  org>
AuthorDate: Mon Dec  5 08:48:04 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Mon Dec  5 09:29:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab19b372

sci-libs/hdf5: keyword 1.12.2-r5 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
index 9e9c9c1af629..d3cb285ccfc0 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-08-17 Thread Benda XU
commit: 0bb35865c3e8124957bb6919e22abf792ebc9253
Author: Benda Xu  gentoo  org>
AuthorDate: Thu Aug 18 04:16:23 2022 +
Commit: Benda XU  gentoo  org>
CommitDate: Thu Aug 18 04:17:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0bb35865

sci-libs/hdf5: reapply 1.12.2-r2 fix to autotools based ebuild.

Commit 8e16e7412dd38185db203d70732a06fd81b5fe95 introduced standard
hdf5 plugins directory for Gentoo.  This commit reapplies it after
switching back from cmake to autotools.

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Benda Xu  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r5.ebuild | 118 
 1 file changed, 118 insertions(+)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
new file mode 100644
index ..9e9c9c1af629
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.12.2-r5.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+
+# We've reverted *back* to autotools from CMake because of
+# https://github.com/HDFGroup/hdf5/issues/1814.
+inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix
+
+MY_P=${PN}-${PV/_p/-patch}
+MAJOR_P=${PN}-$(ver_cut 1-2)
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
+REQUIRED_USE="
+   !unsupported? (
+   cxx? ( !mpi ) mpi? ( !cxx )
+   threads? ( !cxx !mpi !fortran !hl )
+   )
+"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:0= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
+   "${FILESDIR}"/${PN}-1.12.2-no-messing-ldpath.patch
+   "${FILESDIR}"/${PN}-1.12.2-no-strip-symbols.patch
+)
+
+pkg_setup() {
+   # Workaround for bug 285148
+   tc-export CXX CC AR
+
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+
+   export CC=mpicc
+   use fortran && export FC=mpif90
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_prepare() {
+   default
+
+   # Respect Gentoo examples directory
+   sed \
+   -e "s:hdf5_examples:doc/${PF}/examples:g" \
+   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
+   sed \
+   -e '/docdir/d' \
+   -i config/commence.am || die
+
+   if ! use examples; then
+   # bug #409091
+   sed -e '/^install:/ s/install-examples//' \
+   -i Makefile.am || die
+   fi
+
+   # Enable shared libs by default for h5cc config utility
+   sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" bin/h5cc.in || die
+   hprefixify m4/libtool.m4
+
+   eautoreconf
+}
+
+src_configure() {
+   # bug #686620
+   use sparc && tc-is-gcc && append-flags -fno-tree-ccp
+
+   econf \
+   --disable-static \
+   --enable-deprecated-symbols \
+   --enable-build-mode=$(usex debug debug production) \
+   
--with-default-plugindir="${EPREFIX}/usr/$(get_libdir)/${PN}/plugin" \
+   $(use_enable cxx) \
+   $(use_enable debug codestack) \
+   $(use_enable fortran) \
+   $(use_enable hl) \
+   $(use_enable mpi parallel) \
+   $(use_enable threads threadsafe) \
+   $(use_enable unsupported) \
+   $(use_with szip szlib) \
+   $(use_with threads pthread) \
+   $(use_with zlib)
+}
+
+src_install() {
+   emake DESTDIR="${D}" EPREFIX="${EPREFIX}" install
+
+   # No static archives
+   find "${ED}" -name '*.la' -delete || die
+
+   # Remove "perf" executable due to file collisions with dev-util/perf.
+   # Previously with the CMake build system we only installed h5perf, so
+   # let's simply remove the file for now.
+   use mpi && { rm "${ED}"/usr/bin/perf || die "rm failed" ; }
+}



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

2022-07-31 Thread Agostino Sarubbo
commit: d72de3540aa3d158cf2747f26a27fd50d4fc3184
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 31 11:12:48 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 31 11:12:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d72de354

sci-libs/hdf5: x86 stable wrt bug #862399

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index e22952e665c1..7ef23c173f17 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-07-31 Thread Agostino Sarubbo
commit: f29072fc9033cc8e00570c77f6e60d93e061e998
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 31 11:11:02 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 31 11:11:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f29072fc

sci-libs/hdf5: sparc stable wrt bug #862399

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index b5afdeb2011d..e22952e665c1 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-07-31 Thread Agostino Sarubbo
commit: c704f9a1fda02afd06a784415c5d257263989c92
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 31 11:10:04 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 31 11:10:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c704f9a1

sci-libs/hdf5: ppc64 stable wrt bug #862399

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index 83ab393d6404..b5afdeb2011d 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-07-31 Thread Agostino Sarubbo
commit: e01b81c692d26f36f50b071a1dc824d55956685b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 31 11:08:56 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 31 11:08:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e01b81c6

sci-libs/hdf5: ppc stable wrt bug #862399

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index 4577643b5ecf..83ab393d6404 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-07-31 Thread Agostino Sarubbo
commit: f1ab6e34a22d504d3da6c25d4da29a158cfcc2c5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 31 11:07:46 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 31 11:07:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1ab6e34

sci-libs/hdf5: arm64 stable wrt bug #862399

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index ab3880da4afd..4577643b5ecf 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-07-31 Thread Agostino Sarubbo
commit: 504bcc30063a337c15a76f1d1cdaace9d3dce427
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sun Jul 31 11:06:19 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sun Jul 31 11:06:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=504bcc30

sci-libs/hdf5: arm stable wrt bug #862399

Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index d59647b8da21..ab3880da4afd 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-07-31 Thread Sam James
commit: c5e8ac854639334e0fe9dd5429b296002b8eb574
Author: Sam James  gentoo  org>
AuthorDate: Sun Jul 31 08:26:12 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jul 31 08:26:12 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5e8ac85

sci-libs/hdf5: Stabilize 1.12.2-r4 amd64, #862399

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

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index 8937bdbf54c0..d59647b8da21 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-07-28 Thread Sam James
commit: 0d3b1326f2550b822959861d527a1b376685efa2
Author: Sam James  gentoo  org>
AuthorDate: Fri Jul 29 02:32:38 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jul 29 02:32:49 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d3b1326

sci-libs/hdf5: add github upstream metadata

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

 sci-libs/hdf5/metadata.xml | 33 ++---
 1 file changed, 18 insertions(+), 15 deletions(-)

diff --git a/sci-libs/hdf5/metadata.xml b/sci-libs/hdf5/metadata.xml
index 042059bcd497..8f7b63aa4610 100644
--- a/sci-libs/hdf5/metadata.xml
+++ b/sci-libs/hdf5/metadata.xml
@@ -1,19 +1,22 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-s...@gentoo.org
-Gentoo Science Project
-  
-  
-HDF5 is a file format and library for storing scientific data. HDF5
-was designed and implemented to address the deficiencies of HDF4.x. It
-has a more powerful and flexible data model, supports files larger
-than 2 GB, and supports parallel I/O.
-  
-  
-Enable high level API 
(https://support.hdfgroup.org/HDF5/doc/HL/index.html)
-Enable support for read-only S3 access 
(https://portal.hdfgroup.org/display/HDF5/Configuration+and+Setup+for+HDF5+Read+Only+S3+VFD)
-Enable unsupported combinations of configuration 
options
-  
+   
+   s...@gentoo.org
+   Gentoo Science Project
+   
+   
+   HDF5 is a file format and library for storing scientific data. HDF5
+   was designed and implemented to address the deficiencies of HDF4.x. It
+   has a more powerful and flexible data model, supports files larger
+   than 2 GB, and supports parallel I/O.
+   
+   
+   Enable high level API 
(https://support.hdfgroup.org/HDF5/doc/HL/index.html)
+   Enable support for read-only S3 access 
(https://portal.hdfgroup.org/display/HDF5/Configuration+and+Setup+for+HDF5+Read+Only+S3+VFD)
+   Enable unsupported combinations of 
configuration options
+   
+   
+   HDFGroup/hdf5
+   
 



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

2022-07-26 Thread Sam James
commit: d92dd9437e2356a0d5aa7b81ba577ad3e014f939
Author: Sam James  gentoo  org>
AuthorDate: Wed Jul 27 05:27:53 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jul 27 05:27:53 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d92dd943

sci-libs/hdf5: forward ~hppa ~s390

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

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index 1de5129ca19f..8937bdbf54c0 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
!unsupported? (



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

2022-07-05 Thread Andrew Ammerlaan
commit: 562492fc8343d50a294f431fb569464afc6141df
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue Jul  5 16:35:13 2022 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Tue Jul  5 16:42:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=562492fc

sci-libs/hdf5: add missing ? to REQUIRED_USE

Signed-off-by: Alessandro Barbieri  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26233
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index 0011fbfc0dc2..1de5129ca19f 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -22,7 +22,7 @@ SLOT="0/${PV%%_p*}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
-   !unsupported (
+   !unsupported? (
cxx? ( !mpi ) mpi? ( !cxx )
threads? ( !cxx !mpi !fortran !hl )
)



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

2022-06-30 Thread Sam James
commit: 82008daa4cb141f276cc07f97e021500a79bdb4e
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Tue Jun 28 21:53:33 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun 30 21:46:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82008daa

sci-libs/hdf5: readd unsupported useflag

Signed-off-by: Alessandro Barbieri  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26125
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 10 +++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index 7cb1b8716025..0011fbfc0dc2 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -20,10 +20,13 @@ S="${WORKDIR}/${MY_P}"
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
-IUSE="cxx debug examples fortran +hl mpi szip threads zlib"
+IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 REQUIRED_USE="
-   cxx? ( !mpi ) mpi? ( !cxx )
-   threads? ( !cxx !mpi !fortran !hl )"
+   !unsupported (
+   cxx? ( !mpi ) mpi? ( !cxx )
+   threads? ( !cxx !mpi !fortran !hl )
+   )
+"
 
 RDEPEND="
mpi? ( virtual/mpi[romio] )
@@ -95,6 +98,7 @@ src_configure() {
$(use_enable hl) \
$(use_enable mpi parallel) \
$(use_enable threads threadsafe) \
+   $(use_enable unsupported) \
$(use_with szip szlib) \
$(use_with threads pthread) \
$(use_with zlib)



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

2022-06-25 Thread Matthias Maier
commit: dba1fa4e440b7af90548efbc1d618436f9f96b99
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jun 25 23:11:23 2022 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Jun 25 23:14:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dba1fa4e

sci-libs/hdf5: attempt to delete perf binary only when USE=mpi

Closes: https://bugs.gentoo.org/854183
Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index dc668a1d721d..7cb1b8716025 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -109,5 +109,5 @@ src_install() {
# Remove "perf" executable due to file collisions with dev-util/perf.
# Previously with the CMake build system we only installed h5perf, so
# let's simply remove the file for now.
-   rm "${ED}"/usr/bin/perf || die "rm failed"
+   use mpi && { rm "${ED}"/usr/bin/perf || die "rm failed" ; }
 }



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

2022-06-25 Thread Matthias Maier
commit: 2a3fd2e98a3702dafbc0c0b7f1f8d7aa44fcbe70
Author: Matthias Maier  gentoo  org>
AuthorDate: Sat Jun 25 07:25:25 2022 +
Commit: Matthias Maier  gentoo  org>
CommitDate: Sat Jun 25 07:31:19 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a3fd2e9

sci-libs/hdf5: remove "perf" executable

Closes: https://bugs.gentoo.org/854180
Signed-off-by: Matthias Maier  gentoo.org>

 sci-libs/hdf5/{hdf5-1.12.2-r3.ebuild => hdf5-1.12.2-r4.ebuild} | 5 +
 1 file changed, 5 insertions(+)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r3.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
similarity index 92%
rename from sci-libs/hdf5/hdf5-1.12.2-r3.ebuild
rename to sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
index 1a00c0b61e8b..dc668a1d721d 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r3.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r4.ebuild
@@ -105,4 +105,9 @@ src_install() {
 
# No static archives
find "${ED}" -name '*.la' -delete || die
+
+   # Remove "perf" executable due to file collisions with dev-util/perf.
+   # Previously with the CMake build system we only installed h5perf, so
+   # let's simply remove the file for now.
+   rm "${ED}"/usr/bin/perf || die "rm failed"
 }



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

2022-06-21 Thread Sam James
commit: 190df0ab054369a109eaa566e2503213ecb0e326
Author: Sam James  gentoo  org>
AuthorDate: Tue Jun 21 19:33:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jun 21 19:34:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=190df0ab

sci-libs/hdf5: update EAPI 7 -> 8; drop back to autotools

Bug: https://github.com/HDFGroup/hdf5/issues/1814
Closes: https://bugs.gentoo.org/665378
Signed-off-by: Sam James  gentoo.org>

 .../hdf5/files/hdf5-1.12.2-no-messing-ldpath.patch |  20 
 .../hdf5/files/hdf5-1.12.2-no-strip-symbols.patch  |  16 +++
 sci-libs/hdf5/hdf5-1.12.2-r3.ebuild| 108 +
 3 files changed, 144 insertions(+)

diff --git a/sci-libs/hdf5/files/hdf5-1.12.2-no-messing-ldpath.patch 
b/sci-libs/hdf5/files/hdf5-1.12.2-no-messing-ldpath.patch
new file mode 100644
index ..b8585fc647f6
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.12.2-no-messing-ldpath.patch
@@ -0,0 +1,20 @@
+--- a/src/Makefile.am
 b/src/Makefile.am
+@@ -159,8 +159,6 @@ settings_DATA=libhdf5.settings
+ # Remove the generated .c file if errors occur unless HDF5_Make_Ignore
+ # is set to ignore the error.
+ H5Tinit.c: H5detect$(EXEEXT)
+-  LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) |  \
+-  sed -e 's/-L/:/g' -e 's/ //g'`"   \
+   $(RUNSERIAL) ./H5detect$(EXEEXT)  $@  ||   \
+   (test $$HDF5_Make_Ignore && echo "*** Error ignored") ||  \
+   ($(RM) $@ ; exit 1)
+@@ -171,8 +169,6 @@ H5Tinit.c: H5detect$(EXEEXT)
+ # Remove the generated .c file if errors occur unless HDF5_Make_Ignore
+ # is set to ignore the error.
+ H5lib_settings.c: H5make_libsettings$(EXEEXT) libhdf5.settings
+-  LD_LIBRARY_PATH="$$LD_LIBRARY_PATH`echo $(LDFLAGS) |  \
+-  sed -e 's/-L/:/g' -e 's/ //g'`"   \
+   $(RUNSERIAL) ./H5make_libsettings$(EXEEXT)  $@  ||  
 \
+   (test $$HDF5_Make_Ignore && echo "*** Error ignored") ||  \
+   ($(RM) $@ ; exit 1)

diff --git a/sci-libs/hdf5/files/hdf5-1.12.2-no-strip-symbols.patch 
b/sci-libs/hdf5/files/hdf5-1.12.2-no-strip-symbols.patch
new file mode 100644
index ..0f3bf3981fa7
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.12.2-no-strip-symbols.patch
@@ -0,0 +1,16 @@
+https://bugs.gentoo.org/665378
+--- a/configure.ac
 b/configure.ac
+@@ -2368,9 +2368,9 @@ case "X-$SYMBOLS" in
+ AC_MSG_RESULT([yes])
+ ;;
+   X-no)
+-H5_CFLAGS="$H5_CFLAGS $NO_SYMBOLS_CFLAGS"
+-H5_CXXFLAGS="$H5_CXXFLAGS $NO_SYMBOLS_CXXFLAGS"
+-H5_FCFLAGS="$H5_FCFLAGS $NO_SYMBOLS_FCFLAGS"
++H5_CFLAGS="$H5_CFLAGS"
++H5_CXXFLAGS="$H5_CXXFLAGS"
++H5_FCFLAGS="$H5_FCFLAGS"
+ AC_MSG_RESULT([no])
+ ;;
+   *)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r3.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r3.ebuild
new file mode 100644
index ..1a00c0b61e8b
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.12.2-r3.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+FORTRAN_NEEDED=fortran
+
+# We've reverted *back* to autotools from CMake because of
+# https://github.com/HDFGroup/hdf5/issues/1814.
+inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix
+
+MY_P=${PN}-${PV/_p/-patch}
+MAJOR_P=${PN}-$(ver_cut 1-2)
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="cxx debug examples fortran +hl mpi szip threads zlib"
+REQUIRED_USE="
+   cxx? ( !mpi ) mpi? ( !cxx )
+   threads? ( !cxx !mpi !fortran !hl )"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:0= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
+   "${FILESDIR}"/${PN}-1.12.2-no-messing-ldpath.patch
+   "${FILESDIR}"/${PN}-1.12.2-no-strip-symbols.patch
+)
+
+pkg_setup() {
+   # Workaround for bug 285148
+   tc-export CXX CC AR
+
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+
+   export CC=mpicc
+   use fortran && export FC=mpif90
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while h

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

2022-06-13 Thread Jakov Smolić
commit: ffd316a1f7e07ca4ed410af3cbc170b9d3a70882
Author: Jakov Smolić  gentoo  org>
AuthorDate: Tue Jun 14 05:54:48 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Tue Jun 14 05:54:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffd316a1

sci-libs/hdf5: Stabilize 1.12.2-r2 x86, #851471

Signed-off-by: Jakov Smolić  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
index ca88f428c005..12d13c181a04 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported 
zlib"
 
 REQUIRED_USE="



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

2022-06-13 Thread Agostino Sarubbo
commit: 070fe2e3f5ea7a4efb566134058907acc2295770
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 13 07:13:07 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 13 07:13:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=070fe2e3

sci-libs/hdf5: sparc stable wrt bug #851471

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
index 794e906e3c46..ca88f428c005 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc ~x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported 
zlib"
 
 REQUIRED_USE="



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

2022-06-13 Thread Agostino Sarubbo
commit: f733e366b340048a5cc12f3277d2be21850f7609
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 13 07:12:15 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 13 07:12:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f733e366

sci-libs/hdf5: ppc64 stable wrt bug #851471

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
index ac2f8daa276c..794e906e3c46 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported 
zlib"
 
 REQUIRED_USE="



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

2022-06-13 Thread Agostino Sarubbo
commit: 61d19af9d0aff16671551aaf87b4228e8e663a46
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 13 07:11:28 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 13 07:11:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61d19af9

sci-libs/hdf5: ppc stable wrt bug #851471

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
index 3b9a50f22f4c..ac2f8daa276c 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported 
zlib"
 
 REQUIRED_USE="



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

2022-06-13 Thread Agostino Sarubbo
commit: 7a687a338ea2b1e16f69e5337d7ac6c672cfe22a
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 13 07:10:40 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 13 07:10:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a687a33

sci-libs/hdf5: arm64 stable wrt bug #851471

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
index e9e4b9d62539..3b9a50f22f4c 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported 
zlib"
 
 REQUIRED_USE="



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

2022-06-13 Thread Agostino Sarubbo
commit: 2c9efb7806e295e25e76b7c816b073c27a64deb5
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 13 07:09:14 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 13 07:09:14 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c9efb78

sci-libs/hdf5: arm stable wrt bug #851471

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="arm"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
index 66aee284cf1e..e9e4b9d62539 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported 
zlib"
 
 REQUIRED_USE="



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

2022-06-13 Thread Agostino Sarubbo
commit: f7bca54e8e2a6247404549be923f27311583c392
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Jun 13 07:04:40 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Jun 13 07:04:40 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f7bca54e

sci-libs/hdf5: amd64 stable wrt bug #851471

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
index 4e56ecf546b4..66aee284cf1e 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported 
zlib"
 
 REQUIRED_USE="



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

2022-06-09 Thread Sam James
commit: 4c2974e4fd358ff90a55a890bf08f47d5a4e2b71
Author: Sam James  gentoo  org>
AuthorDate: Thu Jun  9 08:01:44 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  9 08:01:44 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c2974e4

sci-libs/hdf5: forward ~s390

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

 sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
index 28a642abad7d..4e56ecf546b4 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported 
zlib"
 
 REQUIRED_USE="



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

2022-06-09 Thread Sam James
commit: 8e16e7412dd38185db203d70732a06fd81b5fe95
Author: Berrysoft  hotmail  com>
AuthorDate: Wed Jun  8 16:55:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Jun  9 07:59:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e16e741

sci-libs/hdf5: Set H5_DEFAULT_PLUGINDIR.

HDF5 sets is default plugin dir to /usr/local/hdf5/lib/plugin. It is
reasonable in most cases, but not very well for Gentoo.

In Gentoo, the lib directory is not always `lib`, and the prefix is not
always `/`. Therefore, it is more reasonable to set the default dir under
${EPREFIX}, and change `lib` to the right lib dir name.

Signed-off-by: Yuyi Wang  hotmail.com>
Closes: https://github.com/gentoo/gentoo/pull/25814
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r2.ebuild | 125 
 1 file changed, 125 insertions(+)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
new file mode 100644
index ..28a642abad7d
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.12.2-r2.ebuild
@@ -0,0 +1,125 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+FORTRAN_NEEDED="fortran"
+
+inherit cmake flag-o-matic fortran-2 toolchain-funcs
+
+MY_P="${PN}-${PV/_p/-patch}"
+MAJOR_P="${PN}-$(ver_cut 1-2)"
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="cxx debug doc examples fortran +hl mpi szip test threads unsupported 
zlib"
+
+REQUIRED_USE="
+   !unsupported? (
+   mpi? ( !cxx !threads )
+   threads? ( !cxx !fortran !hl )
+   )"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:0= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? (
+   app-doc/doxygen
+   virtual/latex-base
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.12.2-cmake_installdirs.patch
+)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+   export CC="mpicc"
+   use fortran && export FC="mpif90"
+   append-libs -lmpi
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_configure() {
+   use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
+   local mycmakeargs=(
+   # Workaround needed to allow build with USE=fortran when an 
older
+   # version is installed. See bug #808633 and
+   # https://github.com/HDFGroup/hdf5/issues/1027 upstream.
+   -DCMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE=ON
+   -DBUILD_STATIC_LIBS=OFF
+   -DONLY_SHARED_LIBS=ON
+   -DFETCHCONTENT_FULLY_DISCONNECTED=ON
+   -DHDF5_BUILD_EXAMPLES=OFF
+   
-DH5_DEFAULT_PLUGINDIR="${EPREFIX}/usr/$(get_libdir)/hdf5/plugin"
+   -DALLOW_UNSUPPORTED=$(usex unsupported)
+   -DBUILD_TESTING=$(usex test)
+   -DHDF5_BUILD_CPP_LIB=$(usex cxx)
+   -DHDF5_BUILD_DOC=$(usex doc)
+   -DHDF5_BUILD_FORTRAN=$(usex fortran)
+   -DHDF5_BUILD_HL_LIB=$(usex hl)
+   -DHDF5_ENABLE_CODESTACK=$(usex debug)
+   -DHDF5_ENABLE_PARALLEL=$(usex mpi)
+   -DHDF5_ENABLE_SZIP_ENCODING=$(usex szip)
+   -DHDF5_ENABLE_SZIP_SUPPORT=$(usex szip)
+   -DHDF5_ENABLE_THREADSAFE=$(usex threads)
+   -DHDF5_ENABLE_Z_LIB_SUPPORT=$(usex zlib)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   # TODO: generate functioning example runners from their respective
+   # .in files - as of version 1.12.1 upstream only has it implemented
+   # for autoconf.
+   if use examples; then
+   # These are all useless outside the source tree
+   rm -f 
{examples,c++/examples,fortran/examples}/{Makefile*,CMake*}
+   rm -f 
hl/{examples,c++/examples,fortran/examples}/{Makefile*,CMake*}
+
+   dodoc -r examples
+   if use cxx; then
+   docinto 

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

2022-05-31 Thread Sam James
commit: 7b5147d4ad8bb8149453c743042e87756d5e11e4
Author: Roman Beranek  prusa3d  com>
AuthorDate: Tue May 31 23:02:59 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May 31 23:43:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5147d4

sci-libs/hdf5: fix cmake include dir regression

An attempt to build hdf5-1.12.2-r1 with USE='fortran' on a system where
an older version of the package has already been installed will fail due
to system headers taking precedence over the ones present in the source
directory.

This exact issue (#808633) has already been fixed in 225b7ee for 1.12.1,
though the workaround somehow hadn't made it into the new ebuild. This
commit brings it in.

Bug: HDFGroup/hdf5#1027
Closes: https://bugs.gentoo.org/808633
Signed-off-by: Roman Beranek  prusa3d.com>
Closes: https://github.com/gentoo/gentoo/pull/25712
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.2-r1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
index d5390cee5762..325f24396b29 100644
--- a/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
@@ -64,6 +64,10 @@ pkg_setup() {
 src_configure() {
use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
local mycmakeargs=(
+   # Workaround needed to allow build with USE=fortran when an 
older
+   # version is installed. See bug #808633 and
+   # https://github.com/HDFGroup/hdf5/issues/1027 upstream.
+   -DCMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE=ON
-DBUILD_STATIC_LIBS=OFF
-DONLY_SHARED_LIBS=ON
-DFETCHCONTENT_FULLY_DISCONNECTED=ON



[gentoo-commits] repo/gentoo:master commit in: sci-libs/hdf5/files/

2022-05-02 Thread Sam James
commit: 5dc5ca1f7ee5908d7d5e49814d154ce59848add9
Author: Sam James  gentoo  org>
AuthorDate: Tue May  3 02:35:26 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  3 02:35:26 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dc5ca1f

sci-libs/hdf5: add link to upstream PR for patch

Bug: https://github.com/HDFGroup/hdf5/pull/1716
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch 
b/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch
index 8218f31aea66..6ea7520c0f13 100644
--- a/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch
+++ b/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch
@@ -1,3 +1,4 @@
+https://github.com/HDFGroup/hdf5/pull/1716
 --- a/CMakeLists.txt
 +++ b/CMakeLists.txt
 @@ -46,6 +46,13 @@ if (CMAKE_VERSION VERSION_LESS "3.14.0")



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

2022-05-02 Thread Sam James
commit: 78267a0516b2712775242cfa3da73c9b31d77584
Author: Sam James  gentoo  org>
AuthorDate: Tue May  3 02:30:32 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  3 02:30:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78267a05

sci-libs/hdf5: drop static libs in 1.12.2

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

 sci-libs/hdf5/{hdf5-1.12.2.ebuild => hdf5-1.12.2-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-libs/hdf5/hdf5-1.12.2.ebuild 
b/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
similarity index 99%
rename from sci-libs/hdf5/hdf5-1.12.2.ebuild
rename to sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
index 76d54a46d435..d5390cee5762 100644
--- a/sci-libs/hdf5/hdf5-1.12.2.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.2-r1.ebuild
@@ -65,6 +65,7 @@ src_configure() {
use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
local mycmakeargs=(
-DBUILD_STATIC_LIBS=OFF
+   -DONLY_SHARED_LIBS=ON
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
-DHDF5_BUILD_EXAMPLES=OFF
-DALLOW_UNSUPPORTED=$(usex unsupported)



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

2022-05-02 Thread Sam James
commit: 9acdbbd4c8debd771ac4a6e39c1073551f7ce43f
Author: Sam James  gentoo  org>
AuthorDate: Tue May  3 02:27:07 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  3 02:27:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9acdbbd4

sci-libs/hdf5: add 1.12.2

Lots of correctness and sanitizer fixes in .2 so possibly helps
with the sparc bug (although we've applied a workaround now anyway).

Bug: https://bugs.gentoo.org/686620
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/Manifest |   1 +
 .../hdf5/files/hdf5-1.12.2-cmake_installdirs.patch | 163 +
 sci-libs/hdf5/hdf5-1.12.2.ebuild   | 119 +++
 3 files changed, 283 insertions(+)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index bd0243d24944..54270f9e0c89 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -1,2 +1,3 @@
 DIST hdf5-1.10.5.tar.bz2 8706317 BLAKE2B 
ac326be8fe4ccc4b0153f15bc7d65aa8f1adc2ae279d3980f57ed46722b754d3f36ecf1d6273c75e80ed1afd4bbf10c6b1c5d9408e1f83a4b2e397e7902a7d3c
 SHA512 
769e43b8672e26fe24ed68da0228c010d3d9bc950ca09f0bc60707911a2f26f2f8415c8abc8ec06e07667148d8cdb3b0c7b3e7860d9b19739629c5dfd5ce73d4
 DIST hdf5-1.12.1.tar.bz2 9724309 BLAKE2B 
cc75ba497188b33972218d02a7601acad1a0443bdb934ecd1641ef5996076fe120e3b72dba3a99d99f919fb4e478d1e531414448de9a7b97a0afde58a4c7c23f
 SHA512 
158a067ee284ccb9e2c4db12e9d37cf187d90d9ef1bed7a6303e2c3a2fd216d7b13a46c5f46018b097511281c4246156b6f917633ca88872f10f0ad04be285fd
+DIST hdf5-1.12.2.tar.bz2 10494264 BLAKE2B 
99ca5b57f6f54fa044c909f0773de62b218c1f0ec3c011f88f3c227536dd719e77ddbe42d562b1214e8843e41d8fc56db499d7f122876fdd36ef31b235229cb7
 SHA512 
cbb4663570de76b11adb6bf62cfdb754371d31eeab04691479a5764a45207a9c1309665ab80f51c63a4b9b87354f9cbe6835cef506a9fd554d142c6d2bec21e5

diff --git a/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch 
b/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch
new file mode 100644
index ..8218f31aea66
--- /dev/null
+++ b/sci-libs/hdf5/files/hdf5-1.12.2-cmake_installdirs.patch
@@ -0,0 +1,163 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -46,6 +46,13 @@ if (CMAKE_VERSION VERSION_LESS "3.14.0")
+   endif()
+ endif ()
+ 
++include (GNUInstallDirs)
++set (HDF5_INSTALL_BIN_DIR "${CMAKE_INSTALL_FULL_BINDIR}")
++set (HDF5_INSTALL_DATA_DIR "${CMAKE_INSTALL_FULL_DATADIR}")
++set (HDF5_INSTALL_DOC_DIR "${CMAKE_INSTALL_FULL_DOCDIR}")
++set (HDF5_INSTALL_INCLUDE_DIR "${CMAKE_INSTALL_FULL_INCLUDEDIR}")
++set (HDF5_INSTALL_LIB_DIR "${CMAKE_INSTALL_FULL_LIBDIR}")
++
+ #-
+ # Instructions for use : Sub-Project Build
+ #
+--- a/c++/src/CMakeLists.txt
 b/c++/src/CMakeLists.txt
+@@ -173,8 +173,8 @@ endif ()
+ #-
+ set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX})
+ set (_PKG_CONFIG_EXEC_PREFIX \${prefix})
+-set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib)
+-set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include)
++set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR})
++set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR})
+ set (_PKG_CONFIG_LIBNAME "${HDF5_CPP_LIB_CORENAME}")
+ set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}")
+ 
+--- a/doxygen/CMakeLists.txt
 b/doxygen/CMakeLists.txt
+@@ -36,7 +36,7 @@ if (DOXYGEN_FOUND)
+ 
+   install (
+   DIRECTORY ${HDF5_BINARY_DIR}/hdf5lib_docs/html
+-  DESTINATION ${HDF5_INSTALL_DATA_DIR}
++  DESTINATION ${HDF5_INSTALL_DOC_DIR}
+   COMPONENT Documents
+   )
+ 
+--- a/fortran/src/CMakeLists.txt
 b/fortran/src/CMakeLists.txt
+@@ -537,8 +537,8 @@ endif ()
+ #-
+ set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX})
+ set (_PKG_CONFIG_EXEC_PREFIX \${prefix})
+-set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib)
+-set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include)
++set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR})
++set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR})
+ set (_PKG_CONFIG_LIBNAME "${HDF5_F90_LIB_CORENAME}")
+ set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}")
+ 
+--- a/hl/c++/src/CMakeLists.txt
 b/hl/c++/src/CMakeLists.txt
+@@ -91,8 +91,8 @@ endif ()
+ #-
+ set (_PKG_CONFIG_PREFIX ${CMAKE_INSTALL_PREFIX})
+ set (_PKG_CONFIG_EXEC_PREFIX \${prefix})
+-set (_PKG_CONFIG_LIBDIR \${exec_prefix}/lib)
+-set (_PKG_CONFIG_INCLUDEDIR \${prefix}/include)
++set (_PKG_CONFIG_LIBDIR \${exec_prefix}/${CMAKE_INSTALL_LIBDIR})
++set (_PKG_CONFIG_INCLUDEDIR \${prefix}/${CMAKE_INSTALL_INCLUDEDIR})
+ set (_PKG_CONFIG_LIBNAME "${HDF5_HL_CPP_LIB_CORENAME}")
+ set (_PKG_CONFIG_VERSION "${HDF5_PACKAGE_VERSION}")
+ 
+--- a/hl/fortran/src/CMakeLists.txt
 b/hl/fortran/src/CMakeLists.txt
+@@ -324,8 +324,8 @@ end

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

2022-05-02 Thread Sam James
commit: 4a3fe05ed8aba8c04914b8dedd831ab1856a6e7f
Author: matoro  users  noreply  github  com>
AuthorDate: Tue May  3 01:33:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  3 02:05:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a3fe05e

sci-libs/hdf5: Stabilize 1.10.5-r1 sparc, #733578

Closes: https://bugs.gentoo.org/686620
Signed-off-by: matoro  users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/25291
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 7 ---
 sci-libs/hdf5/hdf5-1.10.5.ebuild| 5 +++--
 sci-libs/hdf5/hdf5-1.12.1-r1.ebuild | 3 ++-
 sci-libs/hdf5/hdf5-1.12.1.ebuild| 5 +++--
 4 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index b7aac2788497..aa45759413ec 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 
 FORTRAN_NEEDED="fortran"
 
-inherit autotools fortran-2 flag-o-matic toolchain-funcs multilib prefix
+inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix
 
 MY_P="${PN}-${PV/_p/-patch}"
 MAJOR_P="${PN}-$(ver_cut 1-2)"
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 
 REQUIRED_USE="
@@ -83,6 +83,7 @@ src_prepare() {
 }
 
 src_configure() {
+   use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
local myconf=(
--disable-static
--enable-deprecated-symbols

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index f33f957fdad7..1b6770c23e14 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 FORTRAN_NEEDED=fortran
 
-inherit autotools fortran-2 flag-o-matic toolchain-funcs multilib prefix
+inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix
 
 MY_P=${PN}-${PV/_p/-patch}
 MAJOR_P=${PN}-$(ver_cut 1-2)
@@ -78,6 +78,7 @@ src_prepare() {
 }
 
 src_configure() {
+   use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
econf \
--disable-static \
--enable-deprecated-symbols \

diff --git a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
index 890baf3cee25..32a8891c8155 100644
--- a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
 
 FORTRAN_NEEDED="fortran"
 
-inherit cmake flag-o-matic fortran-2
+inherit cmake flag-o-matic fortran-2 toolchain-funcs
 
 MY_P="${PN}-${PV/_p/-patch}"
 MAJOR_P="${PN}-$(ver_cut 1-2)"
@@ -66,6 +66,7 @@ pkg_setup() {
 }
 
 src_configure() {
+   use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
local mycmakeargs=(
# Workaround needed to allow build with USE=fortran when an 
older
# version is installed. See bug #808633 and

diff --git a/sci-libs/hdf5/hdf5-1.12.1.ebuild b/sci-libs/hdf5/hdf5-1.12.1.ebuild
index c5ef043111b3..8248d6614f5a 100644
--- a/sci-libs/hdf5/hdf5-1.12.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.1.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
 FORTRAN_NEEDED="fortran"
 
-inherit cmake flag-o-matic fortran-2
+inherit cmake flag-o-matic fortran-2 toolchain-funcs
 
 MY_P="${PN}-${PV/_p/-patch}"
 MAJOR_P="${PN}-$(ver_cut 1-2)"
@@ -62,6 +62,7 @@ pkg_setup() {
 }
 
 src_configure() {
+   use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
local mycmakeargs=(
-DBUILD_STATIC_LIBS=OFF
-DFETCHCONTENT_FULLY_DISCONNECTED=ON



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

2022-04-25 Thread Sam James
commit: f93e4898df07d3621585d0bba1a585871200e499
Author: Sam James  gentoo  org>
AuthorDate: Tue Apr 26 03:48:16 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Apr 26 03:48:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f93e4898

sci-libs/hdf5: Keyword 1.12.1-r1 s390, #840912

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

 sci-libs/hdf5/hdf5-1.12.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
index a445755a1291..890baf3cee25 100644
--- a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux"
 IUSE="cxx debug doc examples fortran +hl mpi ros3 szip test threads 
unsupported zlib"
 
 REQUIRED_USE="



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

2021-10-11 Thread Sam James
commit: 225b7ee7e532e58f541e30fbb95d4b193b50236f
Author: Sam James  gentoo  org>
AuthorDate: Tue Oct 12 06:51:57 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Oct 12 06:52:24 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=225b7ee7

sci-libs/hdf5: workaround build failure with older hdf5 installed

Thanks to upstream for the helpful suggestion!

Bug: https://github.com/HDFGroup/hdf5/issues/1027
Closes: https://bugs.gentoo.org/808633
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.1-r1.ebuild | 4 
 1 file changed, 4 insertions(+)

diff --git a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
index 9a0d092cd1f..a445755a129 100644
--- a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
@@ -67,6 +67,10 @@ pkg_setup() {
 
 src_configure() {
local mycmakeargs=(
+   # Workaround needed to allow build with USE=fortran when an 
older
+   # version is installed. See bug #808633 and
+   # https://github.com/HDFGroup/hdf5/issues/1027 upstream.
+   -DCMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE=ON
-DBUILD_STATIC_LIBS=OFF
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
-DHDF5_BUILD_EXAMPLES=OFF



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

2021-10-04 Thread Jakov Smolić
commit: 13a327fb0ab75bc211f39035a1df518800115e99
Author: Horea Christian  chymera  eu>
AuthorDate: Fri Oct  1 13:56:16 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Mon Oct  4 09:14:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13a327fb

sci-libs/hdf5: ROS3 support

Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Horea Christian  chymera.eu>
Closes: https://github.com/gentoo/gentoo/pull/22455
Signed-off-by: Jakov Smolić  gentoo.org>

 sci-libs/hdf5/hdf5-1.12.1-r1.ebuild | 123 
 sci-libs/hdf5/metadata.xml  |  11 ++--
 2 files changed, 129 insertions(+), 5 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
new file mode 100644
index 000..9a0d092cd1f
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
@@ -0,0 +1,123 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+FORTRAN_NEEDED="fortran"
+
+inherit cmake flag-o-matic fortran-2
+
+MY_P="${PN}-${PV/_p/-patch}"
+MAJOR_P="${PN}-$(ver_cut 1-2)"
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 
~amd64-linux ~x86-linux"
+IUSE="cxx debug doc examples fortran +hl mpi ros3 szip test threads 
unsupported zlib"
+
+REQUIRED_USE="
+   !unsupported? (
+   mpi? ( !cxx !threads )
+   threads? ( !cxx !fortran !hl )
+   )"
+
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   ros3? (
+   net-misc/curl
+   dev-libs/openssl:=
+   )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:0= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? (
+   app-doc/doxygen
+   virtual/latex-base
+)"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.12.1-cmake_installdirs.patch
+)
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_setup() {
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+   export CC="mpicc"
+   use fortran && export FC="mpif90"
+   append-libs -lmpi
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIBS=OFF
+   -DFETCHCONTENT_FULLY_DISCONNECTED=ON
+   -DHDF5_BUILD_EXAMPLES=OFF
+   -DALLOW_UNSUPPORTED=$(usex unsupported)
+   -DBUILD_TESTING=$(usex test)
+   -DHDF5_BUILD_CPP_LIB=$(usex cxx)
+   -DHDF5_BUILD_DOC=$(usex doc)
+   -DHDF5_BUILD_FORTRAN=$(usex fortran)
+   -DHDF5_BUILD_HL_LIB=$(usex hl)
+   -DHDF5_ENABLE_CODESTACK=$(usex debug)
+   -DHDF5_ENABLE_PARALLEL=$(usex mpi)
+   -DHDF5_ENABLE_SZIP_ENCODING=$(usex szip)
+   -DHDF5_ENABLE_SZIP_SUPPORT=$(usex szip)
+   -DHDF5_ENABLE_THREADSAFE=$(usex threads)
+   -DHDF5_ENABLE_Z_LIB_SUPPORT=$(usex zlib)
+   -DHDF5_ENABLE_ROS3_VFD:BOOL=$(usex ros3)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   cmake_src_install
+
+   # TODO: generate functioning example runners from their respective
+   # .in files - as of version 1.12.1 upstream only has it implemented
+   # for autoconf.
+   if use examples; then
+   # These are all useless outside the source tree
+   rm -f 
{examples,c++/examples,fortran/examples}/{Makefile*,CMake*}
+   rm -f 
hl/{examples,c++/examples,fortran/examples}/{Makefile*,CMake*}
+
+   dodoc -r examples
+   if use cxx; then
+   docinto c++
+   dodoc -r c++/examples
+   fi
+   if use fortran; then
+   docinto fortran
+   dodoc -r fortran/examples
+   fi
+   if use hl; then
+   docinto hl
+   dodoc -r hl/examples
+   if use cxx; then
+   docinto hl/c++
+   dodoc -r hl/c++/examples
+   fi
+   if use fortran; then
+   

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

2021-08-15 Thread Sam James
commit: 1524adff4d3087e85040c797c481f3f6355ace6a
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Sun Aug 15 15:46:01 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 15 19:50:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1524adff

sci-libs/hdf5: keyworded 1.10.5-r1 for hppa, bug #804115

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer  sf-mail.de>
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index 97cebb298aa..b7aac278849 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 
 REQUIRED_USE="



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

2021-07-20 Thread Yixun Lan
commit: 9de899bbed748c98e69a4634da75bd1999711718
Author: Alex Fan  yahoo  com>
AuthorDate: Wed Jul 21 00:26:14 2021 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Wed Jul 21 02:21:31 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9de899bb

sci-libs/hdf5: rekeyword 1.10.5{,-r1} for ~riscv

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Alex Fan  yahoo.com>
Signed-off-by: Yixun Lan  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 2 +-
 sci-libs/hdf5/hdf5-1.10.5.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index bb124c8c42f..97cebb298aa 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 -riscv ~sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 
 REQUIRED_USE="

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index 23a8b44d73d..f33f957fdad 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 -riscv sparc x86 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads zlib"
 
 REQUIRED_USE="



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

2021-07-19 Thread Marek Szuba
commit: c1e3450ab096cb8ae833d11b1424cace6e91dce0
Author: Marek Szuba  gentoo  org>
AuthorDate: Mon Jul 19 11:36:00 2021 +
Commit: Marek Szuba  gentoo  org>
CommitDate: Mon Jul 19 11:44:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1e3450a

sci-libs/hdf5: keyword ~1.10.5 for -riscv

Independently observed to fail tests by two arch testers. Bugzilla
ticket to follow.

Signed-off-by: Marek Szuba  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 2 +-
 sci-libs/hdf5/hdf5-1.10.5.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index 8836edf76cd..bb124c8c42f 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 -riscv ~sparc x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 
 REQUIRED_USE="

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index cfadb8e89e3..23a8b44d73d 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 -riscv sparc x86 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads zlib"
 
 REQUIRED_USE="



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

2021-03-19 Thread Sam James
commit: efb09755aa2d0231c64b1564593345d160e9ad05
Author: Sam James  gentoo  org>
AuthorDate: Sat Mar 20 02:20:10 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Mar 20 02:20:10 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efb09755

sci-libs/hdf5: fix build with slibtool

It's not completely clear how slibtool should've
known to append -fPIC, but let's not worry too much
for now.

Closes: https://bugs.gentoo.org/775305
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index c3fa2f27d0c..5fb40889ca3 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.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="7"
@@ -75,6 +75,9 @@ src_prepare() {
sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/src/misc/h5cc.in || die
hprefixify m4/libtool.m4
 
+   # bug #775305
+   use fortran && tc-enables-pie && append-fflags -fPIC
+
default
eautomake
 }



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

2020-11-07 Thread Sam James
commit: fef61ca6c3dc3c04a2be60928e3cb2254f6ea62a
Author: Sam James  gentoo  org>
AuthorDate: Sat Nov  7 17:49:49 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Nov  7 17:49:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fef61ca6

sci-libs/hdf5: Stabilize 1.10.5-r1 arm, #709830

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

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index 47f24fba7d9..c3fa2f27d0c 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 ~sparc x86 ~amd64-linux 
~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 
 REQUIRED_USE="



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

2020-08-01 Thread Sergei Trofimovich
commit: 0a87caf74a47bb4647e666fbc8571ac0e8ba98e2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  1 08:59:56 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  1 08:59:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a87caf7

sci-libs/hdf5: stable 1.10.5-r1 for ppc64

stable wrt bug #733578

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index 8764aae6c65..57067a255f0 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 
 REQUIRED_USE="



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

2020-08-01 Thread Sergei Trofimovich
commit: 3be4c5f793e68f988df5be6ee760d199f9aa89c3
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  1 08:45:48 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  1 08:45:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be4c5f7

sci-libs/hdf5: stable 1.10.5-r1 for ppc

stable wrt bug #733578

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index f881d9f4def..8764aae6c65 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 
 REQUIRED_USE="



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

2020-07-25 Thread Sam James
commit: 8cf1828175877d245c01c88e5fb6e319f1a321c3
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 25 13:04:25 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 25 13:04:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf18281

sci-libs/hdf5: arm64 stable (bug #733578)

Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index 722035fb316..f881d9f4def 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 
 REQUIRED_USE="



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

2020-07-24 Thread Agostino Sarubbo
commit: 08ca8c72b16b2264732e6b2bd818b0e43677a41e
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Jul 24 15:08:27 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Jul 24 15:08:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08ca8c72

sci-libs/hdf5: amd64 stable wrt bug #733578

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index c2f1f217d63..722035fb316 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
 
 REQUIRED_USE="



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

2020-06-27 Thread Andreas K. Hüttel
commit: f94047040d06ac677e0dee6bc9e04ef9f0f91b04
Author: Alexey Sokolov  google  com>
AuthorDate: Sat Jun 20 16:13:06 2020 +
Commit: Andreas K. Hüttel  gentoo  org>
CommitDate: Sat Jun 27 20:44:55 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9404704

sci-libs/hdf5: update homepage

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Alexey Sokolov  asokolov.org>
Signed-off-by: Andreas K. Hüttel  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 4 ++--
 sci-libs/hdf5/hdf5-1.10.5.ebuild| 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
index ef906aa6eef..c2f1f217d63 100644
--- a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -11,8 +11,8 @@ MY_P="${PN}-${PV/_p/-patch}"
 MAJOR_P="${PN}-$(ver_cut 1-2)"
 
 DESCRIPTION="General purpose library and file format for storing scientific 
data"
-HOMEPAGE="http://www.hdfgroup.org/HDF5/";
-SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index d812cce90d4..9d3676dd889 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -11,8 +11,8 @@ MY_P=${PN}-${PV/_p/-patch}
 MAJOR_P=${PN}-$(ver_cut 1-2)
 
 DESCRIPTION="General purpose library and file format for storing scientific 
data"
-HOMEPAGE="http://www.hdfgroup.org/HDF5/";
-SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+HOMEPAGE="https://www.hdfgroup.org/HDF5/";
+SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"



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

2020-03-07 Thread Benda XU
commit: 27d655b364e26cfb971d655a691f0ffaef96e8f8
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Mon Mar  2 07:50:25 2020 +
Commit: Benda XU  gentoo  org>
CommitDate: Sun Mar  8 06:49:08 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27d655b3

sci-libs/hdf5: add unsupported useflag

  this will allow unsupported combinations of useflags such as MPI +
  CXX.

  link mpi when using mpi.

Closes: https://bugs.gentoo.org/710986
Closes: https://github.com/gentoo/gentoo/pull/14821
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Alessandro Barbieri  gmail.com>
Signed-off-by: Benda Xu  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5-r1.ebuild | 106 
 sci-libs/hdf5/metadata.xml  |   1 +
 2 files changed, 107 insertions(+)

diff --git a/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild 
b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
new file mode 100644
index 000..ef906aa6eef
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+FORTRAN_NEEDED="fortran"
+
+inherit autotools eutils fortran-2 flag-o-matic toolchain-funcs multilib prefix
+
+MY_P="${PN}-${PV/_p/-patch}"
+MAJOR_P="${PN}-$(ver_cut 1-2)"
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="http://www.hdfgroup.org/HDF5/";
+SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux 
~x86-linux"
+IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"
+
+REQUIRED_USE="
+   !unsupported? (
+   ?? ( cxx mpi )
+   threads? ( !cxx !mpi !fortran !hl )
+   )"
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:0= )
+"
+DEPEND="${RDEPEND}
+   sys-devel/libtool:2
+   >=sys-devel/autoconf-2.69
+"
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.8.9-static_libgfortran.patch"
+   "${FILESDIR}/${PN}-1.8.9-mpicxx.patch"
+   "${FILESDIR}/${PN}-1.8.13-no-messing-ldpath.patch"
+)
+
+pkg_setup() {
+   tc-export CXX CC AR # workaround for bug 285148
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+   export CC="mpicc"
+   use fortran && export FC="mpif90"
+   append-ldflags -lmpi
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_prepare() {
+   # respect gentoo examples directory
+   sed \
+   -e "s:hdf5_examples:doc/${PF}/examples:g" \
+   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
+   sed \
+   -e '/docdir/d' \
+   -i config/commence.am || die
+   if ! use examples; then
+   sed -e '/^install:/ s/install-examples//' \
+   -i Makefile.am || die #409091
+   fi
+   # enable shared libs by default for h5cc config utility
+   sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/src/misc/h5cc.in || die
+   hprefixify m4/libtool.m4
+
+   default
+   eautomake
+}
+
+src_configure() {
+   local myconf=(
+   --disable-static
+   --enable-deprecated-symbols
+   --enable-build-mode=$(usex debug debug production)
+   $(use_enable cxx)
+   $(use_enable debug codestack)
+   $(use_enable fortran)
+   $(use_enable hl)
+   $(use_enable mpi parallel)
+   $(use_enable threads threadsafe)
+   $(use_enable unsupported)
+   $(use_with szip szlib)
+   $(use_with threads pthread)
+   $(use_with zlib)
+   )
+   econf "${myconf[@]}"
+}
+
+src_install() {
+   default
+
+   # no static archives
+   find "${D}" -name '*.la' -delete || die
+}

diff --git a/sci-libs/hdf5/metadata.xml b/sci-libs/hdf5/metadata.xml
index 040542a30ae..2fa4f45de1b 100644
--- a/sci-libs/hdf5/metadata.xml
+++ b/sci-libs/hdf5/metadata.xml
@@ -13,5 +13,6 @@
 
   
 Enable high level API 
(https://support.hdfgroup.org/HDF5/doc/HL/index.html)
+Enable unsupported combinations of configuration 
options
   
 



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

2019-10-20 Thread David Seifert
commit: efd16ef7feee4548d53c8227a7b0f1b85ff2d58d
Author: Alessandro Barbieri  gmail  com>
AuthorDate: Sun Oct  6 23:24:00 2019 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun Oct 20 13:22:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd16ef7

sci-libs/hdf5: disable static libraries

Closes: https://bugs.gentoo.org/694128
Closes: https://github.com/gentoo/gentoo/pull/13061
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Alessandro Barbieri  gmail.com>
Signed-off-by: David Seifert  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5.ebuild | 14 +++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index a3c248db158..deaec088dd1 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
 KEYWORDS="alpha amd64 ~arm arm64 ia64 ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux"
-IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
+IUSE="cxx debug examples fortran +hl mpi szip threads zlib"
 
 REQUIRED_USE="
cxx? ( !mpi ) mpi? ( !cxx )
@@ -79,10 +79,11 @@ src_prepare() {
 
 src_configure() {
econf \
+   --disable-static \
--enable-deprecated-symbols \
-   $(use debug && echo --enable-build-mode=debug || echo 
--enable-build-mode=production) \
-   $(use_enable debug codestack) \
+   --enable-build-mode=$(usex debug debug production) \
$(use_enable cxx) \
+   $(use_enable debug codestack) \
$(use_enable fortran) \
$(use_enable hl) \
$(use_enable mpi parallel) \
@@ -91,3 +92,10 @@ src_configure() {
$(use_with threads pthread) \
$(use_with zlib)
 }
+
+src_install() {
+   default
+
+   # no static archives
+   find "${D}" -name '*.la' -delete || die
+}



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

2019-06-15 Thread Andreas Sturmlechner
commit: df2c62a10c80eb73d5c12bf143ae1c2c2321d980
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Jun 15 19:42:00 2019 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Jun 15 20:56:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df2c62a1

sci-libs/hdf5: Drop 1.8.18 and 1.10.1

Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/hdf5/Manifest  |   2 -
 sci-libs/hdf5/files/hdf5-1.8.15-implicits.patch |  43 -
 sci-libs/hdf5/hdf5-1.10.1.ebuild|  95 
 sci-libs/hdf5/hdf5-1.8.18.ebuild| 111 
 sci-libs/hdf5/metadata.xml  |   5 +-
 5 files changed, 1 insertion(+), 255 deletions(-)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index e8b5dd2438c..64df5831a55 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -1,3 +1 @@
-DIST hdf5-1.10.1.tar.bz2 11769617 BLAKE2B 
66ad762aed90cea9e58a9735bf0e189d78befc40cac0e566586e967f2b3ba6f5bf8a6bfd12a2f4062f8b20900c16d467c34134c17dedfd8f345cb96bd853a2fe
 SHA512 
266b0e2f28c5fd540099a4955244ddb8c03aca3ad40d626358643f033a6ae5e9266a1d6c1d60925c7d42d24d28a1549d3305fe8ddb42cec2379af7231b93e554
 DIST hdf5-1.10.5.tar.bz2 8706317 BLAKE2B 
ac326be8fe4ccc4b0153f15bc7d65aa8f1adc2ae279d3980f57ed46722b754d3f36ecf1d6273c75e80ed1afd4bbf10c6b1c5d9408e1f83a4b2e397e7902a7d3c
 SHA512 
769e43b8672e26fe24ed68da0228c010d3d9bc950ca09f0bc60707911a2f26f2f8415c8abc8ec06e07667148d8cdb3b0c7b3e7860d9b19739629c5dfd5ce73d4
-DIST hdf5-1.8.18.tar.bz2 10081294 BLAKE2B 
cf0d0c8a41576bcf816460eaabcfab29cfffba240721a64fe584c42fbb322470f29fb93c8513f7bbdedeeb392c2fe64cd3261b47b47de5b01828dae0b1929cd3
 SHA512 
01f6d14bdd3be2ced9c63cc9e1820cd7ea11db649ff9f3a3055c18c4b0fffe777fd23baad536e3bce31c4d76fe17db64a3972762e1bb4d232927c1ca140e72b2

diff --git a/sci-libs/hdf5/files/hdf5-1.8.15-implicits.patch 
b/sci-libs/hdf5/files/hdf5-1.8.15-implicits.patch
deleted file mode 100644
index 72e09617097..000
--- a/sci-libs/hdf5/files/hdf5-1.8.15-implicits.patch
+++ /dev/null
@@ -1,43 +0,0 @@
 a/hl/src/H5LTanalyze.c
-+++ b/hl/src/H5LTanalyze.c
-@@ -40,6 +40,7 @@
- #include 
- #include 
- #include 
-+#include 
- 
- /* end standard C headers. */
- 
 a/hl/src/H5LTanalyze.l
-+++ b/hl/src/H5LTanalyze.l
-@@ -16,6 +16,7 @@
- %{
- #include 
- #include 
-+#include 
- #include 
- #include "H5LTparse.h"
- 
 a/test/cache_common.h
-+++ b/test/cache_common.h
-@@ -702,5 +702,8 @@ void validate_mdc_config(hid_t file_id,
-  hbool_t compare_init,
-  int test_num);
- 
-+hbool_t resize_configs_are_equal(const H5C_auto_size_ctl_t *a,
-+ const H5C_auto_size_ctl_t *b,
-+ hbool_t compare_init);
- #endif /* _CACHE_COMMON_H */
- 
 a/testpar/t_span_tree.c
-+++ b/testpar/t_span_tree.c
-@@ -37,6 +37,9 @@
- #include "hdf5.h"
- #include "H5private.h"
- #include "testphdf5.h"
-+#define H5S_PACKAGE
-+#define H5S_TESTING
-+#include "H5Spkg.h"
- 
- 
- static void coll_write_test(int chunk_factor);

diff --git a/sci-libs/hdf5/hdf5-1.10.1.ebuild b/sci-libs/hdf5/hdf5-1.10.1.ebuild
deleted file mode 100644
index 6cf18a83be0..000
--- a/sci-libs/hdf5/hdf5-1.10.1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-FORTRAN_NEEDED=fortran
-AUTOTOOLS_AUTORECONF=1
-
-inherit autotools-utils eutils fortran-2 flag-o-matic toolchain-funcs multilib 
versionator prefix
-
-MY_P=${PN}-${PV/_p/-patch}
-MAJOR_P=${PN}-$(get_version_component_range 1-2 ${PV})
-
-DESCRIPTION="General purpose library and file format for storing scientific 
data"
-HOMEPAGE="http://www.hdfgroup.org/HDF5/";
-SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
-
-LICENSE="NCSA-HDF"
-SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
-IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
-
-REQUIRED_USE="
-   cxx? ( !mpi ) mpi? ( !cxx )
-   threads? ( !cxx !mpi !fortran !hl )"
-
-RDEPEND="
-   mpi? ( virtual/mpi[romio] )
-   szip? ( virtual/szip )
-   zlib? ( sys-libs/zlib:0= )"
-
-DEPEND="${RDEPEND}
-   sys-devel/libtool:2
-   >=sys-devel/autoconf-2.69"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
-   "${FILESDIR}"/${PN}-1.8.9-mpicxx.patch
-   "${FILESDIR}"/${PN}-1.8.13-no-messing-ldpath.patch
-)
-
-pkg_setup() {
-   tc-export CXX CC AR # workaround for bug 285148
-   use fortran && fortran-2_pkg_setup
-
-   if use mpi; then
-   if has_version 'sci-libs/hdf5[-mpi]'; then
-   ewarn "Installing hdf5 with mpi enabled with a previou

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

2019-06-08 Thread Agostino Sarubbo
commit: 1c9680b3c80e0e6406ea7ea79ab1c236feb8efbd
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Jun  8 18:15:34 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Jun  8 18:15:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c9680b3

sci-libs/hdf5: sparc stable wrt bug #678264

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"

 sci-libs/hdf5/hdf5-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index b0d3827d079..b22b8c59825 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="alpha amd64 ~arm arm64 ia64 ppc ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm arm64 ia64 ppc ppc64 sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
 
 REQUIRED_USE="



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

2019-06-04 Thread Agostino Sarubbo
commit: 0e92f8bdc8033cd81ae0a433248dae59a2106444
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jun  4 10:58:48 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jun  4 10:58:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e92f8bd

sci-libs/hdf5: ppc64 stable wrt bug #678264

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.11
RepoMan-Options: --include-arches="ppc64"

 sci-libs/hdf5/hdf5-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index c10a79b75ac..da6566d3e48 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="alpha amd64 ~arm arm64 ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm arm64 ia64 ~ppc ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
 
 REQUIRED_USE="



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

2019-06-04 Thread Tobias Klausmann
commit: bfbe154ccb9626e3e4fe12077e932062e9cc2446
Author: Tobias Klausmann  gentoo  org>
AuthorDate: Tue Jun  4 07:52:21 2019 +
Commit: Tobias Klausmann  gentoo  org>
CommitDate: Tue Jun  4 07:52:36 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfbe154c

sci-libs/hdf5-1.10.5-r0: alpha stable

Bug: http://bugs.gentoo.org/678264
Signed-off-by: Tobias Klausmann  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index a48ad0321e3..c10a79b75ac 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm arm64 ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="alpha amd64 ~arm arm64 ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
 
 REQUIRED_USE="



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

2019-05-22 Thread Sergei Trofimovich
commit: 6f5731b01fa3a6d0e62eea0c6d86199ad3095718
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Wed May 22 07:33:23 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Wed May 22 07:34:51 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f5731b0

sci-libs/hdf5: stable 1.10.5 for ia64, bug #678264

Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index 0060a1d2ac2..a48ad0321e3 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
 
 REQUIRED_USE="



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

2019-05-19 Thread Mikle Kolyada
commit: 74aa43617afa2e89d842756a1cc52292f6de1a8e
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun May 19 20:33:53 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun May 19 20:33:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74aa4361

sci-libs/hdf5: amd64 stable wrt bug #678264

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 sci-libs/hdf5/hdf5-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index 1e5bcc40f69..0060a1d2ac2 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
 
 REQUIRED_USE="



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

2019-05-19 Thread Thomas Deutschmann
commit: 235f8adde0109ad8701a259d9c18b0c02125a734
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sun May 19 17:08:11 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sun May 19 18:01:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=235f8add

sci-libs/hdf5: x86 stable (bug #678264)

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 sci-libs/hdf5/hdf5-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index 468271629f2..1e5bcc40f69 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
 
 REQUIRED_USE="



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

2019-05-18 Thread Aaron Bauman
commit: 506aca9b21029c2f8271f74b5f374f5fb8fb6149
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat May 18 19:47:06 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat May 18 19:56:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=506aca9b

sci-libs/hdf5: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.66, Repoman-2.3.12
RepoMan-Options: --include-arches="arm64"

 sci-libs/hdf5/hdf5-1.10.5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
index 1e8158a6d6b..468271629f2 100644
--- a/sci-libs/hdf5/hdf5-1.10.5.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+KEYWORDS="~alpha ~amd64 ~arm arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
 IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
 
 REQUIRED_USE="



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

2019-03-30 Thread Benda XU
commit: 49aa89d2a6c9ebc6c939a985b271e30724e68815
Author: Benda Xu  gentoo  org>
AuthorDate: Sun Mar 31 03:24:21 2019 +
Commit: Benda XU  gentoo  org>
CommitDate: Sun Mar 31 03:24:21 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49aa89d2

sci-libs/hdf5: bump to 1.10.5 and EAPI 7.

Suggested-By: Fabio Rossi, Bernd
Bug: https://bugs.gentoo.org/661158
Closes: https://bugs.gentoo.org/674998
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Benda Xu  gentoo.org>

 sci-libs/hdf5/Manifest   |  1 +
 sci-libs/hdf5/hdf5-1.10.5.ebuild | 93 
 2 files changed, 94 insertions(+)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index 7ec5335c9d8..e8b5dd2438c 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -1,2 +1,3 @@
 DIST hdf5-1.10.1.tar.bz2 11769617 BLAKE2B 
66ad762aed90cea9e58a9735bf0e189d78befc40cac0e566586e967f2b3ba6f5bf8a6bfd12a2f4062f8b20900c16d467c34134c17dedfd8f345cb96bd853a2fe
 SHA512 
266b0e2f28c5fd540099a4955244ddb8c03aca3ad40d626358643f033a6ae5e9266a1d6c1d60925c7d42d24d28a1549d3305fe8ddb42cec2379af7231b93e554
+DIST hdf5-1.10.5.tar.bz2 8706317 BLAKE2B 
ac326be8fe4ccc4b0153f15bc7d65aa8f1adc2ae279d3980f57ed46722b754d3f36ecf1d6273c75e80ed1afd4bbf10c6b1c5d9408e1f83a4b2e397e7902a7d3c
 SHA512 
769e43b8672e26fe24ed68da0228c010d3d9bc950ca09f0bc60707911a2f26f2f8415c8abc8ec06e07667148d8cdb3b0c7b3e7860d9b19739629c5dfd5ce73d4
 DIST hdf5-1.8.18.tar.bz2 10081294 BLAKE2B 
cf0d0c8a41576bcf816460eaabcfab29cfffba240721a64fe584c42fbb322470f29fb93c8513f7bbdedeeb392c2fe64cd3261b47b47de5b01828dae0b1929cd3
 SHA512 
01f6d14bdd3be2ced9c63cc9e1820cd7ea11db649ff9f3a3055c18c4b0fffe777fd23baad536e3bce31c4d76fe17db64a3972762e1bb4d232927c1ca140e72b2

diff --git a/sci-libs/hdf5/hdf5-1.10.5.ebuild b/sci-libs/hdf5/hdf5-1.10.5.ebuild
new file mode 100644
index 000..1e8158a6d6b
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+FORTRAN_NEEDED=fortran
+
+inherit autotools eutils fortran-2 flag-o-matic toolchain-funcs multilib prefix
+
+MY_P=${PN}-${PV/_p/-patch}
+MAJOR_P=${PN}-$(ver_cut 1-2)
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="http://www.hdfgroup.org/HDF5/";
+SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
+
+REQUIRED_USE="
+   cxx? ( !mpi ) mpi? ( !cxx )
+   threads? ( !cxx !mpi !fortran !hl )"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:0= )"
+
+DEPEND="${RDEPEND}
+   sys-devel/libtool:2
+   >=sys-devel/autoconf-2.69"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
+   "${FILESDIR}"/${PN}-1.8.9-mpicxx.patch
+   "${FILESDIR}"/${PN}-1.8.13-no-messing-ldpath.patch
+)
+
+pkg_setup() {
+   tc-export CXX CC AR # workaround for bug 285148
+   use fortran && fortran-2_pkg_setup
+
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+   export CC=mpicc
+   use fortran && export FC=mpif90
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_prepare() {
+   # respect gentoo examples directory
+   sed \
+   -e "s:hdf5_examples:doc/${PF}/examples:g" \
+   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
+   sed \
+   -e '/docdir/d' \
+   -i config/commence.am || die
+   if ! use examples; then
+   sed -e '/^install:/ s/install-examples//' \
+   -i Makefile.am || die #409091
+   fi
+   # enable shared libs by default for h5cc config utility
+   sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/src/misc/h5cc.in || die
+   hprefixify m4/libtool.m4
+
+   default
+   eautomake
+}
+
+src_configure() {
+   econf \
+   --enable-deprecated-symbols \
+   $(use debug && echo --enable-build-mode=debug || echo 
--enable-build-mode=production) \
+   $(use_enable debug codestack) \
+   $(use_enable cxx) \
+   $(use_enable fortran) \
+

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

2017-12-18 Thread Benda XU
commit: b269167ddba7b8485ec67042f77699bded47d296
Author: Benda Xu  gentoo  org>
AuthorDate: Wed Dec 13 05:56:07 2017 +
Commit: Benda XU  gentoo  org>
CommitDate: Tue Dec 19 07:16:01 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b269167d

sci-libs/hdf5: Add back hl configuration options.

Closes: https://bugs.gentoo.org/640220
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-libs/hdf5/hdf5-1.10.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-libs/hdf5/hdf5-1.10.1.ebuild b/sci-libs/hdf5/hdf5-1.10.1.ebuild
index 4b97584a479..6cf18a83be0 100644
--- a/sci-libs/hdf5/hdf5-1.10.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.1.ebuild
@@ -84,6 +84,7 @@ src_configure() {
$(use_enable debug codestack)
$(use_enable cxx)
$(use_enable fortran)
+   $(use_enable hl)
$(use_enable mpi parallel)
$(use_enable threads threadsafe)
$(use_with szip szlib)



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

2017-12-10 Thread Benda XU
commit: f86102f0cd7d458906386fc0b10ef4de792722a0
Author: Benda Xu  gentoo  org>
AuthorDate: Mon Dec 11 05:38:57 2017 +
Commit: Benda XU  gentoo  org>
CommitDate: Mon Dec 11 06:06:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f86102f0

sci-libs/hdf5: Add back hl USE flag and conditions.

Suggested-by: Nikolaj Šujskij  yandex.ru>
Closes: https://bugs.gentoo.org/640220
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-libs/hdf5/hdf5-1.10.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.1.ebuild b/sci-libs/hdf5/hdf5-1.10.1.ebuild
index 49e39d56ec0..4b97584a479 100644
--- a/sci-libs/hdf5/hdf5-1.10.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.1.ebuild
@@ -18,11 +18,11 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
-IUSE="cxx debug examples fortran mpi static-libs szip threads zlib"
+IUSE="cxx debug examples fortran +hl mpi static-libs szip threads zlib"
 
 REQUIRED_USE="
cxx? ( !mpi ) mpi? ( !cxx )
-   threads? ( !cxx !mpi !fortran )"
+   threads? ( !cxx !mpi !fortran !hl )"
 
 RDEPEND="
mpi? ( virtual/mpi[romio] )



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

2017-12-07 Thread Benda XU
commit: bd9658269764306015ce6e48cf4567688498e102
Author: Benda Xu  gentoo  org>
AuthorDate: Fri Dec  8 00:26:10 2017 +
Commit: Benda XU  gentoo  org>
CommitDate: Fri Dec  8 00:26:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd965826

sci-libs/hdf5: drop implicits.patch.

  The patch is not needed any more and causes compilation error.

Reported-by: Eugene Shalygin  gmail.com>
Suggested-by: milan hodoscek  cmm.ki.si>
Closes: https://bugs.gentoo.org/639784
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-libs/hdf5/hdf5-1.10.1.ebuild | 1 -
 1 file changed, 1 deletion(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.1.ebuild b/sci-libs/hdf5/hdf5-1.10.1.ebuild
index 4d77cd12bb3..49e39d56ec0 100644
--- a/sci-libs/hdf5/hdf5-1.10.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.1.ebuild
@@ -39,7 +39,6 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
"${FILESDIR}"/${PN}-1.8.9-mpicxx.patch
"${FILESDIR}"/${PN}-1.8.13-no-messing-ldpath.patch
-   "${FILESDIR}"/${PN}-1.8.15-implicits.patch
 )
 
 pkg_setup() {



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

2017-12-06 Thread Benda XU
commit: fa33d93b58c144d63edfcd8f6c8691b9366af2de
Author: Benda Xu  gentoo  org>
AuthorDate: Thu Dec  7 04:11:13 2017 +
Commit: Benda XU  gentoo  org>
CommitDate: Thu Dec  7 04:11:47 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa33d93b

sci-libs/hdf5: really drop USE fortran2003.

  fortran2003 is supported by gfortran-4.9 which is the
  oldest in the main tree.  As of 1.10, hdf5 drops the
  fortran2003 configuration option.

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-libs/hdf5/hdf5-1.10.1.ebuild | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/sci-libs/hdf5/hdf5-1.10.1.ebuild b/sci-libs/hdf5/hdf5-1.10.1.ebuild
index 5980c67ccda..4d77cd12bb3 100644
--- a/sci-libs/hdf5/hdf5-1.10.1.ebuild
+++ b/sci-libs/hdf5/hdf5-1.10.1.ebuild
@@ -18,12 +18,11 @@ 
SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P
 LICENSE="NCSA-HDF"
 SLOT="0/${PV%%_p*}"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
-IUSE="cxx debug examples fortran fortran2003 mpi static-libs szip threads zlib"
+IUSE="cxx debug examples fortran mpi static-libs szip threads zlib"
 
 REQUIRED_USE="
cxx? ( !mpi ) mpi? ( !cxx )
-   threads? ( !cxx !mpi !fortran )
-   fortran2003? ( fortran )"
+   threads? ( !cxx !mpi !fortran )"
 
 RDEPEND="
mpi? ( virtual/mpi[romio] )
@@ -45,10 +44,8 @@ PATCHES=(
 
 pkg_setup() {
tc-export CXX CC AR # workaround for bug 285148
-   if use fortran; then
-   use fortran2003 && FORTRAN_STANDARD=2003
-   fortran-2_pkg_setup
-   fi
+   use fortran && fortran-2_pkg_setup
+
if use mpi; then
if has_version 'sci-libs/hdf5[-mpi]'; then
ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
@@ -88,7 +85,6 @@ src_configure() {
$(use_enable debug codestack)
$(use_enable cxx)
$(use_enable fortran)
-   $(use_enable fortran2003)
$(use_enable mpi parallel)
$(use_enable threads threadsafe)
$(use_with szip szlib)



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

2017-12-03 Thread Benda XU
commit: c4f54efe1a826c1d06e9009bf182050e1a3753b3
Author: Benda Xu  gentoo  org>
AuthorDate: Mon Dec  4 03:03:10 2017 +
Commit: Benda XU  gentoo  org>
CommitDate: Mon Dec  4 03:03:40 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f54efe

sci-libs/hdf5: version bump.

  Drop fortran2003 use flag, replace rpath hacks with hprefixify.

Reported-by: Erik Quaeghebeur  equaeghe.nospammail.net>
Closes: https://bugs.gentoo.org/600656
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sci-libs/hdf5/Manifest   |  3 +-
 sci-libs/hdf5/hdf5-1.10.1.ebuild | 99 
 2 files changed, 101 insertions(+), 1 deletion(-)

diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index a988c49c5af..7ec5335c9d8 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -1 +1,2 @@
-DIST hdf5-1.8.18.tar.bz2 10081294 SHA256 
01c6deadf4211f86922400da82c7a8b5b50dc8fc1ce0b5912de3066af316a48c SHA512 
01f6d14bdd3be2ced9c63cc9e1820cd7ea11db649ff9f3a3055c18c4b0fffe777fd23baad536e3bce31c4d76fe17db64a3972762e1bb4d232927c1ca140e72b2
 WHIRLPOOL 
c1ea97aa30ded9f3129edf47cfda3b7e371aa21fcb2fc409005818f69ed0f0ac41a19e28ec38a5da2c417ef98033f197292169c88f7db81dd94244b016ab2595
+DIST hdf5-1.10.1.tar.bz2 11769617 BLAKE2B 
66ad762aed90cea9e58a9735bf0e189d78befc40cac0e566586e967f2b3ba6f5bf8a6bfd12a2f4062f8b20900c16d467c34134c17dedfd8f345cb96bd853a2fe
 SHA512 
266b0e2f28c5fd540099a4955244ddb8c03aca3ad40d626358643f033a6ae5e9266a1d6c1d60925c7d42d24d28a1549d3305fe8ddb42cec2379af7231b93e554
+DIST hdf5-1.8.18.tar.bz2 10081294 BLAKE2B 
cf0d0c8a41576bcf816460eaabcfab29cfffba240721a64fe584c42fbb322470f29fb93c8513f7bbdedeeb392c2fe64cd3261b47b47de5b01828dae0b1929cd3
 SHA512 
01f6d14bdd3be2ced9c63cc9e1820cd7ea11db649ff9f3a3055c18c4b0fffe777fd23baad536e3bce31c4d76fe17db64a3972762e1bb4d232927c1ca140e72b2

diff --git a/sci-libs/hdf5/hdf5-1.10.1.ebuild b/sci-libs/hdf5/hdf5-1.10.1.ebuild
new file mode 100644
index 000..5980c67ccda
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.10.1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+FORTRAN_NEEDED=fortran
+AUTOTOOLS_AUTORECONF=1
+
+inherit autotools-utils eutils fortran-2 flag-o-matic toolchain-funcs multilib 
versionator prefix
+
+MY_P=${PN}-${PV/_p/-patch}
+MAJOR_P=${PN}-$(get_version_component_range 1-2 ${PV})
+
+DESCRIPTION="General purpose library and file format for storing scientific 
data"
+HOMEPAGE="http://www.hdfgroup.org/HDF5/";
+SRC_URI="http://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_P}.tar.bz2";
+
+LICENSE="NCSA-HDF"
+SLOT="0/${PV%%_p*}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd 
~amd64-linux ~x86-linux"
+IUSE="cxx debug examples fortran fortran2003 mpi static-libs szip threads zlib"
+
+REQUIRED_USE="
+   cxx? ( !mpi ) mpi? ( !cxx )
+   threads? ( !cxx !mpi !fortran )
+   fortran2003? ( fortran )"
+
+RDEPEND="
+   mpi? ( virtual/mpi[romio] )
+   szip? ( virtual/szip )
+   zlib? ( sys-libs/zlib:0= )"
+
+DEPEND="${RDEPEND}
+   sys-devel/libtool:2
+   >=sys-devel/autoconf-2.69"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-1.8.9-static_libgfortran.patch
+   "${FILESDIR}"/${PN}-1.8.9-mpicxx.patch
+   "${FILESDIR}"/${PN}-1.8.13-no-messing-ldpath.patch
+   "${FILESDIR}"/${PN}-1.8.15-implicits.patch
+)
+
+pkg_setup() {
+   tc-export CXX CC AR # workaround for bug 285148
+   if use fortran; then
+   use fortran2003 && FORTRAN_STANDARD=2003
+   fortran-2_pkg_setup
+   fi
+   if use mpi; then
+   if has_version 'sci-libs/hdf5[-mpi]'; then
+   ewarn "Installing hdf5 with mpi enabled with a previous 
hdf5 with mpi disabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to 
enabling mpi support."
+   fi
+   export CC=mpicc
+   use fortran && export FC=mpif90
+   elif has_version 'sci-libs/hdf5[mpi]'; then
+   ewarn "Installing hdf5 with mpi disabled while having hdf5 
installed with mpi enabled may fail."
+   ewarn "Try to uninstall the current hdf5 prior to disabling mpi 
support."
+   fi
+}
+
+src_prepare() {
+   # respect gentoo examples directory
+   sed \
+   -e "s:hdf5_examples:doc/${PF}/examples:g" \
+   -i $(find . -name Makefile.am) $(find . -name "run*.sh.in") || 
die
+   sed \
+   -e '/docdir/d' \
+   -i config/commence.am || die
+   if ! use examples; then
+   sed -e '/^install:/ s/install-examples//' \
+   -i Makefile.am || die #409091
+   fi
+   # enable shared libs by default for h5cc config utility
+   sed -i -e "s/SHLIB:-no/SHLIB:-yes/g" tools/src/misc/h5cc.in || die
+   hprefixify m4/libtool.m4
+   au

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

2017-06-20 Thread Pacho Ramos
commit: dcc28d3f95eac50d1eda7316616d83560a996f12
Author: Pacho Ramos  gentoo  org>
AuthorDate: Tue Jun 20 12:42:17 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Tue Jun 20 12:53:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcc28d3f

sci-libs/hdf5: Cleanup metadata due to retirement

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 sci-libs/hdf5/metadata.xml | 4 
 1 file changed, 4 deletions(-)

diff --git a/sci-libs/hdf5/metadata.xml b/sci-libs/hdf5/metadata.xml
index e650c56384e..9c9d5071aa8 100644
--- a/sci-libs/hdf5/metadata.xml
+++ b/sci-libs/hdf5/metadata.xml
@@ -1,10 +1,6 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
-  
-xarthis...@gentoo.org
-Kacper Kowalik
-  
   
 s...@gentoo.org
 Gentoo Science Project



  1   2   >