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.
|
||||
It's the "Command Line Interface Creation Kit".
|
||||
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.
|
||||
|
||||
Click in three points:
|
||||
* arbitrary nesting of commands
|
||||
* automatic help page generation
|
||||
|
@ -1,35 +1,36 @@
|
||||
Name: python-click
|
||||
Version: 7.0
|
||||
Version: 8.0.3
|
||||
Release: 1mamba
|
||||
Summary: A simple wrapper around optparse for powerful command line utilities
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
|
||||
URL: http://click.pocoo.org
|
||||
Source: https://pypi.debian.net/click/Click-%{version}.tar.gz
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://click.palletsprojects.com/en/8.0.x/
|
||||
Source: https://pypi.debian.net/click/click-%{version}.tar.gz
|
||||
License: BSD
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: libpython-devel
|
||||
BuildRequires: libpython3-devel
|
||||
BuildRequires: python3.7dist(importlib-metadata)
|
||||
## AUTOBUILDREQ-END
|
||||
Requires: python >= %python_version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
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 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.
|
||||
|
||||
Click in three points:
|
||||
* arbitrary nesting of commands
|
||||
* automatic help page generation
|
||||
* supports lazy loading of subcommands at runtime
|
||||
|
||||
%if 0%{?with_pyver}
|
||||
%pyver_package
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%setup -q -n Click-%{version}
|
||||
%setup -q -n click-%{version}
|
||||
|
||||
%build
|
||||
CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
@ -43,12 +44,17 @@ CFLAGS="%{optflags}" %{__python} setup.py build
|
||||
--install-lib=%{python_sitearch} \
|
||||
--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)
|
||||
%dir %{python_sitearch}/click-%{version}-py*.egg-info
|
||||
%{python_sitearch}/click-%{version}-py*.egg-info/*
|
||||
|
||||
%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
|
||||
- update to 7.0
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user