From: Mike Gilbert Date: Tue, 30 Aug 2016 23:42:19 +0000 (-0400) Subject: dev-python/numpy: disable "fix" for bug 590464 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a057d53552e566121889a566a862768e909d4d03;p=gentoo.git dev-python/numpy: disable "fix" for bug 590464 It's not clear what is creating the pyc files, and this is a pretty bad hack around it. Package-Manager: portage-2.3.0_p22 --- diff --git a/dev-python/numpy/numpy-1.11.1.ebuild b/dev-python/numpy/numpy-1.11.1.ebuild index 6ac6c963f034..720e6d0d94bf 100644 --- a/dev-python/numpy/numpy-1.11.1.ebuild +++ b/dev-python/numpy/numpy-1.11.1.ebuild @@ -114,14 +114,14 @@ python_prepare_all() { # of being bytecode compiled as a proper subdir package. # We trick the buildsystem into accepting it as a bytecode # package by adding a setup.py and an empty __init__.py - cp numpy/{compat/setup.py,core/tests} || die - touch numpy/core/tests/__init__.py || die - sed \ - -e 's:compat:tests:' \ - -i numpy/core/tests/setup.py || die - sed \ - -e "s:config\.add_data_dir('tests'):config\.add_subpackage('tests'):" \ - -i numpy/core/setup.py || die + #cp numpy/{compat/setup.py,core/tests} || die + #touch numpy/core/tests/__init__.py || die + #sed \ + # -e 's:compat:tests:' \ + # -i numpy/core/tests/setup.py || die + #sed \ + # -e "s:config\.add_data_dir('tests'):config\.add_subpackage('tests'):" \ + # -i numpy/core/setup.py || die distutils-r1_python_prepare_all }