dev-python/numpy: disable "fix" for bug 590464
authorMike Gilbert <floppym@gentoo.org>
Tue, 30 Aug 2016 23:42:19 +0000 (19:42 -0400)
committerMike Gilbert <floppym@gentoo.org>
Tue, 30 Aug 2016 23:42:19 +0000 (19:42 -0400)
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

dev-python/numpy/numpy-1.11.1.ebuild

index 6ac6c963f034bf85271fdb7df33ac1e2541bc7ca..720e6d0d94bf8ade421f09f69b18085c8a129953 100644 (file)
@@ -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
 }