From nobody Tue Mar 21 19:23:44 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ph1js22Hcz40g2C; Tue, 21 Mar 2023 19:23:45 +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 4Ph1js1GDfz49WB; Tue, 21 Mar 2023 19:23:45 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426625; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6xRJcEtTvs6zDrOh4Oh3/y4w8XzNyGWaFwrZsUGK3So=; b=HcwRr44baAcDwXGwTM4bu9e0+R9hO8vcNCmRnQl3HUzR88Qh8g5aRKSnNV7m0htpHUlLvO b4CnrQx2RrfR5zCIFADw8exje1hJsjHKrj2yf8M1K/70kr6XJFz8rqABn873tqRcMjBQ+n H2TiQ5m7CR53yc2tSbcVT6XByM0+KG8RXMUXI8eaTXnbQYxOj8uMA/bKau/JOhIFSbtb/7 3EQ4qfEvUD35AH2YkoK2RrRUjcDGt2msUhftq+wqwuxHtV/JUH/8ywXnCF+B50L1GTMk0g uVb0kX9JwYKAPiRO1HyT6mnvRaREqR5i2jzANWrHHZHxmT1/xqhssSmzvlClWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1679426625; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6xRJcEtTvs6zDrOh4Oh3/y4w8XzNyGWaFwrZsUGK3So=; b=VZfugE7xOszoWacD8eTfJ2iEURST8Q4ZvCDMUtuw/BCs4587mW193lpYXjdpNXV2IqkT09 mb2PNi59OkSMik9dRZmCIk4DE91nMJ3UksNnMLTP+aM/Gv0zVaXmiKalzr6hrs3m6kvxqI DTyYC5hKwHyISopUhbIDnIUIyENKsTIrll6UgWYBhF5vreJwdO4497LIcJgoewAAOSo4Aj V6Pw9gxzgGTdjO3eLNzp2ZOrzXo3SENkShheWs2OM3HzUIAvF4I6DtQpI6H4qrvlfb5QJS Bg4iOXx/tGl9Ns1NAaVOZq/TTfKOinzk9ei3Fv/u7eRYQNDBhxaY6JzmnT3P3w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1679426625; a=rsa-sha256; cv=none; b=eLTepGVXcxKQQJhUv6fgciEL6wZv1abmnOev27LBAclsGVGJfpOcmy155t6d5vMEted9rI eIkfE8dZVYOBZCXsdwh6cPShRfNpoje120TW2leSB0EDcBdKXM7dnrBcli5ssNBvsSHyW3 Pg08dLkR4nEu9e7mBmvq9M7vYl933CSeAfeKzu7Uc5d670NTckoycloHR4ncBsvrcd4RYQ yvZz1TiE4kUlOPueTUU9v2YnSQfTLYn0e2+S3eVRQByZIeXxL1/aL1pXL8ZHN2CaaQlp+V hUfRwo3cEoANp+flMkLXAy2I3mZUcL8R/Z9+4kvNjhXyvfh0C8ZrsjIULdw67Q== 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 4Ph1js0LsBzPM1; Tue, 21 Mar 2023 19:23:45 +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 32LJNiNW026657; Tue, 21 Mar 2023 19:23:44 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32LJNiQr026656; Tue, 21 Mar 2023 19:23:44 GMT (envelope-from git) Date: Tue, 21 Mar 2023 19:23:44 GMT Message-Id: <202303211923.32LJNiQr026656@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: d5fbf3e3709d - main - devel/py-click-option-group: Add py-click-option-group 0.5.5 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org 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: d5fbf3e3709df603485e3c580fe4b7a58a2f811a Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=d5fbf3e3709df603485e3c580fe4b7a58a2f811a commit d5fbf3e3709df603485e3c580fe4b7a58a2f811a Author: Po-Chuan Hsieh AuthorDate: 2023-03-21 18:35:03 +0000 Commit: Po-Chuan Hsieh CommitDate: 2023-03-21 19:19:50 +0000 devel/py-click-option-group: Add py-click-option-group 0.5.5 click-option-group is a Click-extension package that adds option groups missing in Click. Click is a package for creating powerful and beautiful command line interfaces (CLI) in Python, but it has no the functionality for creating option groups. Option groups are convenient mechanism for logical structuring CLI, also it allows you to set the specific behavior and set the relationship among grouped options (mutually exclusive options for example). Moreover, argparse stdlib package contains this functionality out of the box. At the same time, many Click users need this functionality. You can read interesting discussions about it in the issues 257, 373, 509 and 1137. The aim of this package is to provide group options with extensible functionality using canonical and clean API (Click-like API as far as possible). --- devel/Makefile | 1 + devel/py-click-option-group/Makefile | 21 +++++++++++++++++++++ devel/py-click-option-group/distinfo | 3 +++ devel/py-click-option-group/pkg-descr | 16 ++++++++++++++++ 4 files changed, 41 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8f8b981626d9..3710ea03e521 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -4412,6 +4412,7 @@ SUBDIR += py-click-default-group SUBDIR += py-click-default-group-wheel SUBDIR += py-click-log + SUBDIR += py-click-option-group SUBDIR += py-click-plugins SUBDIR += py-click-threading SUBDIR += py-click7 diff --git a/devel/py-click-option-group/Makefile b/devel/py-click-option-group/Makefile new file mode 100644 index 000000000000..a242e5573867 --- /dev/null +++ b/devel/py-click-option-group/Makefile @@ -0,0 +1,21 @@ +PORTNAME= click-option-group +PORTVERSION= 0.5.5 +CATEGORIES= devel python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Option groups missing in Click +WWW= https://github.com/click-contrib/click-option-group + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7.0<9:devel/py-click@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist concurrent distutils + +NO_ARCH= yes + +.include diff --git a/devel/py-click-option-group/distinfo b/devel/py-click-option-group/distinfo new file mode 100644 index 000000000000..a71308d2a7ce --- /dev/null +++ b/devel/py-click-option-group/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1677770919 +SHA256 (click-option-group-0.5.5.tar.gz) = 78ee474f07a0ca0ef6c0317bb3ebe79387aafb0c4a1e03b1d8b2b0be1e42fc78 +SIZE (click-option-group-0.5.5.tar.gz) = 15961 diff --git a/devel/py-click-option-group/pkg-descr b/devel/py-click-option-group/pkg-descr new file mode 100644 index 000000000000..f6e1a185a2a5 --- /dev/null +++ b/devel/py-click-option-group/pkg-descr @@ -0,0 +1,16 @@ +click-option-group is a Click-extension package that adds option groups missing +in Click. + +Click is a package for creating powerful and beautiful command line interfaces +(CLI) in Python, but it has no the functionality for creating option groups. + +Option groups are convenient mechanism for logical structuring CLI, also it +allows you to set the specific behavior and set the relationship among grouped +options (mutually exclusive options for example). Moreover, argparse stdlib +package contains this functionality out of the box. + +At the same time, many Click users need this functionality. You can read +interesting discussions about it in the issues 257, 373, 509 and 1137. + +The aim of this package is to provide group options with extensible +functionality using canonical and clean API (Click-like API as far as possible).