python3-parse-type: Do not ask for 2to3

It seems to work fine with py3

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Khem Raj 2021-10-12 23:19:39 -07:00
parent bf9c1d7b2e
commit c0113a4afa

View File

@ -19,6 +19,11 @@ RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \ ${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() { do_install_ptest() {
install -d ${D}${PTEST_PATH}/tests install -d ${D}${PTEST_PATH}/tests
cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/ cp -rf ${S}/tests/* ${D}${PTEST_PATH}/tests/