Skip to content

Commit

Permalink
dev-python/numpy: drop numpy/distutils/tests/test_ccompiler_opt.py
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
heroxbd committed Aug 5, 2023
1 parent 016e6cb commit a579f33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dev-python/numpy/numpy-1.24.4-r1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit a579f33

Please sign in to comment.