package/python-inflect: new package

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
James Hilliard
2024-01-08 23:01:24 -07:00
committed by Thomas Petazzoni
parent b6f3278539
commit dece0a512d
4 changed files with 31 additions and 0 deletions

View File

@@ -1149,6 +1149,7 @@ menu "External python modules"
source "package/python-idna/Config.in"
source "package/python-ifaddr/Config.in"
source "package/python-incremental/Config.in"
source "package/python-inflect/Config.in"
source "package/python-inflection/Config.in"
source "package/python-influxdb/Config.in"
source "package/python-iniconfig/Config.in"

View File

@@ -0,0 +1,10 @@
config BR2_PACKAGE_PYTHON_INFLECT
bool "python-inflect"
depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS # python-pydantic -> python-pydantic-core
select BR2_PACKAGE_PYTHON_PYDANTIC # runtime
select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime
help
Correctly generate plurals, singular nouns, ordinals,
indefinite articles; convert numbers to words.
https://github.com/jaraco/inflect

View File

@@ -0,0 +1,5 @@
# md5, sha256 from https://pypi.org/pypi/inflect/json
md5 61c670cf5c4d09314f6a4d3b99d3b98d inflect-7.0.0.tar.gz
sha256 63da9325ad29da81ec23e055b41225795ab793b4ecb483be5dc1fa363fd4717e inflect-7.0.0.tar.gz
# Locally computed sha256 checksums
sha256 86da0f01aeae46348a3c3d465195dc1ceccde79f79e87769a64b8da04b2a4741 LICENSE

View File

@@ -0,0 +1,15 @@
################################################################################
#
# python-inflect
#
################################################################################
PYTHON_INFLECT_VERSION = 7.0.0
PYTHON_INFLECT_SOURCE = inflect-$(PYTHON_INFLECT_VERSION).tar.gz
PYTHON_INFLECT_SITE = https://files.pythonhosted.org/packages/9f/90/1d0a889847fdce963ebe9684de24a749e4fad627bf595e9f0d32730f85a8
PYTHON_INFLECT_SETUP_TYPE = setuptools
PYTHON_INFLECT_LICENSE = MIT
PYTHON_INFLECT_LICENSE_FILES = LICENSE
PYTHON_INFLECT_DEPENDENCIES = host-python-setuptools-scm
$(eval $(python-package))