Skip to contentSkip to conversation

python3-simpleeval: Upgrade 0.9.10 -> 0.9.12

PATCH New Leon Anavi 1 participant 2 messages Jan 20, 2022

lore
Share & tools
lore

Leon Anavi

author
#0 lore raw

PATCH 1/2 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

---
 ...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%)
meta-python/recipes-devtools/python/python3-simpleeval_0.9.12.bb renamed from meta-python/recipes-devtools/python/python3-simpleeval_0.9.10.bb +7 -2
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
@@ -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}/
 }
Signature · 1 line
2.30.2
author
#1 lore raw

PATCH 2/2 python3-twine: Upgrade 3.4.1 -> 3.7.1

Upgrade to release 3.7.1:

- Fix broken link to packaging tutorial
- Add support for core metadata version 2.2, defined in PEP 643.
- Add support for Python 3.10
- Show more helpful messages for invalid passwords
- Allow the --skip-existing option to work with GCP Artifact Registry
- Add a helpful error message when an upload fails due to missing a trailing slash in the URL
- Generalize --verbose suggestion when an upload fails

---
 .../python/python3-twine_3.4.1.bb             | 14 -----------
 .../python/python3-twine_3.7.1.bb             | 23 +++++++++++++++++++
 2 files changed, 23 insertions(+), 14 deletions(-)
 delete mode 100644 meta-python/recipes-devtools/python/python3-twine_3.4.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-twine_3.7.1.bb
meta-python/recipes-devtools/python/python3-twine_3.4.1.bb deleted +0 -14
deleted file mode 100644
index 111366dba..000000000
@@ -1,14 +0,0 @@
-DESCRIPTION = "Utilities for interacting with PyPI"
-HOMEPAGE = "https://twine.readthedocs.io/"
-LICENSE = "Apache-2.0"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c"
-
-SRC_URI[sha256sum] = "a56c985264b991dc8a8f4234eb80c5af87fa8080d0c224ad8f2cd05a2c22e83b"
-
-inherit pypi setuptools3
-
-DEPENDS += "\
-    ${PYTHON_PN}-setuptools-scm-native \
-"
-
-BBCLASSEXTEND = "native"
meta-python/recipes-devtools/python/python3-twine_3.7.1.bb new file +23 -0
new file mode 100644
index 000000000..bcc881e44
@@ -0,0 +1,23 @@
+DESCRIPTION = "Utilities for interacting with PyPI"
+HOMEPAGE = "https://twine.readthedocs.io/"
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=a3d1106b253a8d50dd82a4202a045b4c"
+
+SRC_URI[sha256sum] = "28460a3db6b4532bde6a5db6755cf2dce6c5020bada8a641bb2c5c7a9b1f35b8"
+
+inherit pypi setuptools3
+
+DEPENDS += "\
+	${PYTHON_PN}-setuptools-scm-native \
+"
+
+RDEPENDS:${PN} += " \
+	${PYTHON_PN}-importlib-metadata \
+"
+
+do_compile:prepend() {
+	echo "from setuptools import setup" > ${S}/setup.py
+	echo "setup()" >> ${S}/setup.py
+}
+
+BBCLASSEXTEND = "native"
Signature · 1 line
2.30.2