Sat Jul 22 12:08:30 2023 UTC ()
textproc/py-humanfriendly: Human friendly text output
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
(bacon)
diff -r0 -r1.1 pkgsrc/textproc/py-humanfriendly/DESCR
diff -r0 -r1.1 pkgsrc/textproc/py-humanfriendly/Makefile
diff -r0 -r1.1 pkgsrc/textproc/py-humanfriendly/PLIST
diff -r0 -r1.1 pkgsrc/textproc/py-humanfriendly/distinfo
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
# $NetBSD: Makefile,v 1.1 2023/07/22 12:08:30 bacon Exp $
DISTNAME= humanfriendly-10.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_PYPI:=h/humanfriendly/}
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= https://humanfriendly.readthedocs.io/
COMMENT= Human friendly output for text interfaces using Python
LICENSE= mit
TEST_DEPENDS+= ${PYPKGPREFIX}-capturer>=2.1:../../devel/py-capturer
TEST_DEPENDS+= ${PYPKGPREFIX}-coloredlogs>=15.0.1:../../devel/py-coloredlogs
TEST_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.15:../../textproc/py-docutils
TEST_DEPENDS+= ${PYPKGPREFIX}-mock>=3.0.5:../../devel/py-mock
TEST_DEPENDS+= ${PYPKGPREFIX}-test>=3.0.7:../../devel/py-test
TEST_DEPENDS+= ${PYPKGPREFIX}-test-cov>=2.4.0:../../devel/py-test-cov
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2023/07/22 12:08:30 bacon Exp $
bin/humanfriendly
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
${PYSITELIB}/${EGG_INFODIR}/requires.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/humanfriendly/__init__.py
${PYSITELIB}/humanfriendly/__init__.pyc
${PYSITELIB}/humanfriendly/__init__.pyo
${PYSITELIB}/humanfriendly/case.py
${PYSITELIB}/humanfriendly/case.pyc
${PYSITELIB}/humanfriendly/case.pyo
${PYSITELIB}/humanfriendly/cli.py
${PYSITELIB}/humanfriendly/cli.pyc
${PYSITELIB}/humanfriendly/cli.pyo
${PYSITELIB}/humanfriendly/compat.py
${PYSITELIB}/humanfriendly/compat.pyc
${PYSITELIB}/humanfriendly/compat.pyo
${PYSITELIB}/humanfriendly/decorators.py
${PYSITELIB}/humanfriendly/decorators.pyc
${PYSITELIB}/humanfriendly/decorators.pyo
${PYSITELIB}/humanfriendly/deprecation.py
${PYSITELIB}/humanfriendly/deprecation.pyc
${PYSITELIB}/humanfriendly/deprecation.pyo
${PYSITELIB}/humanfriendly/prompts.py
${PYSITELIB}/humanfriendly/prompts.pyc
${PYSITELIB}/humanfriendly/prompts.pyo
${PYSITELIB}/humanfriendly/sphinx.py
${PYSITELIB}/humanfriendly/sphinx.pyc
${PYSITELIB}/humanfriendly/sphinx.pyo
${PYSITELIB}/humanfriendly/tables.py
${PYSITELIB}/humanfriendly/tables.pyc
${PYSITELIB}/humanfriendly/tables.pyo
${PYSITELIB}/humanfriendly/terminal/__init__.py
${PYSITELIB}/humanfriendly/terminal/__init__.pyc
${PYSITELIB}/humanfriendly/terminal/__init__.pyo
${PYSITELIB}/humanfriendly/terminal/html.py
${PYSITELIB}/humanfriendly/terminal/html.pyc
${PYSITELIB}/humanfriendly/terminal/html.pyo
${PYSITELIB}/humanfriendly/terminal/spinners.py
${PYSITELIB}/humanfriendly/terminal/spinners.pyc
${PYSITELIB}/humanfriendly/terminal/spinners.pyo
${PYSITELIB}/humanfriendly/testing.py
${PYSITELIB}/humanfriendly/testing.pyc
${PYSITELIB}/humanfriendly/testing.pyo
${PYSITELIB}/humanfriendly/tests.py
${PYSITELIB}/humanfriendly/tests.pyc
${PYSITELIB}/humanfriendly/tests.pyo
${PYSITELIB}/humanfriendly/text.py
${PYSITELIB}/humanfriendly/text.pyc
${PYSITELIB}/humanfriendly/text.pyo
${PYSITELIB}/humanfriendly/usage.py
${PYSITELIB}/humanfriendly/usage.pyc
${PYSITELIB}/humanfriendly/usage.pyo
$NetBSD: distinfo,v 1.1 2023/07/22 12:08:30 bacon Exp $
BLAKE2s (humanfriendly-10.0.tar.gz) = 1eef488037d461dd31eb367ca3b8995fd31b1c9101e9bc1f6243727ea77984f2
SHA512 (humanfriendly-10.0.tar.gz) = 496700bcea1dabf003c938558bf807fabb41b71192f69622979dd9e243dda9b4b06c5ac8f65cef217df85ebadf99099dc22b50d63216791a569be11081d267d6
Size (humanfriendly-10.0.tar.gz) = 360702 bytes