git: 472806ae8c27 - main - devel/py-rich-click: Format click help output nicely with rich

From: Jason W. Bacon <jwb_at_FreeBSD.org>
Date: Fri, 12 May 2023 12:55:40 UTC
The branch main has been updated by jwb:

URL: https://cgit.FreeBSD.org/ports/commit/?id=472806ae8c27386da5f431fdd6ae4bd1761cbc77

commit 472806ae8c27386da5f431fdd6ae4bd1761cbc77
Author:     Jason W. Bacon <jwb@FreeBSD.org>
AuthorDate: 2023-05-12 12:31:40 +0000
Commit:     Jason W. Bacon <jwb@FreeBSD.org>
CommitDate: 2023-05-12 12:55:38 +0000

    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(+)

diff --git a/devel/Makefile b/devel/Makefile
index 1195b1661e86..569db7f3b0c3 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 000000000000..7dacc4824fdf
--- /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 <bsd.port.mk>
diff --git a/devel/py-rich-click/distinfo b/devel/py-rich-click/distinfo
new file mode 100644
index 000000000000..9dedcec8c1e1
--- /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 000000000000..65b8aa6241c1
--- /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.