$ find /usr/lib*/python*/site-packages/numpy | xargs qfile -o /usr/lib64/python2.7/site-packages/numpy/core/tests/test_api.pyc /usr/lib64/python2.7/site-packages/numpy/core/tests/test_api.pyo /usr/lib64/python2.7/site-packages/numpy/core/tests/test_arrayprint.pyc /usr/lib64/python2.7/site-packages/numpy/core/tests/test_arrayprint.pyo /usr/lib64/python2.7/site-packages/numpy/core/tests/test_blasdot.pyc /usr/lib64/python2.7/site-packages/numpy/core/tests/test_blasdot.pyo /usr/lib64/python2.7/site-packages/numpy/core/tests/test_datetime.pyc /usr/lib64/python2.7/site-packages/numpy/core/tests/test_datetime.pyo i.e. tests are installed non-compiled, and therefore files are compiled at runtime and are orphaned.
commit 80b2e1b4def977bee9743d7bc52c01acf19fbb9a Author: David Seifert <soap@gentoo.org> Date: Tue Aug 30 19:24:34 2016 +0200 dev-python/numpy: Version bump Gentoo-bug: 590464, 591936 * Re-add py3.3 support to prevent depgraph breakage * Fix QA bug installing non-compiled files #590464 * Fix linking due to adding unnecessary -lblas to build system #591936 * Move dev-python/setuptools to DEPEND instead of RDEPEND
Upstream basically says this is by-design; nothing is supposed to import those modules.
commit a057d53552e566121889a566a862768e909d4d03 Author: Mike Gilbert <floppym@gentoo.org> Date: Tue Aug 30 19:42:19 2016 -0400 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 dev-python/numpy/numpy-1.11.1.ebuild | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)
(In reply to Mike Gilbert from comment #2) > Upstream basically says this is by-design; nothing is supposed to import > those modules. Then why is it shipped? Should the fix be not to install them?