[meta-python,1/2] python3-simpleeval: Upgrade 0.9.10 -> 0.9.12

Message ID 20220120114027.1857045-1-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,1/2] python3-simpleeval: Upgrade 0.9.10 -> 0.9.12 | expand

Commit Message

Leon Anavi Jan. 20, 2022, 11:40 a.m. UTC
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>
---
 ...simpleeval_0.9.10.bb => python3-simpleeval_0.9.12.bb} | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-simpleeval_0.9.10.bb => python3-simpleeval_0.9.12.bb} (78%)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb
similarity index 78%
rename from meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb
rename to meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb
index 36512cba9..8ad6acc87 100644
--- a/meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb
+++ b/meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb
@@ -3,8 +3,7 @@  HOMEPAGE = "https://pypi.org/project/simpleeval/"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://LICENCE;md5=dc9277482effe59b734b004cbcc1fee7"
 
-SRC_URI[md5sum] = "f175fc12d408487ca26fa3905e0a6691"
-SRC_URI[sha256sum] = "692055488c2864637f6c2edb5fa48175978a2a07318009e7cf03c9790ca17bea"
+SRC_URI[sha256sum] = "3e0be507486d4e21cf9d08847c7e57dd61a1603950399985f7c5a0be7fd33e36"
 
 inherit pypi setuptools3 ptest
 
@@ -14,12 +13,18 @@  SRC_URI += " \
 	file://run-ptest \
 "
 
+RDEPENDS:${PN} += " \
+	${PYTHON_PN}-math \
+"
+
 RDEPENDS:${PN}-ptest += " \
 	${PYTHON_PN}-pytest \
 "
+
 do_configure:prepend() {
 	sed -i -e "/use_2to3=True,/d" ${S}/setup.py
 }
+
 do_install_ptest() {
 	cp -f ${S}/test_simpleeval.py ${D}${PTEST_PATH}/
 }