update to 8.0.3 [release 8.0.3-1mamba;Tue Jan 11 2022]
This commit is contained in:
parent
7ff9f266ff
commit
282542736b
@ -3,9 +3,7 @@
|
|||||||
Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary.
|
Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary.
|
||||||
It's the "Command Line Interface Creation Kit".
|
It's the "Command Line Interface Creation Kit".
|
||||||
It's highly configurable but comes with sensible defaults out of the box.
|
It's highly configurable but comes with sensible defaults out of the box.
|
||||||
|
|
||||||
It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the inability to implement an intended CLI API.
|
It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the inability to implement an intended CLI API.
|
||||||
|
|
||||||
Click in three points:
|
Click in three points:
|
||||||
* arbitrary nesting of commands
|
* arbitrary nesting of commands
|
||||||
* automatic help page generation
|
* automatic help page generation
|
||||||
|
@ -1,35 +1,36 @@
|
|||||||
Name: python-click
|
Name: python-click
|
||||||
Version: 7.0
|
Version: 8.0.3
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A simple wrapper around optparse for powerful command line utilities
|
Summary: A simple wrapper around optparse for powerful command line utilities
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://click.pocoo.org
|
URL: https://click.palletsprojects.com/en/8.0.x/
|
||||||
Source: https://pypi.debian.net/click/Click-%{version}.tar.gz
|
Source: https://pypi.debian.net/click/click-%{version}.tar.gz
|
||||||
License: BSD
|
License: BSD
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: libpython-devel
|
BuildRequires: libpython3-devel
|
||||||
|
BuildRequires: python3.7dist(importlib-metadata)
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
Requires: python >= %python_version
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary.
|
Click is a Python package for creating beautiful command line interfaces in a composable way with as little code as necessary.
|
||||||
It's the "Command Line Interface Creation Kit".
|
It's the "Command Line Interface Creation Kit".
|
||||||
It's highly configurable but comes with sensible defaults out of the box.
|
It's highly configurable but comes with sensible defaults out of the box.
|
||||||
|
|
||||||
It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the inability to implement an intended CLI API.
|
It aims to make the process of writing command line tools quick and fun while also preventing any frustration caused by the inability to implement an intended CLI API.
|
||||||
|
|
||||||
Click in three points:
|
Click in three points:
|
||||||
* arbitrary nesting of commands
|
* arbitrary nesting of commands
|
||||||
* automatic help page generation
|
* automatic help page generation
|
||||||
* supports lazy loading of subcommands at runtime
|
* supports lazy loading of subcommands at runtime
|
||||||
|
|
||||||
|
%if 0%{?with_pyver}
|
||||||
|
%pyver_package
|
||||||
|
%endif
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Click-%{version}
|
%setup -q -n click-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||||
@ -43,12 +44,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
|||||||
--install-lib=%{python_sitearch} \
|
--install-lib=%{python_sitearch} \
|
||||||
--record=%{name}.filelist
|
--record=%{name}.filelist
|
||||||
|
|
||||||
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
||||||
|
|
||||||
%files -f %{name}.filelist
|
%files %{?pyappend} -f %{name}.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%dir %{python_sitearch}/click-%{version}-py*.egg-info
|
||||||
|
%{python_sitearch}/click-%{version}-py*.egg-info/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 11 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 8.0.3-1mamba
|
||||||
|
- update to 8.0.3
|
||||||
|
|
||||||
* Tue Apr 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0-1mamba
|
* Tue Apr 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 7.0-1mamba
|
||||||
- update to 7.0
|
- update to 7.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user