diff options
| author | Wang Mingyu <wangmy@fujitsu.com> | 2024-10-14 16:55:02 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2024-10-14 09:52:30 -0700 |
| commit | cbf9020aceaee6f072d97110be0ca7139120db11 (patch) | |
| tree | bad81fc4aee97b4a77ca28786409abb65c66c9cd /meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb | |
| parent | 7b366271555db89ce110bc5288d90bb8a54141fa (diff) | |
| download | meta-openembedded-cbf9020aceaee6f072d97110be0ca7139120db11.tar.gz | |
python3-simpleeval: upgrade 0.9.13 -> 1.0.0
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb | 25 |
1 files changed, 25 insertions, 0 deletions
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 new file mode 100644 index 0000000000..686f54b41d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simpleeval_1.0.0.bb | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | SUMMARY = "A simple, safe single expression evaluator library" | ||
| 2 | HOMEPAGE = "https://pypi.org/project/simpleeval/" | ||
| 3 | LICENSE = "MIT" | ||
| 4 | LIC_FILES_CHKSUM = "file://LICENCE;md5=83843c8f0f3beb18af2f282faecbdebe" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "f3d259deeb751d34c63e56747bab384efad63a2dbdb4f130281c42279788ac3c" | ||
| 7 | |||
| 8 | inherit pypi python_setuptools_build_meta ptest | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native nativesdk" | ||
| 11 | |||
| 12 | SRC_URI += "file://run-ptest" | ||
| 13 | |||
| 14 | RDEPENDS:${PN} += " \ | ||
| 15 | python3-math \ | ||
| 16 | " | ||
| 17 | |||
| 18 | RDEPENDS:${PN}-ptest += " \ | ||
| 19 | python3-pytest \ | ||
| 20 | python3-unittest-automake-output \ | ||
| 21 | " | ||
| 22 | |||
| 23 | do_install_ptest() { | ||
| 24 | cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ | ||
| 25 | } | ||
