Skip to content
Snippets Groups Projects
Verified Commit d5fbf3e3 authored by sunpoet's avatar sunpoet
Browse files

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).
parent d9c5f066
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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 <bsd.port.mk>
TIMESTAMP = 1677770919
SHA256 (click-option-group-0.5.5.tar.gz) = 78ee474f07a0ca0ef6c0317bb3ebe79387aafb0c4a1e03b1d8b2b0be1e42fc78
SIZE (click-option-group-0.5.5.tar.gz) = 15961
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).
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment