From cbf9020aceaee6f072d97110be0ca7139120db11 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 14 Oct 2024 16:55:02 +0800 Subject: python3-simpleeval: upgrade 0.9.13 -> 1.0.0 License-Update: Copyright year updated to 2024. Changelog: =========== - Fix a sandbox escape via generators and _frame methods. - Supporting dictionary comprehensions - A custom exception rather than KeyError when names not found - Dropping support for old python versions - if you need pre 3.9, then you can use an older version - Various cleanups & tidying warnings, deprecation warnings etc. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-simpleeval_0.9.13.bb | 25 ---------------------- .../python/python3-simpleeval_1.0.0.bb | 25 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb create mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb deleted file mode 100644 index af2c4a1e2e..0000000000 --- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.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[sha256sum] = "4a30f9cc01825fe4c719c785e3762623e350c4840d5e6855c2a8496baaa65fac" - -inherit pypi python_setuptools_build_meta ptest - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += "file://run-ptest" - -RDEPENDS:${PN} += " \ - python3-math \ -" - -RDEPENDS:${PN}-ptest += " \ - python3-pytest \ - python3-unittest-automake-output \ -" - -do_install_ptest() { - cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ -} diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb new file mode 100644 index 0000000000..686f54b41d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb @@ -0,0 +1,25 @@ +SUMMARY = "A simple, safe single expression evaluator library" +HOMEPAGE = "https://pypi.org/project/simpleeval/" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENCE;md5=83843c8f0f3beb18af2f282faecbdebe" + +SRC_URI[sha256sum] = "f3d259deeb751d34c63e56747bab384efad63a2dbdb4f130281c42279788ac3c" + +inherit pypi python_setuptools_build_meta ptest + +BBCLASSEXTEND = "native nativesdk" + +SRC_URI += "file://run-ptest" + +RDEPENDS:${PN} += " \ + python3-math \ +" + +RDEPENDS:${PN}-ptest += " \ + python3-pytest \ + python3-unittest-automake-output \ +" + +do_install_ptest() { + cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf