commit:     c03ba8df6e9251e0e2b188c444149c55d80eab90
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Sat Jan 14 01:49:18 2023 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
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 <julien <AT> 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}]
+               <dev-python/coverage-7[${PYTHON_USEDEP}]
+               dev-python/coveralls[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest

diff --git a/dev-python/click-option-group/metadata.xml 
b/dev-python/click-option-group/metadata.xml
new file mode 100644
index 000000000..0e597edc2
--- /dev/null
+++ b/dev-python/click-option-group/metadata.xml
@@ -0,0 +1,25 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>jul...@jroy.ca</email>
+               <name>Julien Roy</name>
+       </maintainer>
+       <longdescription>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).
+       </longdescription>
+       <upstream>
+               <maintainer>
+                       <name>Eugene Prilepin</name>
+                       <email>esp.h...@gmail.com</email>
+               </maintainer>
+               
<changelog>https://github.com/click-contrib/click-option-group/releases</changelog>
+               <doc>https://click-option-group.readthedocs.io/</doc>
+               
<bugs-to>https://github.com/click-contrib/click-option-group/issues</bugs-to>
+               <remote-id 
type="github">click-contrib/click-option-group</remote-id>
+               <remote-id type="pypi">click-option-group</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to