From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3C49015800F for ; Sat, 14 Jan 2023 18:43:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 59795E088F; Sat, 14 Jan 2023 18:43:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E7E7E088F for ; Sat, 14 Jan 2023 18:43:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6065D340ED3 for ; Sat, 14 Jan 2023 18:43:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 89BE488C for ; Sat, 14 Jan 2023 18:43:19 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1673661014.c03ba8df6e9251e0e2b188c444149c55d80eab90.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-python/click-option-group/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-python/click-option-group/Manifest dev-python/click-option-group/click-option-group-0.5.5.ebuild dev-python/click-option-group/metadata.xml X-VCS-Directories: dev-python/click-option-group/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: c03ba8df6e9251e0e2b188c444149c55d80eab90 X-VCS-Branch: master Date: Sat, 14 Jan 2023 18:43:19 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 33dcd88c-0c66-415f-b1c0-aa709543be76 X-Archives-Hash: 2ade9b6cca4096217b17c58eba82c5cb commit: c03ba8df6e9251e0e2b188c444149c55d80eab90 Author: Julien Roy jroy ca> AuthorDate: Sat Jan 14 01:49:18 2023 +0000 Commit: Andrew Ammerlaan gentoo org> CommitDate: Sat Jan 14 01:50:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c03ba8df dev-python/click-option-group: new package, add 0.5.5 Signed-off-by: Julien Roy jroy.ca> dev-python/click-option-group/Manifest | 1 + .../click-option-group-0.5.5.ebuild | 29 ++++++++++++++++++++++ dev-python/click-option-group/metadata.xml | 25 +++++++++++++++++++ 3 files changed, 55 insertions(+) diff --git a/dev-python/click-option-group/Manifest b/dev-python/click-option-group/Manifest new file mode 100644 index 000000000..e2918432b --- /dev/null +++ b/dev-python/click-option-group/Manifest @@ -0,0 +1 @@ +DIST click-option-group-0.5.5.gh.tar.gz 18488 BLAKE2B 87bd7bf585a5ea0d7fcb49695a10e79fcecead334ae23058508a17d7e2347b132767703abc4a8918564c3b04f21ab8db30dfeb46a0d8e3a07d224eb6cbf344a5 SHA512 114f47846668c3b3d7465ac22d0e6fce79de230a267432d55a4a1a60be7c1511a376b8f39c3e1f3dac556fd89d00e2015977b01df05ae60d8fb5d46756bec9df diff --git a/dev-python/click-option-group/click-option-group-0.5.5.ebuild b/dev-python/click-option-group/click-option-group-0.5.5.ebuild new file mode 100644 index 000000000..d4ac04a23 --- /dev/null +++ b/dev-python/click-option-group/click-option-group-0.5.5.ebuild @@ -0,0 +1,29 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION=" Option groups missing in Click " +HOMEPAGE="https://github.com/click-contrib/click-option-group" +SRC_URI="https://github.com/click-contrib/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/click[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=" + test? ( + dev-python/pytest-cov[${PYTHON_USEDEP}] + + + + + julien@jroy.ca + Julien Roy + + 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. + +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). + + + + Eugene Prilepin + esp.home@gmail.com + + https://github.com/click-contrib/click-option-group/releases + https://click-option-group.readthedocs.io/ + https://github.com/click-contrib/click-option-group/issues + click-contrib/click-option-group + click-option-group + +