1
0
mirror of https://git.yoctoproject.org/poky synced 2026-04-20 11:28:58 +00:00

python3-nose: rename ${bindir}/nosetests into ${bindir}/nosetests3

This resolves a conflict when both python-nose and python3-nose are pulled
into an image and try to install ${bindir}/nosetests binary.

This matches with how other distros are solving this problem, e.g. Debian:
https://packages.debian.org/jessie/all/python3-nose/filelist

Also, other packages like python3-setuptools are already doing the same with
their binaries.

(From OE-Core rev: 1a3247d38939392bfdcb3eff1da7a1e08eff35f9)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Denys Dmytriyenko
2017-05-09 15:31:54 -04:00
committed by Richard Purdie
parent f9fc722182
commit 1dda475da9

View File

@@ -17,6 +17,10 @@ S = "${WORKDIR}/nose-${PV}"
inherit setuptools3
do_install_append() {
mv ${D}${bindir}/nosetests ${D}${bindir}/nosetests3
}
RDEPENDS_${PN}_class-target = "\
python3-unittest \
"