git: 7c5a264ef7c3 - main - textproc/py-rich-argparse: Add py-rich-argparse 1.5.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 10 Jul 2024 05:01:32 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c5a264ef7c3239ed873dd5a053f34cec59a0df3 commit 7c5a264ef7c3239ed873dd5a053f34cec59a0df3 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-07-10 04:56:30 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-07-10 04:56:30 +0000 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. --- textproc/Makefile | 1 + textproc/py-rich-argparse/Makefile | 23 +++++++++++++++++++++++ textproc/py-rich-argparse/distinfo | 3 +++ textproc/py-rich-argparse/pkg-descr | 4 ++++ 4 files changed, 31 insertions(+) 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.