aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShapovalov Alexey <aishapoval@mts.ru>2024-07-02 18:45:49 +0000
committerGleb Popov <arrowd@FreeBSD.org>2024-08-17 20:44:42 +0000
commita1daeadf4207a74d370e28ac3ff8db782d4c1931 (patch)
tree1bd9b3e55e6ee7e0ea4a198143c656122f39989f
parent3d1012dcdaa06d237178d18b48917c678335541e (diff)
devel/py-click-aliases: Aliases support for Click framework
Sponsored by: Serenity Cybersecurity, LLC Co-authored-by: Gleb Popov <arrowd@FreeBSD.org>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-click-aliases/Makefile24
-rw-r--r--devel/py-click-aliases/distinfo3
-rw-r--r--devel/py-click-aliases/pkg-descr4
4 files changed, 32 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 795a9eacfd32..85473a7a0ea3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4583,6 +4583,7 @@
SUBDIR += py-cli-helpers
SUBDIR += py-cliapp
SUBDIR += py-click
+ SUBDIR += py-click-aliases
SUBDIR += py-click-command-tree
SUBDIR += py-click-completion
SUBDIR += py-click-creds
diff --git a/devel/py-click-aliases/Makefile b/devel/py-click-aliases/Makefile
new file mode 100644
index 000000000000..2df79d48c3f9
--- /dev/null
+++ b/devel/py-click-aliases/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= click_aliases
+PORTVERSION= 1.0.4
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= awoonyaa@gmail.com
+COMMENT= Add (multiple) aliases to a Click group or command
+WWW= https://github.com/click-contrib/click-aliases
+
+LICENSE= MIT
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}poetry>0:devel/py-poetry@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}click>0:devel/py-click@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>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-aliases/distinfo b/devel/py-click-aliases/distinfo
new file mode 100644
index 000000000000..8367bdba8fda
--- /dev/null
+++ b/devel/py-click-aliases/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1706038970
+SHA256 (click_aliases-1.0.4.tar.gz) = 384313c5dc4c4bd64d9eadaff39ad91352747e8cdfd2f95d504d914c01eb4eda
+SIZE (click_aliases-1.0.4.tar.gz) = 2904
diff --git a/devel/py-click-aliases/pkg-descr b/devel/py-click-aliases/pkg-descr
new file mode 100644
index 000000000000..1486cf73474c
--- /dev/null
+++ b/devel/py-click-aliases/pkg-descr
@@ -0,0 +1,4 @@
+Click is a Python package for creating beautiful command line interfaces in a
+composable way with as little code as necessary.
+
+This plugin allows defining aliases for Click commands and groups.