From bf9c1d7b2e0f1fd3345c69a5d352a3fe2f86262f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 12 Oct 2021 23:11:01 -0700 Subject: 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 Signed-off-by: Trevor Gamblin --- meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb') diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb index 9708fc6262..36512cba9a 100644 --- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb +++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb @@ -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}/ } -- cgit v1.2.3-54-g00ecf