[oe-commits] [openembedded-core] 01/02: python-nose: python3-nose should be default

git at git.openembedded.org git at git.openembedded.org
Tue Jun 11 12:34:02 UTC 2019

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

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

commit 5843da9df75e797f4dc442265cf910974f556901
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Jun 11 11:10:40 2019 +0100

    python-nose: python3-nose should be default
    We have nose recipes for both Py2 and Py3, but they both want to ship the
    unversioned nosetest binary.  As Py2 is approaching EOL, remove the unversioned
    binary from python-nose (leaving nosetest-2.7) instead of renaming the binary to
    nosetest3 in python3-nose.
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
 meta/recipes-devtools/python/python-nose_1.3.7.bb  | 4 ++++
 meta/recipes-devtools/python/python3-nose_1.3.7.bb | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-devtools/python/python-nose_1.3.7.bb b/meta/recipes-devtools/python/python-nose_1.3.7.bb
index 6d69d2d..fab609d 100644
--- a/meta/recipes-devtools/python/python-nose_1.3.7.bb
+++ b/meta/recipes-devtools/python/python-nose_1.3.7.bb
@@ -1,2 +1,6 @@
 inherit setuptools
 require python-nose.inc
+do_install_append() {
+    rm ${D}${bindir}/nosetests
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 8bc1f49..13dbf96 100644
--- a/meta/recipes-devtools/python/python3-nose_1.3.7.bb
+++ b/meta/recipes-devtools/python/python3-nose_1.3.7.bb
@@ -1,6 +1,2 @@
 inherit setuptools3
 require python-nose.inc
-do_install_append() {
-    mv ${D}${bindir}/nosetests ${D}${bindir}/nosetests3

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

More information about the Openembedded-commits mailing list