[meta-python,2/3] python3-fasteners: Upgrade 0.16.3 -> 0.17.2

Message ID 20220118100422.461016-2-leon.anavi@konsulko.com
State New
Headers show
Series [meta-python,1/3] python3-gmpy2: Upgrade 2.1.1 -> 2.1.2 | expand

Commit Message

Leon Anavi Jan. 18, 2022, 10:04 a.m. UTC
Upgrade to release 0.17.2:

- Remove unecessary setuptools pin
- Switch to the modern python package build infrastructure
- Remove support for python 3.5 and earlier, including 2.7
- Add support for python 3.9 and 3.10
- Fix a conflict with django lock
- Add __version__ and __all__ attributes
- Fix a failure to parse README as utf-8
- Move from nosetest to pytest and cleanup testing infrastructure

Signed-off-by: Leon Anavi <leon.anavi@konsulko.com>
---
 ...asteners_0.16.3.bb => python3-fasteners_0.17.2.bb} | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)
 rename meta-python/recipes-devtools/python/{python3-fasteners_0.16.3.bb => python3-fasteners_0.17.2.bb} (50%)

Patch

diff --git a/meta-python/recipes-devtools/python/python3-fasteners_0.16.3.bb b/meta-python/recipes-devtools/python/python3-fasteners_0.17.2.bb
similarity index 50%
rename from meta-python/recipes-devtools/python/python3-fasteners_0.16.3.bb
rename to meta-python/recipes-devtools/python/python3-fasteners_0.17.2.bb
index 26549c151..5e847497a 100644
--- a/meta-python/recipes-devtools/python/python3-fasteners_0.16.3.bb
+++ b/meta-python/recipes-devtools/python/python3-fasteners_0.17.2.bb
@@ -3,11 +3,16 @@  HOMEPAGE = "https://github.com/harlowja/fasteners"
 LICENSE = "Apache-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4476c4be31402271e101d9a4a3430d52"
 
-SRC_URI[sha256sum] = "b1ab4e5adfbc28681ce44b3024421c4f567e705cc3963c732bf1cba3348307de"
+SRC_URI[sha256sum] = "2aceacb2bd618ce8526676f7a3e84ea25d0165ef10abb574a45b4a9c07292d2e"
 
 inherit pypi setuptools3
 
 RDEPENDS:${PN} += "\
-    ${PYTHON_PN}-logging \
-    ${PYTHON_PN}-fcntl \
+	${PYTHON_PN}-logging \
+	${PYTHON_PN}-fcntl \
 "
+
+do_compile:prepend() {
+	echo "from setuptools import setup" > ${S}/setup.py
+	echo "setup()" >> ${S}/setup.py
+}