dev-python/numpy: Fix installing generated files
authorMichał Górny <mgorny@gentoo.org>
Fri, 17 Apr 2020 11:50:35 +0000 (13:50 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 17 Apr 2020 14:10:01 +0000 (16:10 +0200)
Closes: https://bugs.gentoo.org/717502
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/numpy/numpy-1.16.5-r1.ebuild [moved from dev-python/numpy/numpy-1.16.5.ebuild with 98% similarity]
dev-python/numpy/numpy-1.17.4-r3.ebuild [moved from dev-python/numpy/numpy-1.17.4-r2.ebuild with 97% similarity]

similarity index 98%
rename from dev-python/numpy/numpy-1.16.5.ebuild
rename to dev-python/numpy/numpy-1.16.5-r1.ebuild
index a0a04127fa08f478800ae154f768d4131d2ad56a..004a300c5bf472a33ba1a338927044571fa3ff10 100644 (file)
@@ -142,6 +142,8 @@ sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
 }
 
 python_install() {
+       # https://github.com/numpy/numpy/issues/16005
+       local mydistutilsargs=( build_src )
        distutils-r1_python_install ${NUMPY_FCONFIG}
 }
 
similarity index 97%
rename from dev-python/numpy/numpy-1.17.4-r2.ebuild
rename to dev-python/numpy/numpy-1.17.4-r3.ebuild
index 4819a92336117016ec84ccfed8ca101b1c52b346..9022b85de1631dd7ba5a5bf952dc6fc096d4bd79 100644 (file)
@@ -123,6 +123,8 @@ sys.exit(0 if r else 1)" || die "Tests fail with ${EPYTHON}"
 }
 
 python_install() {
+       # https://github.com/numpy/numpy/issues/16005
+       local mydistutilsargs=( build_src )
        distutils-r1_python_install ${NUMPY_FCONFIG}
        python_optimize
 }