commit: b7a70be616680930fb15c94b2f54be6390d23217
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 7 04:35:49 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jun 7 06:13:15 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7a70be6
dev-python/h5py: Bump to 3.14.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/h5py/Manifest | 1 +
dev-python/h5py/h5py-3.14.0.ebuild | 63 ++++++++++++++++++++++++++++++++++++++
2 files changed, 64 insertions(+)
diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
index 5e86384d95d3..1372d33f574b 100644
--- a/dev-python/h5py/Manifest
+++ b/dev-python/h5py/Manifest
@@ -1 +1,2 @@
DIST h5py-3.13.0.tar.gz 414876 BLAKE2B
4c46711c78c6d88a50e4dbb046b55cba003be87199fe25f74c2dfedd04503a79e1b0d3e01b353e8a02066f6824168f666d8a96b6a834093e165060da1402be36
SHA512
9f9f6aab8d4e82dcc64d8ae20e6ecdd894c37313c8234fd14b84af08afaf2847bdce1334e86026381dc45a3edf8f1954c6e8acfc553140f2bd42315f64a30b76
+DIST h5py-3.14.0.tar.gz 424323 BLAKE2B
4e8a2f78859aa4a9647a06f9319e79bc7f46d35029c02f7814d6c72fd2211c1d4c0cecdd7c14c3afc77a507e0bf98ef78009b2716f2d9cdbb152dd1578677088
SHA512
54e0054a542c8b62da90e15c110a153cc0cadc6cba1914074d35a6380f8b270ba051de860feb7e31c2ee3d4f09903e456c94e9faa3570764af0e36c480e1c44e
diff --git a/dev-python/h5py/h5py-3.14.0.ebuild
b/dev-python/h5py/h5py-3.14.0.ebuild
new file mode 100644
index 000000000000..0156e558c4d7
--- /dev/null
+++ b/dev-python/h5py/h5py-3.14.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{11..13} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Simple Python interface to HDF5 files"
+HOMEPAGE="
+ https://www.h5py.org/
+ https://github.com/h5py/h5py/
+ https://pypi.org/project/h5py/
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux ~arm64-macos
~x64-macos"
+IUSE="examples"
+
+DEPEND="
+ >=dev-python/numpy-1.17.3:=[${PYTHON_USEDEP}]
+ >=sci-libs/hdf5-1.10.4:=[hl(+)]
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+BDEPEND="
+ >=dev-python/cython-0.29.31[${PYTHON_USEDEP}]
+ >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}]
+ dev-python/pkgconfig[${PYTHON_USEDEP}]
+ test? (
+ dev-python/qtpy[testlib,${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs \
+ dev-python/sphinx-rtd-theme
+
+python_prepare_all() {
+ # avoid pytest-mpi dep, we do not use mpi anyway
+ sed -i -e 's:pytest-mpi::' pytest.ini || die
+ distutils-r1_python_prepare_all
+
+ export H5PY_SETUP_REQUIRES=0
+}
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+
+ cd "${BUILD_DIR}/install$(python_get_sitedir)" || die
+ epytest -m "not mpi"
+}
+
+python_install_all() {
+ use examples && dodoc -r examples
+ distutils-r1_python_install_all
+}