commit:     525eb57a74300894904c3f0ef358f45e3a4f6182
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 17 18:54:43 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Aug 17 18:54:43 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=525eb57a

dev-python/h5py: Add python 3.9

* Add 'sci-libs/hdf5' to DEPEND

Closes: https://bugs.gentoo.org/729368
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 dev-python/h5py/h5py-2.10.0-r1.ebuild | 25 ++++++++++++++-----------
 1 file changed, 14 insertions(+), 11 deletions(-)

diff --git a/dev-python/h5py/h5py-2.10.0-r1.ebuild 
b/dev-python/h5py/h5py-2.10.0-r1.ebuild
index 4196ed179b1..5ed817404c4 100644
--- a/dev-python/h5py/h5py-2.10.0-r1.ebuild
+++ b/dev-python/h5py/h5py-2.10.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{6,7,8} )
+PYTHON_COMPAT=( python3_{6..9} )
 
 inherit distutils-r1 flag-o-matic
 
@@ -11,30 +11,33 @@ DESCRIPTION="Simple Python interface to HDF5 files"
 HOMEPAGE="https://www.h5py.org";
 SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
-# disable mpi until mpi4py gets python3_8
-#IUSE="examples mpi"
-IUSE="examples"
-
 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(+)]
-RDEPEND="sci-libs/hdf5:=[hl(+)]
+RDEPEND="
+       sci-libs/hdf5:=[hl(+)]
        dev-python/numpy[${PYTHON_USEDEP}]
        dev-python/six[${PYTHON_USEDEP}]"
 
 BDEPEND="dev-python/pkgconfig[${PYTHON_USEDEP}]"
 #      mpi? ( virtual/mpi )
 
-DEPEND="dev-python/cython[${PYTHON_USEDEP}]
+DEPEND="
+       ${RDEPEND}
+       dev-python/cython[${PYTHON_USEDEP}]
        doc? ( dev-python/alabaster[${PYTHON_USEDEP}] )
-       test? ( dev-python/QtPy[testlib,${PYTHON_USEDEP}]
-               dev-python/cached-property[${PYTHON_USEDEP}] )"
+       test? (
+               dev-python/QtPy[testlib,${PYTHON_USEDEP}]
+               dev-python/cached-property[${PYTHON_USEDEP}]
+       )"
 #      mpi? ( dev-python/mpi4py[${PYTHON_USEDEP}] )
 
-PATCHES="${FILESDIR}/${P}-tests.patch"
-
+PATCHES=( "${FILESDIR}"/${P}-tests.patch )
 DOCS=( README.rst AUTHORS ANN.rst )
 
 distutils_enable_tests setup.py

Reply via email to