aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShapovalov Alexey <aishapoval@mts.ru>2024-07-04 07:15:01 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-08-17 20:44:41 +0000
commit08f59eabad728c48fc8e32d58d763a57447d2fb0 (patch)
treed90c7c284a4898212de2563fed5a516ff2aa41a6
parent1cb447a7618742ac8c4a1680dbe052bd5a05e0a5 (diff)
devel/py-click-command-tree: click plugin to show the command tree of your CLI
Sponsored by: Serenity Cybersecurity, LLC
-rw-r--r--devel/Makefile1
-rwxr-xr-xdevel/py-click-command-tree/Makefile23
-rwxr-xr-xdevel/py-click-command-tree/distinfo3
-rwxr-xr-xdevel/py-click-command-tree/pkg-descr2
4 files changed, 29 insertions, 0 deletions
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.