From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1719621-garchives=archives.gentoo.org@lists.gentoo.org> Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BF9BB1582EF for <garchives@archives.gentoo.org>; Thu, 20 Feb 2025 05:06:44 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id A0D6134314A for <garchives@archives.gentoo.org>; Thu, 20 Feb 2025 05:06:44 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 0B4D211047F; Thu, 20 Feb 2025 05:06:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id EDCD411047F for <gentoo-commits@lists.gentoo.org>; Thu, 20 Feb 2025 05:06:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A5F5E3430A5 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Feb 2025 05:06:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3239F27F5 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Feb 2025 05:06:03 +0000 (UTC) From: "Michał Górny" <mgorny@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" <mgorny@gentoo.org> Message-ID: <1740027514.abcd7f60985a1e8129816c3873091e4a543c452b.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/h5py/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/h5py/Manifest dev-python/h5py/h5py-3.13.0.ebuild X-VCS-Directories: dev-python/h5py/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: abcd7f60985a1e8129816c3873091e4a543c452b X-VCS-Branch: master Date: Thu, 20 Feb 2025 05:06:03 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 257a7d55-6c70-4487-8e7a-23601db4f760 X-Archives-Hash: a4d2765b819199e2904d230964644b39 commit: abcd7f60985a1e8129816c3873091e4a543c452b Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Thu Feb 20 04:50:55 2025 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Thu Feb 20 04:58:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abcd7f60 dev-python/h5py: Bump to 3.13.0 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/h5py/Manifest | 1 + dev-python/h5py/h5py-3.13.0.ebuild | 63 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index 8e3e2b3fd531..3c76923b4025 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1 +1,2 @@ DIST h5py-3.12.1.tar.gz 411457 BLAKE2B c8e2bb453b9f7f1a79b9061ec3564bd8f1175c286a163b43f340cb9fc93f0e279131e4ed658066b870237046766aaff1289f22d84ee318108c96840d257baafa SHA512 a96dc5b7a14408c73db3ef758e0d3cff5d4469d6efe19a71af69e049f434aa62f01fbf44464cc5a3d15b89f00b9864cbb42b1b1e59bf3f520b458007f8819cd3 +DIST h5py-3.13.0.tar.gz 414876 BLAKE2B 4c46711c78c6d88a50e4dbb046b55cba003be87199fe25f74c2dfedd04503a79e1b0d3e01b353e8a02066f6824168f666d8a96b6a834093e165060da1402be36 SHA512 9f9f6aab8d4e82dcc64d8ae20e6ecdd894c37313c8234fd14b84af08afaf2847bdce1334e86026381dc45a3edf8f1954c6e8acfc553140f2bd42315f64a30b76 diff --git a/dev-python/h5py/h5py-3.13.0.ebuild b/dev-python/h5py/h5py-3.13.0.ebuild new file mode 100644 index 000000000000..45485b140535 --- /dev/null +++ b/dev-python/h5py/h5py-3.13.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_{10..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 +}