python3-humanize: Upgrade 3.14.0 -> 4.0.0

Upgrade to release 4.0.0:

- Drop support for Python 3.6
- Remove deprecated VERSION, use version instead
- Remove when from naturaldelta() and allow largest timedelta
- Remove deprecated private function aliases

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-03-03 00:27:37 +02:00
committed by Khem Raj
parent e5187f9683
commit 9a8ecd420f

View File

@@ -0,0 +1,21 @@
SUMMARY = "Python humanize utilities"
HOMEPAGE = "http://github.com/jmoiron/humanize"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENCE;md5=4ecc42519e84f6f3e23529464df7bd1d"
SRC_URI[sha256sum] = "ee1f872fdfc7d2ef4a28d4f80ddde9f96d36955b5d6b0dac4bdeb99502bddb00"
inherit pypi setuptools3
DEPENDS += "\
${PYTHON_PN}-setuptools-scm-native \
"
RDEPENDS:${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-setuptools \
"
BBCLASSEXTEND = "native nativesdk"