From owner-dev-commits-ports-main@freebsd.org Tue May 18 19:31:44 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 936FB655013; Tue, 18 May 2021 19:31:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Fl5jD1w9Hz4fJq; Tue, 18 May 2021 19:31:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 248E025168; Tue, 18 May 2021 19:31:44 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14IJViab035986; Tue, 18 May 2021 19:31:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14IJViTg035985; Tue, 18 May 2021 19:31:44 GMT (envelope-from git) Date: Tue, 18 May 2021 19:31:44 GMT Message-Id: <202105181931.14IJViTg035985@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 71276bfcace7 - main - devel/py-click-default-group: Add py-click-default-group 1.2.2 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 71276bfcace7240b1eb70f113533fd18aaa273db Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2021 19:31:44 -0000 The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=71276bfcace7240b1eb70f113533fd18aaa273db commit 71276bfcace7240b1eb70f113533fd18aaa273db Author: Po-Chuan Hsieh AuthorDate: 2021-05-18 19:26:55 +0000 Commit: Po-Chuan Hsieh 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 + +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 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