Skip to contentSkip to conversation

python-nose: python3-nose should be default

PATCH New Ross Burton 1 participant 1 message Jun 11, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 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(-)
meta/recipes-devtools/python/python-nose_1.3.7.bb +4 -0
index 6d69d2d62e2..fab609df901 100644
@@ -1,2 +1,6 @@
 inherit setuptools
 require python-nose.inc
+
+do_install_append() {
+    rm ${D}${bindir}/nosetests
+}
meta/recipes-devtools/python/python3-nose_1.3.7.bb +0 -4
index 8bc1f49835e..13dbf96179a 100644
@@ -1,6 +1,2 @@
 inherit setuptools3
 require python-nose.inc
-
-do_install_append() {
-    mv ${D}${bindir}/nosetests ${D}${bindir}/nosetests3
-}
Signature · 1 line
2.11.0