git: 08f59eabad72 - main - devel/py-click-command-tree: click plugin to show the command tree of your CLI

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 17 Aug 2024 20:45:01 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=08f59eabad728c48fc8e32d58d763a57447d2fb0

commit 08f59eabad728c48fc8e32d58d763a57447d2fb0
Author:     Shapovalov Alexey <aishapoval@mts.ru>
AuthorDate: 2024-07-04 07:15:01 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-08-17 20:44:41 +0000

    devel/py-click-command-tree: click plugin to show the command tree of your CLI
    
    Sponsored by:   Serenity Cybersecurity, LLC
---
 devel/Makefile                        |  1 +
 devel/py-click-command-tree/Makefile  | 23 +++++++++++++++++++++++
 devel/py-click-command-tree/distinfo  |  3 +++
 devel/py-click-command-tree/pkg-descr |  2 ++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 63ecb707add3..795a9eacfd32 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4583,6 +4583,7 @@
     SUBDIR += py-cli-helpers
     SUBDIR += py-cliapp
     SUBDIR += py-click
+    SUBDIR += py-click-command-tree
     SUBDIR += py-click-completion
     SUBDIR += py-click-creds
     SUBDIR += py-click-default-group
diff --git a/devel/py-click-command-tree/Makefile b/devel/py-click-command-tree/Makefile
new file mode 100755
index 000000000000..43641d976953
--- /dev/null
+++ b/devel/py-click-command-tree/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	click-command-tree
+PORTVERSION=	1.1.1
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	awoonyaa@gmail.com
+COMMENT=	Python CLICK plugin to show the command tree of your CLI
+WWW=		https://github.com/whwright/click-command-tree
+
+LICENSE=	MIT
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=7.0:devel/py-click@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist concurrent pep517
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-click-command-tree/distinfo b/devel/py-click-command-tree/distinfo
new file mode 100755
index 000000000000..685ddbf34479
--- /dev/null
+++ b/devel/py-click-command-tree/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1703018188
+SHA256 (click-command-tree-1.1.1.tar.gz) = f1ba9c386174dff2fd29949b02a7e1ff7f0a85fca11e737d219eaa60014699a0
+SIZE (click-command-tree-1.1.1.tar.gz) = 3093
diff --git a/devel/py-click-command-tree/pkg-descr b/devel/py-click-command-tree/pkg-descr
new file mode 100755
index 000000000000..712f9e727b73
--- /dev/null
+++ b/devel/py-click-command-tree/pkg-descr
@@ -0,0 +1,2 @@
+click-command-tree is a CLICK plugin to show the command tree of the command
+line interface built with py-click.