[oe-commits] [openembedded-core] 22/43: python3-nose: rename ${bindir}/nosetests into ${bindir}/nosetests3

git at git.openembedded.org git at git.openembedded.org
Sat Mar 3 08:36:23 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch pyro-next
in repository openembedded-core.

commit cf20f8879e0bb4f641a4c14a1326ff640496fea1
Author: Denys Dmytriyenko <denys at ti.com>
AuthorDate: Tue Feb 6 11:48:22 2018 -0800

    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 <denys at ti.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Martin Kelly <mkelly at xevo.com>
    Signed-off-by: Armin Kuster <akuster808 at gmail.com>
---
 meta/recipes-devtools/python/python3-nose_1.3.7.bb | 4 ++++
 1 file changed, 4 insertions(+)

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 99bba44..1e2ff74 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 \
   "

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list