python-inflection: new package

A string transformation library that singularizes and pluralizes English
words, and transforms strings from CamelCase to underscored string.
Inflection is a port of Ruby on Rails' inflector to Python.

https://github.com/jpvanhal/inflection

Signed-off-by: John Faith <jfaith@impinj.com>
[Arnout: select unicodedata, add hash for license file]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
John Faith
2019-06-24 15:45:41 +00:00
committed by Arnout Vandecappelle (Essensium/Mind)
parent d68db2af5c
commit 8fb3a0409b
5 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
################################################################################
#
# python-inflection
#
################################################################################
PYTHON_INFLECTION_VERSION = 0.3.1
PYTHON_INFLECTION_SOURCE = inflection-$(PYTHON_INFLECTION_VERSION).tar.gz
PYTHON_INFLECTION_SITE = https://pypi.python.org/packages/d5/35/a6eb45b4e2356fe688b21570864d4aa0d0a880ce387defe9c589112077f8
PYTHON_INFLECTION_SETUP_TYPE = setuptools
PYTHON_INFLECTION_LICENSE = MIT
PYTHON_INFLECTION_LICENSE_FILES = LICENSE
$(eval $(python-package))
$(eval $(host-python-package))