python3-simpleeval: Remove use_2to3

package works with py2 and py3, there is no need to use 2to3
See
4ea1a5d15d

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:11:01 -07:00
parent 55534f9d10
commit bf9c1d7b2e

View File

@ -17,7 +17,9 @@ SRC_URI += " \
RDEPENDS:${PN}-ptest += " \
${PYTHON_PN}-pytest \
"
do_configure:prepend() {
sed -i -e "/use_2to3=True,/d" ${S}/setup.py
}
do_install_ptest() {
cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/
}