From 472806ae8c27386da5f431fdd6ae4bd1761cbc77 Mon Sep 17 00:00:00 2001 From: "Jason W. Bacon" Date: Fri, 12 May 2023 07:31:40 -0500 Subject: [PATCH] devel/py-rich-click: Format click help output nicely with rich The intention of rich-click is to provide attractive help output from click, formatted with rich, with minimal customisation required. --- devel/Makefile | 1 + devel/py-rich-click/Makefile | 20 ++++++++++++++++++++ devel/py-rich-click/distinfo | 3 +++ devel/py-rich-click/pkg-descr | 2 ++ 4 files changed, 26 insertions(+) create mode 100644 devel/py-rich-click/Makefile create mode 100644 devel/py-rich-click/distinfo create mode 100644 devel/py-rich-click/pkg-descr diff --git a/devel/Makefile b/devel/Makefile index 1195b1661e862..569db7f3b0c3b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -5437,6 +5437,7 @@ SUBDIR += py-rfc3339 SUBDIR += py-rfc3339-validator SUBDIR += py-rfc3986-validator + SUBDIR += py-rich-click SUBDIR += py-robotframework SUBDIR += py-robotframework-databaselibrary SUBDIR += py-robotframework-pabot diff --git a/devel/py-rich-click/Makefile b/devel/py-rich-click/Makefile new file mode 100644 index 0000000000000..7dacc4824fdf2 --- /dev/null +++ b/devel/py-rich-click/Makefile @@ -0,0 +1,20 @@ +PORTNAME= rich-click +DISTVERSION= 1.6.1 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= jwb@FreeBSD.org +COMMENT= Format click help output nicely with rich +WWW= https://pypi.python.org/project/rich-click/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}rich>0:textproc/py-rich@${PY_FLAVOR} + +USES= python +USE_PYTHON= autoplist distutils + +.include diff --git a/devel/py-rich-click/distinfo b/devel/py-rich-click/distinfo new file mode 100644 index 0000000000000..9dedcec8c1e17 --- /dev/null +++ b/devel/py-rich-click/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1683893949 +SHA256 (rich-click-1.6.1.tar.gz) = f8ff96693ec6e261d1544e9f7d9a5811c5ef5d74c8adb4978430fc0dac16777e +SIZE (rich-click-1.6.1.tar.gz) = 23227 diff --git a/devel/py-rich-click/pkg-descr b/devel/py-rich-click/pkg-descr new file mode 100644 index 0000000000000..65b8aa6241c1f --- /dev/null +++ b/devel/py-rich-click/pkg-descr @@ -0,0 +1,2 @@ +The intention of rich-click is to provide attractive help output from +click, formatted with rich, with minimal customisation required.