Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/h5py/
Date: Mon, 17 Aug 2020 18:55:16
Message-Id: 1597690483.525eb57a74300894904c3f0ef358f45e3a4f6182.soap@gentoo
1 commit: 525eb57a74300894904c3f0ef358f45e3a4f6182
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 17 18:54:43 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 17 18:54:43 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525eb57a
7
8 dev-python/h5py: Add python 3.9
9
10 * Add 'sci-libs/hdf5' to DEPEND
11
12 Closes: https://bugs.gentoo.org/729368
13 Package-Manager: Portage-3.0.3, Repoman-3.0.0
14 Signed-off-by: David Seifert <soap <AT> gentoo.org>
15
16 dev-python/h5py/h5py-2.10.0-r1.ebuild | 25 ++++++++++++++-----------
17 1 file changed, 14 insertions(+), 11 deletions(-)
18
19 diff --git a/dev-python/h5py/h5py-2.10.0-r1.ebuild b/dev-python/h5py/h5py-2.10.0-r1.ebuild
20 index 4196ed179b1..5ed817404c4 100644
21 --- a/dev-python/h5py/h5py-2.10.0-r1.ebuild
22 +++ b/dev-python/h5py/h5py-2.10.0-r1.ebuild
23 @@ -3,7 +3,7 @@
24
25 EAPI=7
26
27 -PYTHON_COMPAT=( python3_{6,7,8} )
28 +PYTHON_COMPAT=( python3_{6..9} )
29
30 inherit distutils-r1 flag-o-matic
31
32 @@ -11,30 +11,33 @@ DESCRIPTION="Simple Python interface to HDF5 files"
33 HOMEPAGE="https://www.h5py.org"
34 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
35
36 -# disable mpi until mpi4py gets python3_8
37 -#IUSE="examples mpi"
38 -IUSE="examples"
39 -
40 LICENSE="BSD"
41 SLOT="0"
42 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
43 +# disable mpi until mpi4py gets python3_8
44 +#IUSE="examples mpi"
45 +IUSE="examples"
46
47 #RDEPEND="sci-libs/hdf5:=[mpi=,hl(+)]
48 -RDEPEND="sci-libs/hdf5:=[hl(+)]
49 +RDEPEND="
50 + sci-libs/hdf5:=[hl(+)]
51 dev-python/numpy[${PYTHON_USEDEP}]
52 dev-python/six[${PYTHON_USEDEP}]"
53
54 BDEPEND="dev-python/pkgconfig[${PYTHON_USEDEP}]"
55 # mpi? ( virtual/mpi )
56
57 -DEPEND="dev-python/cython[${PYTHON_USEDEP}]
58 +DEPEND="
59 + ${RDEPEND}
60 + dev-python/cython[${PYTHON_USEDEP}]
61 doc? ( dev-python/alabaster[${PYTHON_USEDEP}] )
62 - test? ( dev-python/QtPy[testlib,${PYTHON_USEDEP}]
63 - dev-python/cached-property[${PYTHON_USEDEP}] )"
64 + test? (
65 + dev-python/QtPy[testlib,${PYTHON_USEDEP}]
66 + dev-python/cached-property[${PYTHON_USEDEP}]
67 + )"
68 # mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
69
70 -PATCHES="${FILESDIR}/${P}-tests.patch"
71 -
72 +PATCHES=( "${FILESDIR}"/${P}-tests.patch )
73 DOCS=( README.rst AUTHORS ANN.rst )
74
75 distutils_enable_tests setup.py