aboutsummaryrefslogtreecommitdiff
path: root/dev-python/click-option-group
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/click-option-group')
-rw-r--r--dev-python/click-option-group/Manifest1
-rw-r--r--dev-python/click-option-group/click-option-group-0.5.5.ebuild29
-rw-r--r--dev-python/click-option-group/metadata.xml25
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/click-option-group/Manifest b/dev-python/click-option-group/Manifest
new file mode 100644
index 0000000..e291843
--- /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 0000000..d4ac04a
--- /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 0000000..0e597ed
--- /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>julien@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.home@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>