This commit is contained in:
Aleksandr Proklov 2020-07-29 22:11:23 +09:00
parent c47bcfa490
commit 9f2b8cf104
2 changed files with 17 additions and 18 deletions

View file

@ -1,3 +1,2 @@
sources:
Click-7.0.tar.gz: fcbbb6d25b8eb45f7919e8605ec33b33583b0217
click-7.0.dev0.tar.gz: 8a04f52721aa28e919916f69ac02c37b038a9e49
click-7.1.2.tar.gz: 1e55974c8a8d75b0733dd40841a1a354ad36ae10

View file

@ -1,18 +1,16 @@
%define module Click
%define module click
Name: python-%{module}
Version: 7.0
Release: 3
Version: 7.1.2
Release: 1
Summary: A simple wrapper around optparse for powerful command line utilities
Source0: http://pypi.python.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz
License: BSD
Group: Development/Python
License: BSD
Url: https://palletsprojects.com/p/click/
BuildRequires: pythonegg(setuptools)
BuildRequires: pkgconfig(python)
Obsoletes: pythonegg(click) == 7.0.dev0
Obsoletes: python-click == 7.0.dev0
Provides: python-click == %{EVRD}
Source0: https://pypi.io/packages/source/c/%{module}/%{module}-%{version}.tar.gz
Provides: python-click == %{EVRD}
Obsoletes: python3-click == 7.0.dev0
Obsoletes: python-click == 7.0.dev0
BuildArch: noarch
%description
@ -25,13 +23,14 @@ 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.
#--------------------------------------------------
#-----------------------------------------------------------------------
%package -n python3-%{module}
Summary: A simple wrapper around optparse for powerful command line utilities
Group: Development/Python
BuildRequires: pkgconfig(python3)
BuildRequires: python3egg(setuptools)
BuildRequires: pkgconfig(python3)
BuildRequires: python3egg(setuptools)
%description -n python3-%{module}
Click is a Python package for creating beautiful command line interfaces
@ -45,9 +44,10 @@ implement an intended CLI API.
%files -n python3-%{module}
%doc *.rst
%{py3_puresitedir}/click/*.py*
%{py3_puresitedir}/Click*.egg-info
#------------------------------------------
%{python3_sitelib}/click/*.py*
%{python3_sitelib}/click/__pycache__
%{python3_sitelib}/click*.egg-info
#----------------------------------------------------------------------
%prep
%setup -qn %{module}-%{version}