From 904c89eaa2e35cb69932b8492e6c2085789ec531 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 20 Jan 2022 13:40:26 +0200 Subject: python3-simpleeval: Upgrade 0.9.10 -> 0.9.12 Upgrade to release 0.9.12: - Remove Cyclic references (memory leak) - Add left & right shift operations (<< and >>) - Switch to GH actions & CodeCov.io for CI tests - Add extra contributors details - Reformat w/ Black + isort, and have linting of those in CI Signed-off-by: Leon Anavi Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- .../python/python3-simpleeval_0.9.10.bb | 25 ------------------ .../python/python3-simpleeval_0.9.12.bb | 30 ++++++++++++++++++++++ 2 files changed, 30 insertions(+), 25 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb create mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb (limited to 'meta-python/recipes-devtools/python') 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 deleted file mode 100644 index 36512cba9a..0000000000 --- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "A simple, safe single expression evaluator library" -HOMEPAGE = "https://pypi.org/project/simpleeval/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" - -SRC_URI[md5sum] = "f175fc12d408487ca26fa3905e0a6691" -SRC_URI[sha256sum] = "692055488c2864637f6c2edb5fa48175978a2a07318009e7cf03c9790ca17bea" - -inherit pypi setuptools3 ptest - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://run-ptest \ -" - -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}/ -} diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb new file mode 100644 index 0000000000..8ad6acc875 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb @@ -0,0 +1,30 @@ +SUMMARY = "A simple, safe single expression evaluator library" +HOMEPAGE = "https://pypi.org/project/simpleeval/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7" + +SRC_URI[sha256sum] = "3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36" + +inherit pypi setuptools3 ptest + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += " \ + file://run-ptest \ +" + +RDEPENDS:${PN} += " \ + ${PYTHON_PN}-math \ +" + +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