mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
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().
(From OE-Core rev: a625899c4de4f8ec030ade09686f0c7c0e624a50)
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandr@xilinx.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
621bf4ef68
commit
4b26e42b97
@@ -4,3 +4,7 @@ require python-numpy.inc
|
||||
RDEPENDS_${PN}_class-target_append = " \
|
||||
${PYTHON_PN}-subprocess \
|
||||
"
|
||||
|
||||
do_install_append(){
|
||||
rm ${D}/${bindir}/f2py
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user