From 64602f81dd4ecc257e8c5139f42b902d3555ea78 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 18 Dec 2023 13:51:55 +0000 Subject: gentoo auto-resync : 18:12:2023 - 13:51:55 --- sci-libs/hdf5/Manifest | 4 +- sci-libs/hdf5/hdf5-1.14.2.ebuild | 2 +- sci-libs/hdf5/hdf5-1.14.3-r1.ebuild | 117 +++++++++++++++++++++++++++++++++++ sci-libs/hdf5/hdf5-1.14.3.ebuild | 120 ------------------------------------ 4 files changed, 120 insertions(+), 123 deletions(-) create mode 100644 sci-libs/hdf5/hdf5-1.14.3-r1.ebuild delete mode 100644 sci-libs/hdf5/hdf5-1.14.3.ebuild (limited to 'sci-libs/hdf5') diff --git a/sci-libs/hdf5/Manifest b/sci-libs/hdf5/Manifest index f42573d62e87..81deb36a5ca9 100644 --- a/sci-libs/hdf5/Manifest +++ b/sci-libs/hdf5/Manifest @@ -16,6 +16,6 @@ EBUILD hdf5-1.10.5-r1.ebuild 2940 BLAKE2B 45e4cf6004cb70667829844ddf37f2c4f96d6b EBUILD hdf5-1.12.2-r4.ebuild 3209 BLAKE2B eb7b30bee62cbad778b07f089026395d70046e3845b636bdb526e0960e4ae3789f2e5d1c9eac6fc213b755809c42946cf332446582d032d04900cfd80b57b06a SHA512 e6c2c24f9558c381b8ae5da8f0967635c64b02ad5f8288d5a08841c7637f8de7b72229f89d8be2cff5cd0c8c4482b404db3a7d41aeeaa927157c257f91fb62a3 EBUILD hdf5-1.12.2-r6.ebuild 3341 BLAKE2B c574efa933f240fae23049007c320138ea43354ddd78194d74e6b27f630a6ad0fa2a1bc083b563006eb7dd7e36ee00a77a6f684ad42bee383372a79750726d9a SHA512 0385774ab2be1abeec7467886f8900b514d8c1410c531dac7753570cb9e47d35750cd8ddfe92a0df524ecae8889602cc27caa15a52d8e94aa10455e50cf18df3 EBUILD hdf5-1.14.1.ebuild 3078 BLAKE2B 30428ba92c299c92463276e3853c8332efb0904856749f6a6f716b2f07a58a7fc12c62a7298d15067af9b436a5e5f237c322ff30a942337ab9e65a4f1765074f SHA512 076ceaa6f8eb5330e8bf1913ddfc659524a4770e2df0d459b88ce41eec4d99e4e0b9da42f7b690b24bc678f15dd96ba8d20c443bbd9f4afe9c111abe5efc9f10 -EBUILD hdf5-1.14.2.ebuild 3196 BLAKE2B d28620682d589fc2547744be2840f2548c5a4991e0c4eee7fb0fdbd0c25a0320fdd77792a53578f16e2a3426f37649bcb98e8938b14432c6095ca51e762d9382 SHA512 64a97e1175e4bb97cf0d05bd4e84d897de1299a4eaeb7c6e29699e7b6beafde4dec06c64df31cc027930d1ecfe81acac78694006725fbeb99eec272664291ea1 -EBUILD hdf5-1.14.3.ebuild 3244 BLAKE2B 18daf63cef5914b3df1be2ee1c178a48e398307c6c264d550581ac4fb20c6c63e1022cd025f0da719ba771187521002bf046812069a1b4b440a55cf4d66b18bd SHA512 65608f331187e36621174b97b1f42784e1267ac00c110e081be4c86f236228e6c07c69a4673f681a522c051a6607990ed3c04f148930ea0cf89d04494b1f4c35 +EBUILD hdf5-1.14.2.ebuild 3195 BLAKE2B cfd44a688f452cc36594ea74477d70896630ed84e8a420c4e22640341fad1e438e13d55fb8be5d8d7451fea84854bfc2a834a85bc8bfd09efcee573bdeac3e34 SHA512 f7c3e7853e395a6d9a2c1d42112c402ae11670a4afffc4645d04ad4b0f33d233a1bec0fb56795543c58ac25344af9937bcc19a2245b7e38e0d1af4a2d1a7d5b4 +EBUILD hdf5-1.14.3-r1.ebuild 3145 BLAKE2B b279084477d31afb6150ab02ac4579342f73941dac006a62e3ecb29d27b755d59e003e0d3871b8e312acc5bec45ed9767222425ec57483d9271158a64145a6e1 SHA512 0cf2b261a4ee7a6f8fe215155992737e2ba1444f5a9327c695a7aeb752a5f9918adba22f3b7fc65f59b9fceacf7779eccfc48c6ec879aaeeeed469b8943905ab MISC metadata.xml 826 BLAKE2B fd131bb207e4ab863ef7c05ab95e5c0254fa08230139a2508ab5f0c363809b0735532498ad26cc39621495a063de86ab5bd97447514ff561a63302e8b1d7d26d SHA512 290883ed9bf3de60bf04e2474c4db50e095b1b87974867e58601a5c5c2f98d6b839ed22d9ce2798bc44f484f1a38ee4b6df99aaea7d134629bd441d34b5a29b5 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=" diff --git a/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild new file mode 100644 index 000000000000..750f17457476 --- /dev/null +++ b/sci-libs/hdf5/hdf5-1.14.3-r1.ebuild @@ -0,0 +1,117 @@ +# 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 + + 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 +} diff --git a/sci-libs/hdf5/hdf5-1.14.3.ebuild b/sci-libs/hdf5/hdf5-1.14.3.ebuild deleted file mode 100644 index 47b70efe199b..000000000000 --- a/sci-libs/hdf5/hdf5-1.14.3.ebuild +++ /dev/null @@ -1,120 +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 ~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 - - # 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" - $(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 -} -- cgit v1.2.3