python: make the python 3.x version of 2to3 utility the default one

(From OE-Core rev: 98ba7ba8c5bc091f5cc590299f1a636c9b8dc1f5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2019-02-06 17:26:36 +01:00
committed by Richard Purdie
parent e2c3247c23
commit d772d8bb1b
2 changed files with 4 additions and 1 deletions

View File

@@ -131,6 +131,9 @@ do_install() {
if [ -z "${@bb.utils.filter('PACKAGECONFIG', 'bdb', d)}" ]; then
rm -rf ${D}/${libdir}/python${PYTHON_MAJMIN}/bsddb
fi
# Python 3.x version of 2to3 is now the default
mv ${D}/${bindir}/2to3 ${D}/${bindir}/2to3-${PYTHON_MAJMIN}
}
do_install_append_class-nativesdk () {