Compare commits

...

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
be39a75063
!15 Upgrade version to 3.2.2
From: @cherry530 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
2024-02-17 09:10:19 +00:00
cherry530
acfc4724f5 Upgrade version to 3.2.2
Signed-off-by: cherry530 <707078654@qq.com>
2024-02-17 14:29:35 +08:00
openeuler-ci-bot
e1a7a53757
!14 Update package to version 3.1.6
From: @jxy_git 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2023-11-13 09:57:14 +00:00
jxy_git
3131480996 Update package to version 3.1.6 2023-11-13 17:32:17 +08:00
openeuler-ci-bot
8b0336803e
!13 Update package to version 3.1.1
From: @jxy_git 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2023-06-25 00:33:45 +00:00
jxy_git
3c589e834a Update package to version 3.1.1 2023-06-21 17:11:08 +08:00
openeuler-ci-bot
f0cec80eeb
!12 Upgrade to 3.0.5
From: @wu-leilei 
Reviewed-by: @cherry530 
Signed-off-by: @cherry530
2023-04-12 06:10:13 +00:00
wu-leilei
8828f510a3 Upgrade package to version 3.0.5 2023-04-12 10:12:08 +08:00
openeuler-ci-bot
bdd9fc3cca
!10 update to 2.1.1
From: @lyn1001 
Reviewed-by: @shinwell_hu 
Signed-off-by: @shinwell_hu
2022-05-31 01:07:54 +00:00
lyn1001
1eb97c8fa6 updateto 2.1.1 2022-05-30 16:09:24 +08:00
3 changed files with 21 additions and 5 deletions

Binary file not shown.

BIN
argcomplete-3.2.2.tar.gz Normal file

Binary file not shown.

View File

@ -1,10 +1,10 @@
Name: python-argcomplete
Version: 1.9.5
Release: 3
Version: 3.2.2
Release: 1
Summary: Argparse's bash tab completion
License: ASL 2.0
URL: https://github.com/kislyuk/argcomplete
Source0: %{url}/archive/v%{version}/argcomplete-%{version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz
BuildRequires: tcsh
BuildArch: noarch
@ -23,6 +23,7 @@ Argcomplete provides simple, extensible command line tab parameter completion fo
%prep
%autosetup -n argcomplete-%{version} -p1
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 "s|python |python3 |" test/test.py
@ -32,7 +33,7 @@ sed -i -e "s|python |python3 |" test/test.py
%install
%py3_install
install -d %{buildroot}%{_sysconfdir}/bash_completion.d/
install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh \
install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/_python-argcomplete \
%{buildroot}%{_sysconfdir}/bash_completion.d/
%check
@ -42,9 +43,24 @@ install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/p
%{python3_sitelib}/{argcomplete-*.egg-info/,argcomplete/}
%{_bindir}/{activate-global-python-argcomplete,python-argcomplete-check-easy-install-script}
%{_bindir}/{python-argcomplete-tcsh,register-python-argcomplete}
%{_sysconfdir}/bash_completion.d/python-argcomplete.sh
%{_sysconfdir}/bash_completion.d/_python-argcomplete
%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
- Type:NA
- ID:NA