commit:     a579f33eee1d71250cbb418c39ae0179449bd940
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sat Aug  5 07:00:03 2023 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sat Aug  5 07:02:03 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a579f33e

dev-python/numpy: drop numpy/distutils/tests/test_ccompiler_opt.py

This test is useless to Gentoo.  Portage should control all the
CFLAGS, not letting NumPy distutils do the guesses.

Closes: https://bugs.gentoo.org/910738

Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-python/numpy/numpy-1.24.4-r1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/numpy/numpy-1.24.4-r1.ebuild 
b/dev-python/numpy/numpy-1.24.4-r1.ebuild
index 1320287bdbe2..5db2ffe20ea8 100644
--- a/dev-python/numpy/numpy-1.24.4-r1.ebuild
+++ b/dev-python/numpy/numpy-1.24.4-r1.ebuild
@@ -110,6 +110,7 @@ python_prepare_all() {
        gawk -i inplace -v "enabled_flags=${enabled_flags[*]}" \
                -f "${FILESDIR}"/replace_cpuflags.awk \
                numpy/distutils/ccompiler_opt.py || die
+       rm -f numpy/distutils/tests/test_ccompiler_opt.py || die
 
        distutils-r1_python_prepare_all
 }

Reply via email to