summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2018-02-06 11:48:22 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-03-04 11:11:58 +0000
commitc1e1633bf1788a83dac73c5aae8bf1e4b9231657 (patch)
treeff4eb81882ed70cb05f1c1450d0472a0096dd05a
parent7b9dfc4c1542b2ba7457b8684fc31cfac837d94c (diff)
downloadpoky-c1e1633bf1788a83dac73c5aae8bf1e4b9231657.tar.gz
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: cf20f8879e0bb4f641a4c14a1326ff640496fea1) Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Martin Kelly <mkelly@xevo.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-devtools/python/python3-nose_1.3.7.bb4
1 files changed, 4 insertions, 0 deletions
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 99bba4403f..1e2ff74f57 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}"
17 17
18inherit setuptools3 18inherit setuptools3
19 19
20do_install_append() {
21 mv ${D}${bindir}/nosetests ${D}${bindir}/nosetests3
22}
23
20RDEPENDS_${PN}_class-target = "\ 24RDEPENDS_${PN}_class-target = "\
21 python3-unittest \ 25 python3-unittest \
22 " 26 "