summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/python/python/python2-manifest.json2
-rw-r--r--meta/recipes-devtools/python/python_2.7.15.bb3
2 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python/python2-manifest.json b/meta/recipes-devtools/python/python/python2-manifest.json
index 81f1c24f97..eb52e862ab 100644
--- a/meta/recipes-devtools/python/python/python2-manifest.json
+++ b/meta/recipes-devtools/python/python/python2-manifest.json
@@ -109,7 +109,7 @@
109 "core" 109 "core"
110 ], 110 ],
111 "files": [ 111 "files": [
112 "${bindir}/2to3", 112 "${bindir}/2to3*",
113 "${libdir}/python2.7/lib2to3" 113 "${libdir}/python2.7/lib2to3"
114 ] 114 ]
115 }, 115 },
diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb
index f462d08725..8df1dfd1ba 100644
--- a/meta/recipes-devtools/python/python_2.7.15.bb
+++ b/meta/recipes-devtools/python/python_2.7.15.bb
@@ -131,6 +131,9 @@ do_install() {
131 if [ -z "${@bb.utils.filter('PACKAGECONFIG', 'bdb', d)}" ]; then 131 if [ -z "${@bb.utils.filter('PACKAGECONFIG', 'bdb', d)}" ]; then
132 rm -rf ${D}/${libdir}/python${PYTHON_MAJMIN}/bsddb 132 rm -rf ${D}/${libdir}/python${PYTHON_MAJMIN}/bsddb
133 fi 133 fi
134
135 # Python 3.x version of 2to3 is now the default
136 mv ${D}/${bindir}/2to3 ${D}/${bindir}/2to3-${PYTHON_MAJMIN}
134} 137}
135 138
136do_install_append_class-nativesdk () { 139do_install_append_class-nativesdk () {