mirror of
https://git.yoctoproject.org/poky
synced 2026-02-09 02:03:04 +01:00
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:
committed by
Richard Purdie
parent
e2c3247c23
commit
d772d8bb1b
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user