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_0.9.13.bb | 24 ++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb (limited to 'meta-python/recipes-devtools/python/python3-simpleeval_0.9.13.bb') 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