]> code.ossystems Code Review - openembedded-core.git/commit
python-numpy: Avoid installing copy of f2py script
authorAlejandro Enedino Hernandez Samaniego <alejandro.enedino.hernandez-samaniego@xilinx.com>
Fri, 17 May 2019 23:49:12 +0000 (16:49 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 May 2019 11:56:16 +0000 (12:56 +0100)
commita625899c4de4f8ec030ade09686f0c7c0e624a50
treeb77b9db5c92ec2f4e42cbfb9e771d2049c83d363
parenta9f62ea2c380375c749a28405708bfdb7754f51f
python-numpy: Avoid installing copy of f2py script

Both python-numpy and python3-numpy try to install the file:

${D}/${bindir}/f2py

which causes an error during do_rootfs since the package manager complains about that.

The numpy packages create basically copies of f2py script with the following names:
f2py (on both)
f2py2 (on python 2)
f2py2.7 (on python 2)
f2py3 (on python 3)
f2py3.7 (on python 3)

Remove the copy of f2py from python-numpy in favor of using the one from python3
to avoid installation issues at do_rootfs().

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python-numpy/python-numpy_1.16.3.bb