From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DED2F158090 for ; Wed, 25 May 2022 07:12:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E195DE092C; Wed, 25 May 2022 07:12:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 pigeon.gentoo.org (Postfix) with ESMTPS id CAC24E092C for ; Wed, 25 May 2022 07:12:46 +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 592EF34190A for ; Wed, 25 May 2022 07:12:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D411B4E3 for ; Wed, 25 May 2022 07:12:42 +0000 (UTC) From: "Michał Górny" 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" Message-ID: <1653462756.19a99f5ce0d06dde9e88dc37fb6c20d091b787bb.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.7.0.ebuild X-VCS-Directories: dev-python/h5py/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 19a99f5ce0d06dde9e88dc37fb6c20d091b787bb X-VCS-Branch: master Date: Wed, 25 May 2022 07:12:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9c79ccd7-2b36-40df-8d15-1225adca1c64 X-Archives-Hash: dc47cafc7786ebdb238c3480430274e5 commit: 19a99f5ce0d06dde9e88dc37fb6c20d091b787bb Author: Michał Górny gentoo org> AuthorDate: Wed May 25 05:48:51 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 25 07:12:36 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19a99f5c dev-python/h5py: Bump to 3.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/h5py/Manifest | 1 + dev-python/h5py/h5py-3.7.0.ebuild | 70 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 71 insertions(+) diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest index cc86231dc78e..1b82f041ba24 100644 --- a/dev-python/h5py/Manifest +++ b/dev-python/h5py/Manifest @@ -1,2 +1,3 @@ DIST h5py-3.3.0.tar.gz 380221 BLAKE2B 0fd44e780304f0d56e8fd8fd0f42142c80935fa7cc3e6c53ff68860f32755d3d5e576fc283bb9b21e9d7dfb905bdeed6656eeaa33e48cefd34de86fde3efa49d SHA512 f1ce944375da3db65829e8a9d667ee7ffa2f863e408aa4ccac0de9d999e0710ebcb1e116537616649fcfd05731cad3cbd968c9593f0ba0fd4348ee06c74d9dae DIST h5py-3.6.0.tar.gz 384160 BLAKE2B 354764bb002cd342623aa962de88a24ee45156c0a2d61088508017980e407e90f85e65da9d3e29a6745dbca754ba1708700fbea4f4123a10a620bc758cbaa3ae SHA512 f3a108d16578ced552fcac4fceb7f3180ee71a3c8f6caa8702fd9989728d8284afb9d85f1239648e10d14f3532c772f46d05f8306bb8b305d98b162d7604683b +DIST h5py-3.7.0.tar.gz 392355 BLAKE2B efc974ff14457ef00329c6b2adf5b926e2dff33bbb4b9e9d60773760a973214c5279bfafca87c6fcab02bbffb85b780c708d26fb55a1e7a401d8d676f20acc15 SHA512 c10a9a623c88dbc965238cb2057b8924492c762c29610cfdb24f26f878a7322e414d3e5c90d750c2f5cfe1b4949f884bc17f09a126b01a4721ad6e14761174a2 diff --git a/dev-python/h5py/h5py-3.7.0.ebuild b/dev-python/h5py/h5py-3.7.0.ebuild new file mode 100644 index 000000000000..c6245c6d9fd4 --- /dev/null +++ b/dev-python/h5py/h5py-3.7.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 + +DESCRIPTION="Simple Python interface to HDF5 files" +HOMEPAGE=" + https://www.h5py.org/ + https://github.com/h5py/h5py/ + https://pypi.org/project/h5py/ +" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +# disable mpi until mpi4py gets python3_8 +#IUSE="examples mpi" +IUSE="examples" + +#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)] +DEPEND=" + sci-libs/hdf5:=[hl(+)] +" +RDEPEND=" + ${DEPEND} + >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] +" + +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + >=dev-python/numpy-1.14.5[${PYTHON_USEDEP}] + dev-python/pkgconfig[${PYTHON_USEDEP}] + test? ( + dev-python/QtPy[testlib,${PYTHON_USEDEP}] + ) +" +# mpi? ( virtual/mpi ) +# mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] ) + +distutils_enable_tests pytest +distutils_enable_sphinx docs \ + dev-python/alabaster + +#pkg_setup() { +# use mpi && export CC=mpicc +#} + +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() { + 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 +}