diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-07-10 04:56:30 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-07-10 04:56:30 +0000 |
| commit | 7c5a264ef7c3239ed873dd5a053f34cec59a0df3 (patch) | |
| tree | 2f249241bfde2135d10d822385d93d58bac96ee4 | |
| parent | c785ff555c4e8fe88769fe1a77a96365168b4f5c (diff) | |
textproc/py-rich-argparse: Add py-rich-argparse 1.5.2
rich-argparse formats argparse and optparse help using rich.
rich-argparse improves the look and readability of argparse's help while
requiring minimal changes to the code.
| -rw-r--r-- | textproc/Makefile | 1 | ||||
| -rw-r--r-- | textproc/py-rich-argparse/Makefile | 23 | ||||
| -rw-r--r-- | textproc/py-rich-argparse/distinfo | 3 | ||||
| -rw-r--r-- | textproc/py-rich-argparse/pkg-descr | 4 |
4 files changed, 31 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index 102c13699d50..c8a8cfa769e1 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1553,6 +1553,7 @@ SUBDIR += py-restructuredtext-lint SUBDIR += py-reverend SUBDIR += py-rich + SUBDIR += py-rich-argparse SUBDIR += py-rich-cli SUBDIR += py-rich-rst SUBDIR += py-rich12 diff --git a/textproc/py-rich-argparse/Makefile b/textproc/py-rich-argparse/Makefile new file mode 100644 index 000000000000..818812af49ca --- /dev/null +++ b/textproc/py-rich-argparse/Makefile @@ -0,0 +1,23 @@ +PORTNAME= rich-argparse +PORTVERSION= 1.5.2 +CATEGORIES= textproc python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= rich_argparse-${PORTVERSION} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Rich help formatters for argparse and optparse +WWW= https://github.com/hamdanal/rich-argparse + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.11.0:devel/py-hatchling@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}rich>=11.0.0:textproc/py-rich@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist concurrent pep517 + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/textproc/py-rich-argparse/distinfo b/textproc/py-rich-argparse/distinfo new file mode 100644 index 000000000000..14fa7d0777a9 --- /dev/null +++ b/textproc/py-rich-argparse/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1720536470 +SHA256 (rich_argparse-1.5.2.tar.gz) = 84d348d5b6dafe99fffe2c7ea1ca0afe14096c921693445b9eee65ee4fcbfd2c +SIZE (rich_argparse-1.5.2.tar.gz) = 17142 diff --git a/textproc/py-rich-argparse/pkg-descr b/textproc/py-rich-argparse/pkg-descr new file mode 100644 index 000000000000..2e03133c30a7 --- /dev/null +++ b/textproc/py-rich-argparse/pkg-descr @@ -0,0 +1,4 @@ +rich-argparse formats argparse and optparse help using rich. + +rich-argparse improves the look and readability of argparse's help while +requiring minimal changes to the code. |
