mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-14 01:23:23 -04:00
dev-python/click-option-group: new package, add 0.5.5
Signed-off-by: Julien Roy <julien@jroy.ca>
This commit is contained in:
1
dev-python/click-option-group/Manifest
Normal file
1
dev-python/click-option-group/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST click-option-group-0.5.5.gh.tar.gz 18488 BLAKE2B 87bd7bf585a5ea0d7fcb49695a10e79fcecead334ae23058508a17d7e2347b132767703abc4a8918564c3b04f21ab8db30dfeb46a0d8e3a07d224eb6cbf344a5 SHA512 114f47846668c3b3d7465ac22d0e6fce79de230a267432d55a4a1a60be7c1511a376b8f39c3e1f3dac556fd89d00e2015977b01df05ae60d8fb5d46756bec9df
|
||||
@@ -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
|
||||
25
dev-python/click-option-group/metadata.xml
Normal file
25
dev-python/click-option-group/metadata.xml
Normal file
@@ -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>
|
||||
Reference in New Issue
Block a user