From: Denys Dmytriyenko Date: Tue, 9 May 2017 19:31:54 +0000 (-0400) Subject: python3-nose: rename ${bindir}/nosetests into ${bindir}/nosetests3 X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~21390 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a3247d38939392bfdcb3eff1da7a1e08eff35f9;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Denys Dmytriyenko Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/python/python3-nose_1.3.7.bb b/meta/recipes-devtools/python/python3-nose_1.3.7.bb index 99bba4403f4..1e2ff74f578 100644 --- a/meta/recipes-devtools/python/python3-nose_1.3.7.bb +++ b/meta/recipes-devtools/python/python3-nose_1.3.7.bb @@ -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 \ "