From 7d7c788658d5369baab1d0dad438fbce429675b2 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Wed, 27 Nov 2024 13:26:15 +0200 Subject: python3-simpleeval: Upgrade 1.0.0 -> 1.0.3 Upgrade to version 1.0.3: - Spelling fixes in documentation, docstrings & tests - Fix support for 3.14 (deprecated features actually being removed, so getattr use was incorrect). Signed-off-by: Leon Anavi Signed-off-by: Khem Raj --- .../python/python3-simpleeval_1.0.0.bb | 25 ---------------------- .../python/python3-simpleeval_1.0.3.bb | 25 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb create mode 100644 meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb (limited to 'meta-python/recipes-devtools/python') 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 deleted file mode 100644 index 686f54b41d..0000000000 --- a/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.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=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}/ -} diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb new file mode 100644 index 0000000000..4537645c73 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.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] = "67bbf246040ac3b57c29cf048657b9cf31d4e7b9d6659684daa08ca8f1e45829" + +inherit pypi python_setuptools_build_meta python_hatchling 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