meta-openembedded/meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb
Leon Anavi 0c0255a513 python3-humanfriendly: Upgrade 8.2 -> 9.1
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 <leon.anavi@konsulko.com>
Acked-by: Trevor Gamblin <trevor.gamblin@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2021-01-08 08:42:04 -08:00

25 lines
658 B
BlitzBasic

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"