From c0113a4afabe7be18c2898f87e9ceca1e4c7253e Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 12 Oct 2021 23:19:39 -0700 Subject: [PATCH] python3-parse-type: Do not ask for 2to3 It seems to work fine with py3 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../recipes-devtools/python/python3-parse-type_0.5.2.bb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb b/meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb index 39812a17cd..7eebbfb503 100644 --- a/meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb +++ b/meta-python/recipes-devtools/python/python3-parse-type_0.5.2.bb @@ -19,6 +19,11 @@ RDEPENDS:${PN}-ptest += " \ ${PYTHON_PN}-pytest \ " +do_configure:prepend() { + sed -i -e "/python_version >= 3.0/d" ${S}/setup.py + sed -i -e "/use_2to3/d" ${S}/setup.py +} + do_install_ptest() { install -d ${D}${PTEST_PATH}/tests cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/