pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-humanfriendly



Module Name:    pkgsrc
Committed By:   bacon
Date:           Sat Jul 22 12:08:30 UTC 2023

Added Files:
        pkgsrc/textproc/py-humanfriendly: DESCR Makefile PLIST distinfo

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/py-humanfriendly/DESCR \
    pkgsrc/textproc/py-humanfriendly/Makefile \
    pkgsrc/textproc/py-humanfriendly/PLIST \
    pkgsrc/textproc/py-humanfriendly/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/py-humanfriendly/DESCR
diff -u /dev/null pkgsrc/textproc/py-humanfriendly/DESCR:1.1
--- /dev/null   Sat Jul 22 12:08:30 2023
+++ pkgsrc/textproc/py-humanfriendly/DESCR      Sat Jul 22 12:08:30 2023
@@ -0,0 +1,12 @@
+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
Index: pkgsrc/textproc/py-humanfriendly/Makefile
diff -u /dev/null pkgsrc/textproc/py-humanfriendly/Makefile:1.1
--- /dev/null   Sat Jul 22 12:08:30 2023
+++ pkgsrc/textproc/py-humanfriendly/Makefile   Sat Jul 22 12:08:30 2023
@@ -0,0 +1,21 @@
+# $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@localhost
+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"
Index: pkgsrc/textproc/py-humanfriendly/PLIST
diff -u /dev/null pkgsrc/textproc/py-humanfriendly/PLIST:1.1
--- /dev/null   Sat Jul 22 12:08:30 2023
+++ pkgsrc/textproc/py-humanfriendly/PLIST      Sat Jul 22 12:08:30 2023
@@ -0,0 +1,56 @@
+@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
Index: pkgsrc/textproc/py-humanfriendly/distinfo
diff -u /dev/null pkgsrc/textproc/py-humanfriendly/distinfo:1.1
--- /dev/null   Sat Jul 22 12:08:30 2023
+++ pkgsrc/textproc/py-humanfriendly/distinfo   Sat Jul 22 12:08:30 2023
@@ -0,0 +1,5 @@
+$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



Home | Main Index | Thread Index | Old Index