mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

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 <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
26 lines
613 B
BlitzBasic
26 lines
613 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] = "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}/
|
|
}
|