diff --git a/argcomplete-3.5.1.tar.gz b/argcomplete-3.5.1.tar.gz deleted file mode 100644 index 6b0ed05a72b0026c715792a53d8cecf80c8ee87b..0000000000000000000000000000000000000000 Binary files a/argcomplete-3.5.1.tar.gz and /dev/null differ diff --git a/argcomplete-3.6.2.tar.gz b/argcomplete-3.6.2.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..20b673857c905d9ab671910877410cde75d9a8d7 Binary files /dev/null and b/argcomplete-3.6.2.tar.gz differ diff --git a/python-argcomplete.spec b/python-argcomplete.spec index c6232e5b219610fce166dd584df207a25632c654..25830fb424d806257ca3c30c9cb4158ea3339888 100644 --- a/python-argcomplete.spec +++ b/python-argcomplete.spec @@ -1,5 +1,5 @@ Name: python-argcomplete -Version: 3.5.1 +Version: 3.6.2 Release: 1 Summary: Argparse's bash tab completion License: Apache-2.0 @@ -14,7 +14,7 @@ Argcomplete provides simple, extensible command line tab parameter completion fo %package -n python3-argcomplete Summary: Argparse's bash tab completion %{?python_provide:%python_provide python3-argcomplete} -BuildRequires: python3-devel python3-setuptools python3-pexpect +BuildRequires: python3-devel python3-setuptools python3-pexpect python3-pip python3-hatchling Requires: python3-setuptools %description -n python3-argcomplete @@ -22,16 +22,14 @@ 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.5.0",' setup.py sed -i -e "1s|#!.*python.*|#!%{__python3}|" test/prog sed -i -e "s|python |python3 |" test/test.py %build -%py3_build +%pyproject_build %install -%py3_install +%pyproject_install install -d %{buildroot}%{_sysconfdir}/bash_completion.d/ install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/_python-argcomplete \ %{buildroot}%{_sysconfdir}/bash_completion.d/ @@ -40,12 +38,16 @@ install -p -m0644 %{buildroot}%{python3_sitelib}/argcomplete/bash_completion.d/_ %files -n python3-argcomplete %doc README.rst LICENSE.rst -%{python3_sitelib}/{argcomplete-*.egg-info/,argcomplete/} +%{python3_sitelib}/* %{_bindir}/{activate-global-python-argcomplete,python-argcomplete-check-easy-install-script} %{_bindir}/{python-argcomplete-tcsh,register-python-argcomplete} %{_sysconfdir}/bash_completion.d/_python-argcomplete %changelog +* Thu Aug 07 2025 zhang_wenyu - 3.6.2-1 +- Update package to version 3.6.2 +- Revert “zsh: skip repeat Python runs in the same completion run” + * Wed Oct 16 2024 jiangxinyu - 3.5.1-1 - Update package to version 3.5.1 - Restore compatibility with argparse in Python 3.12.7+