Compare commits
No commits in common. "be39a75063bc7d135ffe220ab55409269117fd8b" and "585f311635ef6a170f10baa088d9bf10ea302e07" have entirely different histories.
be39a75063
...
585f311635
BIN
argcomplete-1.9.5.tar.gz
Normal file
BIN
argcomplete-1.9.5.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
@ -1,10 +1,10 @@
|
|||||||
Name: python-argcomplete
|
Name: python-argcomplete
|
||||||
Version: 3.2.2
|
Version: 1.9.5
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: Argparse's bash tab completion
|
Summary: Argparse's bash tab completion
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://github.com/kislyuk/argcomplete
|
URL: https://github.com/kislyuk/argcomplete
|
||||||
Source0: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz
|
Source0: %{url}/archive/v%{version}/argcomplete-%{version}.tar.gz
|
||||||
BuildRequires: tcsh
|
BuildRequires: tcsh
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
@ -23,7 +23,6 @@ Argcomplete provides simple, extensible command line tab parameter completion fo
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -n argcomplete-%{version} -p1
|
%autosetup -n argcomplete-%{version} -p1
|
||||||
sed -i -r -e '/tests_require = /s/"(coverage|flake8|wheel)"[, ]*//g' setup.py
|
sed -i -r -e '/tests_require = /s/"(coverage|flake8|wheel)"[, ]*//g' setup.py
|
||||||
sed -i '9a\ name = "argcomplete",\n version = "3.1.1",' setup.py
|
|
||||||
sed -i -e "1s|#!.*python.*|#!%{__python3}|" test/prog scripts/*
|
sed -i -e "1s|#!.*python.*|#!%{__python3}|" test/prog scripts/*
|
||||||
sed -i -e "s|python |python3 |" test/test.py
|
sed -i -e "s|python |python3 |" test/test.py
|
||||||
|
|
||||||
@ -33,7 +32,7 @@ sed -i -e "s|python |python3 |" test/test.py
|
|||||||
%install
|
%install
|
||||||
%py3_install
|
%py3_install
|
||||||
install -d %{buildroot}%{_sysconfdir}/bash_completion.d/
|
install -d %{buildroot}%{_sysconfdir}/bash_completion.d/
|
||||||
install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/_python-argcomplete \
|
install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh \
|
||||||
%{buildroot}%{_sysconfdir}/bash_completion.d/
|
%{buildroot}%{_sysconfdir}/bash_completion.d/
|
||||||
|
|
||||||
%check
|
%check
|
||||||
@ -43,24 +42,9 @@ install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/_
|
|||||||
%{python3_sitelib}/{argcomplete-*.egg-info/,argcomplete/}
|
%{python3_sitelib}/{argcomplete-*.egg-info/,argcomplete/}
|
||||||
%{_bindir}/{activate-global-python-argcomplete,python-argcomplete-check-easy-install-script}
|
%{_bindir}/{activate-global-python-argcomplete,python-argcomplete-check-easy-install-script}
|
||||||
%{_bindir}/{python-argcomplete-tcsh,register-python-argcomplete}
|
%{_bindir}/{python-argcomplete-tcsh,register-python-argcomplete}
|
||||||
%{_sysconfdir}/bash_completion.d/_python-argcomplete
|
%{_sysconfdir}/bash_completion.d/python-argcomplete.sh
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Feb 17 2024 xu_ping <707078654@qq.com> - 3.2.2-1
|
|
||||||
- Update package to version 3.2.2
|
|
||||||
|
|
||||||
* Mon Nov 13 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.1.6-1
|
|
||||||
- Update package to version 3.1.6
|
|
||||||
|
|
||||||
* Wed Jun 21 2023 jiangxinyu <jiangxinyu@kylinos.cn> - 3.1.1-1
|
|
||||||
- Update package to version 3.1.1
|
|
||||||
|
|
||||||
* Fri Apr 07 2023 wulei <wu_lei@hoperun.com> - 3.0.5-1
|
|
||||||
- Upgrade package to version 3.0.5
|
|
||||||
|
|
||||||
* Mon May 30 2022 liyanan <liyanan32@h-partners.com> -2.0.0-1
|
|
||||||
- update to 2.0.0
|
|
||||||
|
|
||||||
* Thu May 28 2020 Jeffery.Gao <gaojianxing@huawei.com> -1.9.5-3
|
* Thu May 28 2020 Jeffery.Gao <gaojianxing@huawei.com> -1.9.5-3
|
||||||
- Type:NA
|
- Type:NA
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user