From 0c0255a513b1dacba585bac9f4a68fbdbb60e47a Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 7 Jan 2021 00:06:55 +0200 Subject: python3-humanfriendly: Upgrade 8.2 -> 9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Upgrade to release 9.1: - Added on_macos() function to detect Apple MacOS - Changed format_number() to properly support negative numbers - Changed pluralize() to generate “1.5 seconds” instead of "1.5 second" - Enhanced concatenate() to support conjunction and serial_comma keyword arguments - Added pluralize_raw() to select singular or plural form without prefixing the count to the text that is returned Signed-off-by: Leon Anavi Acked-by: Trevor Gamblin Signed-off-by: Khem Raj --- .../python/python3-humanfriendly_8.2.bb | 25 ---------------------- .../python/python3-humanfriendly_9.1.bb | 24 +++++++++++++++++++++ 2 files changed, 24 insertions(+), 25 deletions(-) delete mode 100644 meta-python/recipes-devtools/python/python3-humanfriendly_8.2.bb create mode 100644 meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb (limited to 'meta-python/recipes-devtools/python') diff --git a/meta-python/recipes-devtools/python/python3-humanfriendly_8.2.bb b/meta-python/recipes-devtools/python/python3-humanfriendly_8.2.bb deleted file mode 100644 index 61c969d760..0000000000 --- a/meta-python/recipes-devtools/python/python3-humanfriendly_8.2.bb +++ /dev/null @@ -1,25 +0,0 @@ -DESCRIPTION = "Human friendly output for text interfaces using Python" -HOMEPAGE = "https://humanfriendly.readthedocs.io/" -SECTION = "devel/python" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=764e737b117a38d773609885e8d04f0b" - -PYPI_PACKAGE = "humanfriendly" - -SRC_URI[md5sum] = "e6064a6fe099c4231c3e969ca5fea335" -SRC_URI[sha256sum] = "bf52ec91244819c780341a3438d5d7b09f431d3f113a475147ac9b7b167a3d12" - -inherit pypi setuptools3 - -RDEPENDS_${PN}_class-target += " \ - ${PYTHON_PN}-datetime \ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-io \ - ${PYTHON_PN}-logging \ - ${PYTHON_PN}-math \ - ${PYTHON_PN}-numbers \ - ${PYTHON_PN}-shell \ - ${PYTHON_PN}-stringold \ -" - -BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb b/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb new file mode 100644 index 0000000000..fb6a7e3b6d --- /dev/null +++ b/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb @@ -0,0 +1,24 @@ +DESCRIPTION = "Human friendly output for text interfaces using Python" +HOMEPAGE = "https://humanfriendly.readthedocs.io/" +SECTION = "devel/python" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=764e737b117a38d773609885e8d04f0b" + +PYPI_PACKAGE = "humanfriendly" + +SRC_URI[sha256sum] = "066562956639ab21ff2676d1fda0b5987e985c534fc76700a19bd54bcb81121d" + +inherit pypi setuptools3 + +RDEPENDS_${PN}_class-target += " \ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-fcntl \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-logging \ + ${PYTHON_PN}-math \ + ${PYTHON_PN}-numbers \ + ${PYTHON_PN}-shell \ + ${PYTHON_PN}-stringold \ +" + +BBCLASSEXTEND = "native" -- cgit 1.2.3-korg