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
This commit is contained in:
Mike Gilbert
2016-08-30 19:42:19 -04:00
parent 345c9680d8
commit a057d53552

View 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
}