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 <leon.anavi@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Leon Anavi 2022-01-18 12:04:21 +02:00 committed by Khem Raj
parent f6780036c6
commit c9f4067545

View File

@ -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
}