diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2022-01-20 13:40:26 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2022-01-21 08:23:58 -0800 |
| commit | 904c89eaa2e35cb69932b8492e6c2085789ec531 (patch) | |
| tree | b7ff6b2c85482b5dc374a79425c0f9823fe3e14a /meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb | |
| parent | 1440b4aacb413f5ee937e353364ed8118140f2a0 (diff) | |
| download | meta-openembedded-904c89eaa2e35cb69932b8492e6c2085789ec531.tar.gz | |
python3-simpleeval: Upgrade 0.9.10 -> 0.9.12
Upgrade to release 0.9.12:
- Remove Cyclic references (memory leak)
- Add left & right shift operations (<< and >>)
- Switch to GH actions & CodeCov.io for CI tests
- Add extra contributors details
- Reformat w/ Black + isort, and have linting of those in CI
Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb new file mode 100644 index 0000000000..8ad6acc875 --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb | |||
| @@ -0,0 +1,30 @@ | |||
| 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=dc9277482effe59b734b004cbcc1fee7" | ||
| 5 | |||
| 6 | SRC_URI[sha256sum] = "3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36" | ||
| 7 | |||
| 8 | inherit pypi setuptools3 ptest | ||
| 9 | |||
| 10 | BBCLASSEXTEND = "native nativesdk" | ||
| 11 | |||
| 12 | SRC_URI += " \ | ||
| 13 | file://run-ptest \ | ||
| 14 | " | ||
| 15 | |||
| 16 | RDEPENDS:${PN} += " \ | ||
| 17 | ${PYTHON_PN}-math \ | ||
| 18 | " | ||
| 19 | |||
| 20 | RDEPENDS:${PN}-ptest += " \ | ||
| 21 | ${PYTHON_PN}-pytest \ | ||
| 22 | " | ||
| 23 | |||
| 24 | do_configure:prepend() { | ||
| 25 | sed -i -e "/use_2to3=True,/d" ${S}/setup.py | ||
| 26 | } | ||
| 27 | |||
| 28 | do_install_ptest() { | ||
| 29 | cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/ | ||
| 30 | } | ||
