Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 May 2021 19:31:44 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 71276bfcace7 - main - devel/py-click-default-group: Add py-click-default-group 1.2.2
Message-ID:  <202105181931.14IJViTg035985@gitrepo.freebsd.org>

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

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

commit 71276bfcace7240b1eb70f113533fd18aaa273db
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-05-18 19:26:55 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-05-18 19:26:55 +0000

    devel/py-click-default-group: Add py-click-default-group 1.2.2
    
    DefaultGroup is a sub class of click.Group. But it invokes a default subcommand
    instead of showing a help message when a subcommand is not passed.
    
    WWW: https://github.com/click-contrib/click-default-group
---
 devel/Makefile                         |  1 +
 devel/py-click-default-group/Makefile  | 22 ++++++++++++++++++++++
 devel/py-click-default-group/distinfo  |  3 +++
 devel/py-click-default-group/pkg-descr |  4 ++++
 4 files changed, 30 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 50e2bc4ed82c..0d166b708877 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4270,6 +4270,7 @@
     SUBDIR += py-cliapp
     SUBDIR += py-click
     SUBDIR += py-click-completion
+    SUBDIR += py-click-default-group
     SUBDIR += py-click-log
     SUBDIR += py-click-plugins
     SUBDIR += py-click-threading
diff --git a/devel/py-click-default-group/Makefile b/devel/py-click-default-group/Makefile
new file mode 100644
index 000000000000..d0b9ba811753
--- /dev/null
+++ b/devel/py-click-default-group/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	click-default-group
+PORTVERSION=	1.2.2
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Extend click.Group to invoke a command without explicit subcommand name
+
+LICENSE=	BSD3CLAUSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=0:devel/py-click@${PY_FLAVOR}
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-click-default-group/distinfo b/devel/py-click-default-group/distinfo
new file mode 100644
index 000000000000..b1d2e79a9c62
--- /dev/null
+++ b/devel/py-click-default-group/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1621183172
+SHA256 (click-default-group-1.2.2.tar.gz) = d9560e8e8dfa44b3562fbc9425042a0fd6d21956fcc2db0077f63f34253ab904
+SIZE (click-default-group-1.2.2.tar.gz) = 3300
diff --git a/devel/py-click-default-group/pkg-descr b/devel/py-click-default-group/pkg-descr
new file mode 100644
index 000000000000..092a671ae22c
--- /dev/null
+++ b/devel/py-click-default-group/pkg-descr
@@ -0,0 +1,4 @@
+DefaultGroup is a sub class of click.Group. But it invokes a default subcommand
+instead of showing a help message when a subcommand is not passed.
+
+WWW: https://github.com/click-contrib/click-default-group



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