Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Aug 2024 20:45:05 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a1daeadf4207 - main - devel/py-click-aliases: Aliases support for Click framework
Message-ID:  <202408172045.47HKj5h0043637@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by arrowd:

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

commit a1daeadf4207a74d370e28ac3ff8db782d4c1931
Author:     Shapovalov Alexey <aishapoval@mts.ru>
AuthorDate: 2024-07-02 18:45:49 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-08-17 20:44:42 +0000

    devel/py-click-aliases: Aliases support for Click framework
    
    Sponsored by:   Serenity Cybersecurity, LLC
    Co-authored-by: Gleb Popov <arrowd@FreeBSD.org>
---
 devel/Makefile                   |  1 +
 devel/py-click-aliases/Makefile  | 24 ++++++++++++++++++++++++
 devel/py-click-aliases/distinfo  |  3 +++
 devel/py-click-aliases/pkg-descr |  4 ++++
 4 files changed, 32 insertions(+)

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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408172045.47HKj5h0043637>