Accepting request 1089857 from home:Andreas_Schwab:Factory
- bash-repl.patch: Use correct place for auxiliary bashrc.sh file from pexpect OBS-URL: https://build.opensuse.org/request/show/1089857 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-argcomplete?expand=0&rev=52
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 30 16:02:49 UTC 2023 - Andreas Schwab <schwab@suse.de>
|
||||||
|
|
||||||
|
- bash-repl.patch: Use correct place for auxiliary bashrc.sh file from pexpect
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri May 5 11:23:29 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
Fri May 5 11:23:29 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ Source: https://files.pythonhosted.org/packages/source/a/argcomplete/arg
|
|||||||
Patch1: trim-test-deps.patch
|
Patch1: trim-test-deps.patch
|
||||||
# Don't fail the test suite when zsh is not available
|
# Don't fail the test suite when zsh is not available
|
||||||
Patch2: without_zsh.patch
|
Patch2: without_zsh.patch
|
||||||
|
# Use correct place for auxiliary bashrc.sh file from pexpect
|
||||||
|
Patch3: bash-repl.patch
|
||||||
BuildRequires: %{python_module coverage}
|
BuildRequires: %{python_module coverage}
|
||||||
BuildRequires: %{python_module pexpect}
|
BuildRequires: %{python_module pexpect}
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
|||||||
@@ -0,0 +1,13 @@
|
|||||||
|
Index: argcomplete-3.0.8/test/test.py
|
||||||
|
===================================================================
|
||||||
|
--- argcomplete-3.0.8.orig/test/test.py
|
||||||
|
+++ argcomplete-3.0.8/test/test.py
|
||||||
|
@@ -65,7 +65,7 @@ def _repl_sh(command, args, non_printabl
|
||||||
|
|
||||||
|
|
||||||
|
def bash_repl(command="bash"):
|
||||||
|
- bashrc = os.path.join(os.path.dirname(pexpect.__file__), "replwrap", "bashrc.sh")
|
||||||
|
+ bashrc = os.path.join(os.path.dirname(pexpect.__file__), "bashrc.sh")
|
||||||
|
sh = _repl_sh(command, ["--rcfile", bashrc], non_printable_insert="\\[\\]")
|
||||||
|
return sh
|
||||||
|
|
||||||
Reference in New Issue
Block a user