Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/h5py/
Date: Mon, 30 May 2022 20:38:27
Message-Id: 1653943096.3cda966009427e56062f1b07db83182f265e7809.mgorny@gentoo
1 commit: 3cda966009427e56062f1b07db83182f265e7809
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 30 20:10:52 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 30 20:38:16 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cda9660
7
8 dev-python/h5py: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/h5py/Manifest | 1 -
13 dev-python/h5py/h5py-3.3.0.ebuild | 61 ---------------------------------------
14 2 files changed, 62 deletions(-)
15
16 diff --git a/dev-python/h5py/Manifest b/dev-python/h5py/Manifest
17 index 1b82f041ba24..4a21a685da16 100644
18 --- a/dev-python/h5py/Manifest
19 +++ b/dev-python/h5py/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST h5py-3.3.0.tar.gz 380221 BLAKE2B 0fd44e780304f0d56e8fd8fd0f42142c80935fa7cc3e6c53ff68860f32755d3d5e576fc283bb9b21e9d7dfb905bdeed6656eeaa33e48cefd34de86fde3efa49d SHA512 f1ce944375da3db65829e8a9d667ee7ffa2f863e408aa4ccac0de9d999e0710ebcb1e116537616649fcfd05731cad3cbd968c9593f0ba0fd4348ee06c74d9dae
22 DIST h5py-3.6.0.tar.gz 384160 BLAKE2B 354764bb002cd342623aa962de88a24ee45156c0a2d61088508017980e407e90f85e65da9d3e29a6745dbca754ba1708700fbea4f4123a10a620bc758cbaa3ae SHA512 f3a108d16578ced552fcac4fceb7f3180ee71a3c8f6caa8702fd9989728d8284afb9d85f1239648e10d14f3532c772f46d05f8306bb8b305d98b162d7604683b
23 DIST h5py-3.7.0.tar.gz 392355 BLAKE2B efc974ff14457ef00329c6b2adf5b926e2dff33bbb4b9e9d60773760a973214c5279bfafca87c6fcab02bbffb85b780c708d26fb55a1e7a401d8d676f20acc15 SHA512 c10a9a623c88dbc965238cb2057b8924492c762c29610cfdb24f26f878a7322e414d3e5c90d750c2f5cfe1b4949f884bc17f09a126b01a4721ad6e14761174a2
24
25 diff --git a/dev-python/h5py/h5py-3.3.0.ebuild b/dev-python/h5py/h5py-3.3.0.ebuild
26 deleted file mode 100644
27 index edb9f5089319..000000000000
28 --- a/dev-python/h5py/h5py-3.3.0.ebuild
29 +++ /dev/null
30 @@ -1,61 +0,0 @@
31 -# Copyright 1999-2021 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python3_{8..10} )
37 -inherit distutils-r1
38 -
39 -DESCRIPTION="Simple Python interface to HDF5 files"
40 -HOMEPAGE="https://www.h5py.org"
41 -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
42 -
43 -LICENSE="BSD"
44 -SLOT="0"
45 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
46 -# disable mpi until mpi4py gets python3_8
47 -#IUSE="examples mpi"
48 -IUSE="examples"
49 -
50 -#RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
51 -DEPEND="sci-libs/hdf5:=[hl(+)]"
52 -RDEPEND="${DEPEND}
53 - dev-python/numpy[${PYTHON_USEDEP}]"
54 -
55 -BDEPEND="
56 - dev-python/cython[${PYTHON_USEDEP}]
57 - dev-python/numpy[${PYTHON_USEDEP}]
58 - dev-python/pkgconfig[${PYTHON_USEDEP}]
59 - test? (
60 - dev-python/QtPy[testlib,${PYTHON_USEDEP}]
61 - )"
62 -# mpi? ( virtual/mpi )
63 -# mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
64 -
65 -distutils_enable_tests pytest
66 -distutils_enable_sphinx docs \
67 - dev-python/alabaster
68 -
69 -#pkg_setup() {
70 -# use mpi && export CC=mpicc
71 -#}
72 -
73 -python_prepare_all() {
74 - # avoid pytest-mpi dep, we do not use mpi anyway
75 - sed -i -e 's:pytest-mpi::' pytest.ini || die
76 - distutils-r1_python_prepare_all
77 -
78 - export H5PY_SETUP_REQUIRES=0
79 -}
80 -
81 -python_test() {
82 - cd "${BUILD_DIR}/lib" || die
83 - epytest -m "not mpi"
84 - rm -rf .hypothesis .pytest_cache || die
85 -}
86 -
87 -python_install_all() {
88 - use examples && dodoc -r examples
89 -
90 - distutils-r1_python_install_all
91 -}