From c9f4067545b3fb130031a61e0c0f7ef59b12d763 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Tue, 18 Jan 2022 12:04:21 +0200 Subject: [PATCH] python3-fasteners: Upgrade 0.16.3 -> 0.17.2 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 Signed-off-by: Khem Raj Signed-off-by: Trevor Gamblin --- ...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%) 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 26549c151f..5e847497ad 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 +}