mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
python3-simpleeval: Remove use_2to3
package works with py2 and py3, there is no need to use 2to3 See https://github.com/jobsta/simpleeval/commit/4ea1a5d15d449ab805bae042a698b381ddefd5b1 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
@@ -17,7 +17,9 @@ SRC_URI += " \
|
|||||||
RDEPENDS:${PN}-ptest += " \
|
RDEPENDS:${PN}-ptest += " \
|
||||||
${PYTHON_PN}-pytest \
|
${PYTHON_PN}-pytest \
|
||||||
"
|
"
|
||||||
|
do_configure:prepend() {
|
||||||
|
sed -i -e "/use_2to3=True,/d" ${S}/setup.py
|
||||||
|
}
|
||||||
do_install_ptest() {
|
do_install_ptest() {
|
||||||
cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/
|
cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user