python3-humanize: upgrade 3.11.0 -> 3.12.0

Added
Add support for Python 3.10
Changed
Use importlib.metadata to get package version instead of pkg_resources.get_distribution to decrease memory consumption
Fixed
Fix incorrect type in comment for 'when'

Signed-off-by: Zang Ruochen <zangrc.fnst@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
zangrc
2021-10-16 01:08:38 +08:00
committed by Khem Raj
parent bfff76c328
commit 7daad3b3e7

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] = "5ec1a66e230a3e31fb3f184aab9436ea13d4e37c168e0ffc345ae5bb57e58be6"
inherit pypi setuptools3
DEPENDS += "\
${PYTHON_PN}-setuptools-scm-native \
"
RDEPENDS:${PN} += "\
${PYTHON_PN}-datetime \
${PYTHON_PN}-setuptools \
"
BBCLASSEXTEND = "native nativesdk"