|
|
0d49f98 |
%global pkgname click-completion
|
|
|
0d49f98 |
|
|
|
0d49f98 |
Name: python-click-completion
|
|
Your Name |
2886d7e |
Version: 0.5.2
|
|
|
f4ccf4c |
Release: 14%{?dist}
|
|
|
0d49f98 |
Summary: Add automatic completion support for fish, Zsh, Bash and PowerShell to Click
|
|
|
0d49f98 |
License: MIT
|
|
|
0d49f98 |
URL: https://github.com/click-contrib/click-completion
|
|
|
a731349 |
Source0: %{url}/archive/v%{version}.tar.gz
|
|
|
0d49f98 |
BuildArch: noarch
|
|
|
0d49f98 |
|
|
|
0d49f98 |
BuildRequires: python3-devel
|
|
|
b8be8c6 |
BuildRequires: python3-setuptools
|
|
|
b8be8c6 |
|
|
|
b8be8c6 |
%{?python_enable_dependency_generator}
|
|
|
0d49f98 |
|
|
|
0d49f98 |
%description
|
|
|
0d49f98 |
Enhanced completion for Click
|
|
|
0d49f98 |
|
|
|
0d49f98 |
Add automatic completion support for fish, Zsh, Bash and PowerShell to Click.
|
|
|
0d49f98 |
|
|
|
0d49f98 |
All the supported shells are able to complete all the command line arguments
|
|
|
0d49f98 |
and options defined with click. In addition, fish and Zsh are also displaying
|
|
|
0d49f98 |
the options and commands help during the completion.
|
|
|
0d49f98 |
|
|
|
0d49f98 |
|
|
|
0d49f98 |
%package -n python3-%{pkgname}
|
|
|
0d49f98 |
Summary: %{summary}
|
|
|
0d49f98 |
%{?python_provide:%python_provide python3-%{pkgname}}
|
|
|
0d49f98 |
%description -n python3-%{pkgname}
|
|
|
0d49f98 |
Enhanced completion for Click
|
|
|
0d49f98 |
|
|
|
0d49f98 |
Add automatic completion support for fish, Zsh, Bash and PowerShell to Click.
|
|
|
0d49f98 |
|
|
|
0d49f98 |
All the supported shells are able to complete all the command line arguments
|
|
|
0d49f98 |
and options defined with click. In addition, fish and Zsh are also displaying
|
|
|
0d49f98 |
the options and commands help during the completion.
|
|
|
0d49f98 |
|
|
|
0d49f98 |
|
|
|
0d49f98 |
%prep
|
|
|
0d49f98 |
%autosetup -n %{pkgname}-%{version}
|
|
|
b1a3b15 |
sed -i 's|^#!/usr/bin/env python||' click_completion/__init__.py
|
|
|
0d49f98 |
sed -i 's|^#!/usr/bin/env python||' examples/click-completion-*
|
|
|
0d49f98 |
chmod -x examples/click-completion-*
|
|
|
0d49f98 |
|
|
|
0d49f98 |
|
|
|
b8be8c6 |
%build
|
|
|
0d49f98 |
%{py3_build}
|
|
|
0d49f98 |
|
|
|
0d49f98 |
|
|
|
b8be8c6 |
%install
|
|
|
0d49f98 |
%{py3_install}
|
|
|
0d49f98 |
|
|
|
0d49f98 |
|
|
|
0d49f98 |
%files -n python3-%{pkgname}
|
|
|
0d49f98 |
%license LICENSE
|
|
|
0d49f98 |
%doc examples README.md
|
|
|
b8be8c6 |
%{python3_sitelib}/click_completion*/
|
|
|
0d49f98 |
|
|
|
0d49f98 |
|
|
|
0d49f98 |
%changelog
|
|
|
f4ccf4c |
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-14
|
|
|
f4ccf4c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
f4ccf4c |
|
|
|
c9b5de7 |
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-13
|
|
|
c9b5de7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
c9b5de7 |
|
|
|
4ef3c6a |
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-12
|
|
|
4ef3c6a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
4ef3c6a |
|
|
|
7861505 |
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 0.5.2-11
|
|
|
7861505 |
- Rebuilt for Python 3.12
|
|
|
7861505 |
|
|
|
f8dc333 |
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-10
|
|
|
f8dc333 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
f8dc333 |
|
|
|
7cd8f82 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-9
|
|
|
7cd8f82 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
7cd8f82 |
|
|
|
83a2e16 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.5.2-8
|
|
|
83a2e16 |
- Rebuilt for Python 3.11
|
|
|
83a2e16 |
|
|
|
6e23b5f |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-7
|
|
|
6e23b5f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
6e23b5f |
|
|
|
f99702a |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-6
|
|
|
f99702a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
f99702a |
|
|
|
bdfd89a |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.5.2-5
|
|
|
bdfd89a |
- Rebuilt for Python 3.10
|
|
|
bdfd89a |
|
|
|
ccc1dff |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-4
|
|
|
ccc1dff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
ccc1dff |
|
|
|
5d73bfb |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.2-3
|
|
|
5d73bfb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
5d73bfb |
|
|
|
12054ac |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.5.2-2
|
|
|
12054ac |
- Rebuilt for Python 3.9
|
|
|
12054ac |
|
|
Your Name |
2886d7e |
* Mon Feb 24 2020 Chedi Toueiti <chedi.toueiti@gmail.com> - 0.5.2
|
|
Your Name |
2886d7e |
- Update to 0.5.2
|
|
Your Name |
2886d7e |
|
|
|
559bb06 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-6
|
|
|
559bb06 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
559bb06 |
|
|
|
b976ac8 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-5
|
|
|
b976ac8 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
b976ac8 |
|
|
|
3a2e240 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-4
|
|
|
3a2e240 |
- Rebuilt for Python 3.8
|
|
|
3a2e240 |
|
|
|
3675608 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-3
|
|
|
3675608 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
3675608 |
|
|
|
8db9c18 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
|
|
|
8db9c18 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
8db9c18 |
|
|
|
b8be8c6 |
* Fri Nov 23 2018 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-1
|
|
|
b8be8c6 |
- Update to 0.5.0
|
|
|
b8be8c6 |
- Drop python2 subpackage
|
|
|
b8be8c6 |
|
|
|
b1a3b15 |
* Mon Jul 30 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.1-1
|
|
|
b1a3b15 |
- Update to 0.3.1
|
|
|
b1a3b15 |
|
|
|
6c7f277 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-3
|
|
|
6c7f277 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
6c7f277 |
|
|
|
186f04e |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2.1-2
|
|
|
186f04e |
- Rebuilt for Python 3.7
|
|
|
186f04e |
|
|
|
0d49f98 |
* Tue Apr 3 2018 Brett Lentz <brett.lentz@gmail.com> - 0.2.1-1
|
|
|
0d49f98 |
- initial package
|