Ai
5 Star 0 Fork 3

src-openEuler/python-click-completion
关闭

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
python-click-completion.spec 1.47 KB
一键复制 编辑 原始数据 按行查看 历史
xuhe 提交于 2021-06-25 16:06 +08:00 . Package init
%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
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/python-click-completion.git
git@gitee.com:src-openeuler/python-click-completion.git
src-openeuler
python-click-completion
python-click-completion
master

搜索帮助