commit:     3f97c718845e0444a1113dc9bf4385c083764f8a
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  8 12:33:43 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Mar  8 12:35:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f97c718

dev-python/h5py: Disable setup_requires the easy way

Thanks to Thomas Kluyver for the suggestion.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/h5py/h5py-3.2.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/h5py/h5py-3.2.1.ebuild 
b/dev-python/h5py/h5py-3.2.1.ebuild
index df2504fb79d..82dc31d6252 100644
--- a/dev-python/h5py/h5py-3.2.1.ebuild
+++ b/dev-python/h5py/h5py-3.2.1.ebuild
@@ -46,11 +46,11 @@ distutils_enable_sphinx docs \
 #}
 
 python_prepare_all() {
-       # fix other numpy dep to be >=
-       sed -i -e '/numpy/s:==:>=:' setup.py || die
        # 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() {

Reply via email to