openbsd-ports/textproc/py-inflect/Makefile
sthen 7285e1193c import ports/textproc/py-inflect, ok bket
inflect.py provides plural inflections, singular noun inflections,
"a"/"an" selection for English words, and manipulation of numbers as
words.

Plural forms of all nouns, most verbs, and some adjectives are provided.
Where appropriate, "classical" variants (for example: "brother" ->
"brethren", "dogma" -> "dogmata", etc.) are also provided.

Single forms of nouns are also provided. The gender of singular pronouns
can be chosen (for example "they" -> "it" or "she" or "he" or "they").

Pronunciation-based "a"/"an" selection is provided for all English
words, and most initialisms.

It is also possible to inflect numerals (1,2,3) to ordinals (1st, 2nd,
3rd) and to English words ("one", "two", "three").

In generating these inflections, inflect.py follows the Oxford English
Dictionary and the guidelines in Fowler's Modern English Usage,
preferring the former where the two disagree.
2022-11-27 10:55:14 +00:00

25 lines
456 B
Makefile

COMMENT= correctly generate plurals, singular nouns, ordinals, etc
MODPY_EGG_VERSION= 6.0.2
DISTNAME= inflect-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= textproc
# https://github.com/jaraco/inflect
HOMEPAGE= https://inflect.readthedocs.io/
# MIT
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_PI= Yes
MODPY_PYBUILD= setuptools_scm
RUN_DEPENDS= devel/py-pydantic${MODPY_FLAVOR}
FLAVORS= python3
FLAVOR= python3
.include <bsd.port.mk>