python-nose: python3-nose should be default
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.
Signed-off-by Ross Burton <[email protected]>
--- 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
@@ -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
@@ -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