summaryrefslogtreecommitdiff
path: root/sci-libs
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-28 01:25:58 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-28 01:25:58 +0100
commit6405cba4bf18141460bc9fcb8f5580532d4b46f8 (patch)
tree377baa366741990f54b18ea82f5566c48295f4e0 /sci-libs
parentabc3bfc07d931f667a0f50cf607f1c8a49af879f (diff)
gentoo auto-resync : 28:09:2024 - 01:25:57
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/Manifest.gzbin42939 -> 42936 bytes
-rw-r--r--sci-libs/hdf5/Manifest2
-rw-r--r--sci-libs/hdf5/hdf5-1.14.4_p3.ebuild119
3 files changed, 121 insertions, 0 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz
index 5b050df33f16..f39b37f8fc7d 100644
--- a/sci-libs/Manifest.gz
+++ b/sci-libs/Manifest.gz
Binary files differ
diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest
index 1b2b4dfdc111..ed118dac609e 100644
--- a/sci-libs/hdf5/Manifest
+++ b/sci-libs/hdf5/Manifest
@@ -16,6 +16,7 @@ DIST hdf5-1.14.1.tar.bz2 16257319 BLAKE2B fbabbe2a61fca3f841d0206e3918390001ec1e
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
+DIST hdf5-1.14.4-3.tar.gz 37007795 BLAKE2B f71ba86da65337c3ff30c733760adea56a0ace05b4ac1c0060febb85f45a586ec47cc99828f1199e4e02fd5e2f4329ace450c62a3290f6341d21ec9e30cc59fd SHA512 667a40703b4e330db32d3ede48247781019414426d2949aabf2036089155bc7f2167fbc8b8c78b76286d8369d1f3c9bdd66049d3e4eda2c234ef751df9cc597a
EBUILD hdf5-1.10.5-r1.ebuild 2934 BLAKE2B acd8106370504a83d45af551d9f643cd93265660217f19e1b1106c608409b9f8599ca68f5756fef460f1b80a400b019729b2228dc0d0a4794723defdd60be2b9 SHA512 b03a152b835d2df80ba1e1f72dc642c0a688d5bbcfabb829b3bbc0c281fadd8c47c013bb6b7cc789de683020e2e14a63af56cfebd2c28ae2b6fc0723e5851724
EBUILD hdf5-1.12.2-r4.ebuild 3203 BLAKE2B 3694d23dea26b68efeed077dfb9927936ab5178807c1fb66e9be7b3cf4ecc10e9d83ffbdbe488c8011caa67e477afa000104f31cb17d54a2cb360ff42244fcb8 SHA512 95d87c7c60787fe8b38d2398558edb558b715d3ac5ab4c5fc5be846984e1f9b5888e2c00fa8dbf4e46f39d70889e1f9ce7bb2cf7cdaa1a26c8370d05317e2687
EBUILD hdf5-1.12.2-r6.ebuild 3335 BLAKE2B cc344b7456695b880aae90f70bbf3f19db4edcefa8d4287edb589d95760a4a150b47109049f49a15b3a3195ee6cb8acf263876e749523b5491da3447d3840c96 SHA512 d4be86a19f8703532223841ceffa78ccc075ef865c5bf761e6a054470eaf801997a9dc3ea2d25a2900899cb33363623804f4372124b5713170af414893317f7d
@@ -23,4 +24,5 @@ EBUILD hdf5-1.14.1.ebuild 3072 BLAKE2B af92b7cdb04770a1e3baee23ba173be61553bc0e1
EBUILD hdf5-1.14.2.ebuild 3189 BLAKE2B 3618adc6a5b1f4d50b670ffb109e69876252b16f8b391078c5be18ff1bb9a7973d261c26fa4a97ee57ecb0588f418064587aa2b717561fa9680e14dbf41933c5 SHA512 fcc1216f1fbafefd526b2f6dcf47dd347730ab380ce0cab22c0138e7698e232a53a570aee01eab8ef4f2e5d06439a57c31247b92fb911cd987162e883c67cb96
EBUILD hdf5-1.14.3-r1.ebuild 3174 BLAKE2B 1ba662b1e749795ec39800536bf47b656a5055ad6b75097b3d1ed76096b48ada4044c6fd13f97bf03a1441725b2eb518f47edd3c546a626b8694a713d361d672 SHA512 95d707fa162a13d12f946e9792713cd7edb3a400966d04b25f61a8ee6f2d037524602f70a5a76feb339063921f51e822e3576b6b567e6bb3107e25c031a786d8
EBUILD hdf5-1.14.4_p2.ebuild 3225 BLAKE2B 443387e78fc8b1cd3bde53c5e06f90c6fbcec70d8c879bb7163c257501160f884d393bd5aa482efd294fe1f8bb4d3b803bb19dd839d3031b09f104c2a92e71a6 SHA512 e345d650b639b7f1bc87f9b99cacdbc03d603305e81240627e3ded98ed7b39a4471d9394813ac035dab53fb109bea5dd0fe91028513b2750c6a424a542f3cd2a
+EBUILD hdf5-1.14.4_p3.ebuild 3228 BLAKE2B e41a78084f9d1265764282b0e52074feedab2957054b0eced6da2e4dd463a125139482db9352a287b767cf1259b6204e5ed5c4763e202a471e14fc0f241fd001 SHA512 031cf747a4c9e3967435d3ff0a0a560f7394b40559c0e3aff10750fdc47c42647fb45fcad51764f092740bfdc13801609cb8f618c9109a94d62123549d13a63b
MISC metadata.xml 826 BLAKE2B fd131bb207e4ab863ef7c05ab95e5c0254fa08230139a2508ab5f0c363809b0735532498ad26cc39621495a063de86ab5bd97447514ff561a63302e8b1d7d26d SHA512 290883ed9bf3de60bf04e2474c4db50e095b1b87974867e58601a5c5c2f98d6b839ed22d9ce2798bc44f484f1a38ee4b6df99aaea7d134629bd441d34b5a29b5
diff --git a/sci-libs/hdf5/hdf5-1.14.4_p3.ebuild b/sci-libs/hdf5/hdf5-1.14.4_p3.ebuild
new file mode 100644
index 000000000000..a66e749ecc76
--- /dev/null
+++ b/sci-libs/hdf5/hdf5-1.14.4_p3.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2024 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_PV=${PV/_p/-}
+MY_P=${PN}-${MY_PV}
+MAJOR_P=${PN}-$(ver_cut 1-2)
+
+DESCRIPTION="General purpose library and file format for storing scientific data"
+HOMEPAGE="https://github.com/HDFGroup/hdf5/"
+SRC_URI="https://github.com/HDFGroup/hdf5/releases/download/${PN}_${MY_PV/-/.}/${MY_P}.tar.gz"
+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 ~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.4-0001-Make-sure-that-during-runtime-we-ll-use-the-same-lib.patch
+ "${FILESDIR}"/hdf5-1.14.4-0002-Disable-forced-stripping.patch
+ "${FILESDIR}"/hdf5-1.14.4-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
+
+ 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
+
+ local myeconfargs=(
+ --disable-static
+ --disable-doxygen-errors
+ --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)
+ $(use_enable hl)
+ $(use_enable mpi parallel)
+ $(use_enable test tests)
+ $(use_enable threads threadsafe)
+ $(use_enable unsupported)
+ $(use_with szip szlib)
+ $(use_with threads pthread)
+ $(use_with zlib)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ emake DESTDIR="${D}" EPREFIX="${EPREFIX}" install
+
+ # No static archives
+ find "${ED}" -name '*.la' -delete || die
+}