openbsd-ports/textproc/py-humanfriendly/Makefile
sthen f5b8fb20d7 import ports/textproc/py-humanfriendly, ok aja@ aisha@
The functions and classes in the humanfriendly package can be used to
make text interfaces more user friendly. Some example features:

- Parsing and formatting numbers, file sizes, pathnames and timespans in
simple, human friendly formats.

- Easy to use timers for long running operations, with human friendly
formatting of the resulting timespans.

- Prompting the user to select a choice from a list of options by typing
the option's number or a unique substring of the option.

- Terminal interaction including text styling (ANSI escape sequences),
user friendly rendering of usage messages and querying the terminal for
its size.
2022-11-15 10:27:25 +00:00

24 lines
385 B
Makefile

COMMENT= human-friendly output for Python text interfaces
MODPY_EGG_VERSION= 10.0
DISTNAME= humanfriendly-${MODPY_EGG_VERSION}
PKGNAME= py-${DISTNAME}
CATEGORIES= textproc
HOMEPAGE= https://humanfriendly.readthedocs.io/
# MIT
PERMIT_PACKAGE= Yes
MODULES= lang/python
FLAVORS= python3
FLAVOR= python3
MODPY_PI= Yes
MODPY_PYBUILD= setuptools
NO_TEST= Yes
.include <bsd.port.mk>