From e8a22081a27b2f81e68369f79dcdbe423134993c Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 27 Feb 2023 16:12:02 +0800 Subject: python3-simpleeval: upgrade 0.9.12 -> 0.9.13 Changelog: =========== Better handling of empty strings passed as input. Fix the shift safe number issue from 0.9.12 More minor pylint / etc fixes / cleanups (general code quality) separate .parse from #115 Allow setting up completely empty {} operators / functions ( #75 via #123 ) Add extra bit-ops from #87 Add @daxamin to contributors ? Version bump stuff. other readme tweaks star expressions, eg x = {"a": 1, "b": 2, **c} no-build.patch removed since it's included in 0.9.13 Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../python/python3-simpleeval/no-build.patch | 24 ------------------- .../python/python3-simpleeval_0.9.12.bb | 27 ---------------------- .../python/python3-simpleeval_0.9.13.bb | 24 +++++++++++++++++++ 3 files changed, 24 insertions(+), 51 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-simpleeval/no-build.patch delete mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb create mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-simpleeval/no-build.patch b/meta-python/recipes-devtools/python/python3-simpleeval/no-build.patch deleted file mode 100644 index 8302c3b298..0000000000 --- a/meta-python/recipes-devtools/python/python3-simpleeval/no-build.patch +++ /dev/null @@ -1,24 +0,0 @@ -Upstream-Status: Backport [https://github.com/danthedeckie/simpleeval/pull/119] -Signed-off-by: Ross Burton - -From 08bc99211aec32882d5f1c83896eb5d72b9fb125 Mon Sep 17 00:00:00 2001 -From: Ross Burton -Date: Mon, 23 May 2022 11:35:00 +0100 -Subject: [PATCH] pyproject.toml: remove build as a build-dependency - -pypa/build is one possible build tool, but not the only build tool. Forcing build to be present as a build dependency is meaningless: either the user is using build so obviously have build, or are using something else so having build is irrelevant. ---- - pyproject.toml | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/pyproject.toml b/pyproject.toml -index 052a55a..416482b 100644 ---- a/pyproject.toml -+++ b/pyproject.toml -@@ -1,5 +1,5 @@ - [build-system] --requires = ["setuptools>=30.3.0", "wheel", "build"] -+requires = ["setuptools>=30.3.0", "wheel"] - build-backend = "setuptools.build_meta" - - [tool.black] 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 deleted file mode 100644 index c9cf33d023..0000000000 --- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb +++ /dev/null @@ -1,27 +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] = "3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36" - -inherit pypi python_setuptools_build_meta ptest - -BBCLASSEXTEND = "native nativesdk" - -SRC_URI += " \ - file://no-build.patch \ - file://run-ptest \ -" - -RDEPENDS:${PN} += " \ - ${PYTHON_PN}-math \ -" - -RDEPENDS:${PN}-ptest += " \ - ${PYTHON_PN}-pytest \ -" - -do_install_ptest() { - cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ -} 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 new file mode 100644 index 0000000000..35cd19ffef --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb @@ -0,0 +1,24 @@ +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} += " \ + ${PYTHON_PN}-math \ +" + +RDEPENDS:${PN}-ptest += " \ + ${PYTHON_PN}-pytest \ +" + +do_install_ptest() { + cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ +} -- cgit v1.2.3-54-g00ecf