mirror of
https://abf.rosa.ru/djam/python-click.git
synced 2025-02-23 17:32:50 +00:00
This commit is contained in:
parent
ca94a614a6
commit
23e2212683
2 changed files with 37 additions and 5 deletions
1
.abf.yml
1
.abf.yml
|
@ -1,3 +1,4 @@
|
||||||
sources:
|
sources:
|
||||||
Click-7.0.tar.gz: fcbbb6d25b8eb45f7919e8605ec33b33583b0217
|
Click-7.0.tar.gz: fcbbb6d25b8eb45f7919e8605ec33b33583b0217
|
||||||
click-7.0.dev0.tar.gz: 8a04f52721aa28e919916f69ac02c37b038a9e49
|
click-7.0.dev0.tar.gz: 8a04f52721aa28e919916f69ac02c37b038a9e49
|
||||||
|
python-Click-7.1.2.tar.gz: df5cae0c0df77aef5890b35247eff1ff5890d873
|
||||||
|
|
|
@ -1,13 +1,14 @@
|
||||||
%define module Click
|
%define module Click
|
||||||
|
|
||||||
Name: python-%{module}
|
Name: python-%{module}
|
||||||
Version: 7.0
|
Version: 7.1.2
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: A simple wrapper around optparse for powerful command line utilities
|
Summary: A simple wrapper around optparse for powerful command line utilities
|
||||||
Source0: http://pypi.python.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz
|
URL: https://palletsprojects.com/projects/click
|
||||||
|
#Source0: http://pypi.python.org/packages/source/c/%{module}/%{module}-%{version}.tar.gz
|
||||||
|
Source0: https://github.com/pallets/click/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
License: BSD
|
License: BSD
|
||||||
Group: Development/Python
|
Group: Development/Python
|
||||||
Url: https://palletsprojects.com/p/click/
|
|
||||||
BuildRequires: pythonegg(setuptools)
|
BuildRequires: pythonegg(setuptools)
|
||||||
BuildRequires: pkgconfig(python)
|
BuildRequires: pkgconfig(python)
|
||||||
Obsoletes: pythonegg(click) == 7.0.dev0
|
Obsoletes: pythonegg(click) == 7.0.dev0
|
||||||
|
@ -52,11 +53,35 @@ implement an intended CLI API.
|
||||||
%{py3_puresitedir}/click/*.py*
|
%{py3_puresitedir}/click/*.py*
|
||||||
%{py3_puresitedir}/Click*.egg-info
|
%{py3_puresitedir}/Click*.egg-info
|
||||||
#------------------------------------------
|
#------------------------------------------
|
||||||
|
#--------------------------------------------------
|
||||||
|
|
||||||
|
%package -n python38-%{module}
|
||||||
|
Summary: A simple wrapper around optparse for powerful command line utilities
|
||||||
|
|
||||||
|
BuildRequires: pkgconfig(python3)
|
||||||
|
BuildRequires: python3egg(setuptools)
|
||||||
|
|
||||||
|
%description -n python38-%{module}
|
||||||
|
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.
|
||||||
|
|
||||||
|
%files -n python38-%{module}
|
||||||
|
%doc *.rst
|
||||||
|
%{py3_puresitedir}/click/*.py*
|
||||||
|
%{py3_puresitedir}/Click*.egg-info
|
||||||
|
#------------------------------------------
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -qn %{module}-%{version}
|
%setup -qn %{module}-%{version}
|
||||||
rm -rf %{module}.egg-info
|
rm -rf %{module}.egg-info
|
||||||
cp -a . %{py3dir}
|
cp -a . %{py3dir}
|
||||||
|
cp -a . %{py38dir}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%py2_build
|
%py2_build
|
||||||
|
@ -65,6 +90,10 @@ pushd %{py3dir}
|
||||||
%py3_build
|
%py3_build
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
pushd %{py38dir}
|
||||||
|
%py38_build
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%py2_install
|
%py2_install
|
||||||
#
|
#
|
||||||
|
@ -72,4 +101,6 @@ pushd %{py3dir}
|
||||||
%py3_install
|
%py3_install
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
pushd %{py38dir}
|
||||||
|
%py38_install
|
||||||
|
popd
|
||||||
|
|
Loading…
Add table
Reference in a new issue