From: Alexander Kanavin <alex.kanavin@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 3/3] python: make the python 3.x version of 2to3 utility the default one
Date: Tue, 5 Feb 2019 17:26:09 +0100 [thread overview]
Message-ID: <20190205162609.69096-3-alex.kanavin@gmail.com> (raw)
In-Reply-To: <20190205162609.69096-1-alex.kanavin@gmail.com>
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
---
meta/recipes-devtools/python/python/python2-manifest.json | 2 +-
meta/recipes-devtools/python/python_2.7.15.bb | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/python/python/python2-manifest.json b/meta/recipes-devtools/python/python/python2-manifest.json
index 81f1c24f97a..eb52e862ab3 100644
--- a/meta/recipes-devtools/python/python/python2-manifest.json
+++ b/meta/recipes-devtools/python/python/python2-manifest.json
@@ -109,7 +109,7 @@
"core"
],
"files": [
- "${bindir}/2to3",
+ "${bindir}/2to3*",
"${libdir}/python2.7/lib2to3"
]
},
diff --git a/meta/recipes-devtools/python/python_2.7.15.bb b/meta/recipes-devtools/python/python_2.7.15.bb
index f462d087251..8df1dfd1ba6 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() {
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 () {
--
2.17.1
next prev parent reply other threads:[~2019-02-05 16:26 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-05 16:26 [PATCH 1/3] python3: upgrade to 3.7.2 Alexander Kanavin
2019-02-05 16:26 ` [PATCH 2/3] python3: delete old 3.5.6 version Alexander Kanavin
2019-02-05 16:26 ` Alexander Kanavin [this message]
2019-02-05 17:09 ` [PATCH 1/3] python3: upgrade to 3.7.2 Alexander Kanavin
-- strict thread matches above, loose matches on Subject: below --
2019-02-06 16:26 Alexander Kanavin
2019-02-06 16:26 ` [PATCH 3/3] python: make the python 3.x version of 2to3 utility the default one Alexander Kanavin
2019-02-04 15:18 [PATCH 1/3] python3: upgrade to 3.7.2 Alexander Kanavin
2019-02-04 15:18 ` [PATCH 3/3] python: make the python 3.x version of 2to3 utility the default one Alexander Kanavin
2019-02-04 14:55 [PATCH 1/3] python3: upgrade to 3.7.2 Alexander Kanavin
2019-02-04 14:55 ` [PATCH 3/3] python: make the python 3.x version of 2to3 utility the default one Alexander Kanavin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190205162609.69096-3-alex.kanavin@gmail.com \
--to=alex.kanavin@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox