diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-28 11:20:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2024-09-28 11:20:33 +0000 |
| commit | 267c6b1fcee2052fff5dcc8cb6a09b65bf15fc02 (patch) | |
| tree | 50c9b94d75da31b88e833ac64e318e58f706d800 /dev-python/h5py | |
| parent | cb8cf8b29dd05b643700139d6f9d3c3aa8838543 (diff) | |
| download | baldeagleos-repo-267c6b1fcee2052fff5dcc8cb6a09b65bf15fc02.tar.gz baldeagleos-repo-267c6b1fcee2052fff5dcc8cb6a09b65bf15fc02.tar.xz baldeagleos-repo-267c6b1fcee2052fff5dcc8cb6a09b65bf15fc02.zip | |
Adding metadata
Diffstat (limited to 'dev-python/h5py')
| -rw-r--r-- | dev-python/h5py/Manifest | 1 | ||||
| -rw-r--r-- | dev-python/h5py/h5py-3.11.0-r1.ebuild | 2 | ||||
| -rw-r--r-- | dev-python/h5py/h5py-3.12.1.ebuild | 63 |
3 files changed, 65 insertions, 1 deletions
diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index 39fe84b7e467..753cf8843a03 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,2 +1,3 @@ DIST h5py-3.10.0-cython3.patch.xz 3868 BLAKE2B 3c0d952bdca5307ebf0bf878c26b94d0593bb89ac538a51017fb94e1e488bffc1583dcf4e713005b87d1b5e20d7b73043b24d65404faf60fb69515e598ca2133 SHA512 a0a0e3d1a9bccad1c89aa7efe3ba1e080eb70cae1f42f8de1021c212817970eaaa7070131e8e39859eea3c18d6c1243a17e7f53f2179f34ff6c406b315bab8fa DIST h5py-3.11.0.tar.gz 406519 BLAKE2B a5568c96290eee1f6da965174b6fa398f94e2e1825ec4ec50efd856b37ccf2bf634cfeb32101c7c53712fe9c68b0617774e9339a3f0d9373d3df24e6763a20cf SHA512 05d99093d5e7c280779b4167bd3594488dfc348b800da95c2275ddc8d77b4208fd1353942bf8863c4859d0208e8aa8bf84e628b3c5942eb947ecdcf0a7d19e88 +DIST h5py-3.12.1.tar.gz 411457 BLAKE2B c8e2bb453b9f7f1a79b9061ec3564bd8f1175c286a163b43f340cb9fc93f0e279131e4ed658066b870237046766aaff1289f22d84ee318108c96840d257baafa SHA512 a96dc5b7a14408c73db3ef758e0d3cff5d4469d6efe19a71af69e049f434aa62f01fbf44464cc5a3d15b89f00b9864cbb42b1b1e59bf3f520b458007f8819cd3 diff --git a/dev-python/h5py/h5py-3.11.0-r1.ebuild b/dev-python/h5py/h5py-3.11.0-r1.ebuild index 7d81cdf63bf1..8bf6f741039d 100644 --- a/dev-python/h5py/h5py-3.11.0-r1.ebuild +++ b/dev-python/h5py/h5py-3.11.0-r1.ebuild @@ -5,7 +5,7 @@ EAPI=8 DISTUTILS_EXT=1 DISTUTILS_USE_PEP517=setuptools -PYTHON_COMPAT=( python3_{8,9,10,11,12} ) +PYTHON_COMPAT=( python3_{9,10,11,12,13} ) inherit distutils-r1 pypi diff --git a/dev-python/h5py/h5py-3.12.1.ebuild b/dev-python/h5py/h5py-3.12.1.ebuild new file mode 100644 index 000000000000..fe6a4e449e31 --- /dev/null +++ b/dev-python/h5py/h5py-3.12.1.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 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_{9,10,11,12,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 +} |
