14
0

Accepting request 691783 from devel:languages:python

- Update to 1.9.5:
  * check_module: Don’t crash, exit with error instead (#261)
  * Register completion for multiple commands (#246)

OBS-URL: https://build.opensuse.org/request/show/691783
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-argcomplete?expand=0&rev=11
This commit is contained in:
2019-04-08 18:52:57 +00:00
committed by Git OBS Bridge
4 changed files with 18 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:06c8a54ffaa6bfc9006314498742ec8843601206a3b94212f82657673662ecf1
size 47471

3
argcomplete-1.9.5.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94423d1a56cdec2ef47699e02c9a48cf8827b9c4465b836c0cefb30afe85e59a
size 46812

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Apr 5 11:02:52 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.9.5:
* check_module: Dont crash, exit with error instead (#261)
* Register completion for multiple commands (#246)
-------------------------------------------------------------------
Mon Feb 25 05:52:03 UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -17,23 +17,21 @@
#
%{!?license: %global license %doc}
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-argcomplete
Version: 1.9.4
Version: 1.9.5
Release: 0
Summary: Bash tab completion for argparse
License: Apache-2.0
Group: Development/Languages/Python
Url: https://github.com/kislyuk/argcomplete
URL: https://github.com/kislyuk/argcomplete
Source: https://files.pythonhosted.org/packages/source/a/argcomplete/argcomplete-%{version}.tar.gz
Patch0: skip_tcsh_tests.patch
Patch1: trim-test-deps.patch
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION tests
BuildRequires: %{python_module pexpect}
# END SECTIONS tests
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%python_subpackages
@@ -63,10 +61,8 @@ resources over the network).
%python_install
rm -rf %{buildroot}%{python_sitelib}/test
rm %{buildroot}%{_bindir}/activate-global-python-argcomplete
%python_clone %{buildroot}%{_bindir}/python-argcomplete-check-easy-install-script
%python_clone %{buildroot}%{_bindir}/register-python-argcomplete
install -DTm644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_sysconfdir}/bash_completion.d/python-argcomplete.sh
%python_clone %{buildroot}%{_sysconfdir}/bash_completion.d/python-argcomplete.sh
%python_expand %fdupes %{buildroot}%{$python_sitelib}
install -DTm644 %{buildroot}%{python_sitelib}/argcomplete/bash_completion.d/python-argcomplete.sh %{buildroot}%{_datadir}/bash-completion/completions/python-argcomplete.sh
# tcsh support is broken
rm %{buildroot}%{_bindir}/python-argcomplete-tcsh
@@ -81,9 +77,6 @@ export LANG=en_US.UTF-8
%{python_sitelib}/argcomplete
%python3_only %{_bindir}/python-argcomplete-check-easy-install-script
%python3_only %{_bindir}/register-python-argcomplete
%python3_only %{_sysconfdir}/bash_completion.d/python-argcomplete.sh
%{_bindir}/python-argcomplete-check-easy-install-script-%{python_version}
%{_bindir}/register-python-argcomplete-%{python_version}
%{_sysconfdir}/bash_completion.d/python-argcomplete.sh-%{python_version}
%python3_only %{_datadir}/bash-completion/completions/python-argcomplete.sh
%changelog