代码拉取完成,页面将自动刷新
%global pkgname click-completion
%define desc \
Enhanced completion for Click \
Add automatic completion support for fish, Zsh, Bash and PowerShell to Click. \
All the supported shells are able to complete all the command line arguments \
and options defined with click. In addition, fish and Zsh are also displaying \
the options and commands help during the completion.
Name: python-click-completion
Version: 0.5.2
Release: 1
Summary: Add automatic completion support for fish, Zsh, Bash and PowerShell to Click
License: MIT
URL: https://github.com/click-contrib/click-completion
Source0: %{url}/archive/v%{version}.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-click
Requires: python3-click
%{?python_enable_dependency_generator}
%description
%desc
%package -n python3-%{pkgname}
Summary: %{summary}
Requires: python3-click
%{?python_provide:%python_provide python3-%{pkgname}}
%description -n python3-%{pkgname}
%desc
%prep
%autosetup -n %{pkgname}-%{version}
sed -i 's|^#!/usr/bin/env python||' click_completion/__init__.py
sed -i 's|^#!/usr/bin/env python||' examples/click-completion-*
chmod -x examples/click-completion-*
%build
%{py3_build}
%install
%{py3_install}
%files -n python3-%{pkgname}
%license LICENSE
%doc examples README.md
%{python3_sitelib}/click_completion*/
%changelog
* Fri Jun 25 2021 xuhe <xuhe@kylinos.cn> - 0.5.2-1
- Package init
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。