meta-openembedded/meta-python/recipes-devtools/python/python3-simpleeval_1.0.3.bb
Leon Anavi 7d7c788658
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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-27 09:36:51 -08:00

26 lines
630 B
BlitzBasic

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}/
}