diff options
| author | Leon Anavi <leon.anavi@konsulko.com> | 2021-01-07 00:06:55 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-01-08 08:42:04 -0800 |
| commit | 0c0255a513b1dacba585bac9f4a68fbdbb60e47a (patch) | |
| tree | 43d465e5af4d0e46280603218898273d67bf171f /meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb | |
| parent | 615494acb65f9e51594788801a301af482c228c5 (diff) | |
| download | meta-openembedded-0c0255a513b1dacba585bac9f4a68fbdbb60e47a.tar.gz | |
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>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb')
| -rw-r--r-- | meta-python/recipes-devtools/python/python3-humanfriendly_9.1.bb | 24 |
1 files changed, 24 insertions, 0 deletions
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 @@ | |||
| 1 | DESCRIPTION = "Human friendly output for text interfaces using Python" | ||
| 2 | HOMEPAGE = "https://humanfriendly.readthedocs.io/" | ||
| 3 | SECTION = "devel/python" | ||
| 4 | LICENSE = "MIT" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=764e737b117a38d773609885e8d04f0b" | ||
| 6 | |||
| 7 | PYPI_PACKAGE = "humanfriendly" | ||
| 8 | |||
| 9 | SRC_URI[sha256sum] = "066562956639ab21ff2676d1fda0b5987e985c534fc76700a19bd54bcb81121d" | ||
| 10 | |||
| 11 | inherit pypi setuptools3 | ||
| 12 | |||
| 13 | RDEPENDS_${PN}_class-target += " \ | ||
| 14 | ${PYTHON_PN}-datetime \ | ||
| 15 | ${PYTHON_PN}-fcntl \ | ||
| 16 | ${PYTHON_PN}-io \ | ||
| 17 | ${PYTHON_PN}-logging \ | ||
| 18 | ${PYTHON_PN}-math \ | ||
| 19 | ${PYTHON_PN}-numbers \ | ||
| 20 | ${PYTHON_PN}-shell \ | ||
| 21 | ${PYTHON_PN}-stringold \ | ||
| 22 | " | ||
| 23 | |||
| 24 | BBCLASSEXTEND = "native" | ||
