summaryrefslogtreecommitdiff
path: root/dev-python/argcomplete/files
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-11-13 14:33:52 +0100
committerMichał Górny <mgorny@gentoo.org>2023-11-13 14:49:46 +0100
commitf4b6ddbccf86bd734f4533be7b80e7eaa716a03b (patch)
tree980e2c85c0554ea6a9a6b800fd591641598545d8 /dev-python/argcomplete/files
parent2fb66920f6a524b1b29365dda4b3dd8c06d0ad51 (diff)
downloadgentoo-f4b6ddbccf86bd734f4533be7b80e7eaa716a03b.tar.gz
gentoo-f4b6ddbccf86bd734f4533be7b80e7eaa716a03b.tar.bz2
gentoo-f4b6ddbccf86bd734f4533be7b80e7eaa716a03b.zip
dev-python/argcomplete: Bump to 3.1.6
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/argcomplete/files')
-rw-r--r--dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch b/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch
new file mode 100644
index 000000000000..d8348818164d
--- /dev/null
+++ b/dev-python/argcomplete/files/argcomplete-3.1.6-timeout.patch
@@ -0,0 +1,24 @@
+diff --git a/test/test.py b/test/test.py
+index c89912a..eedfe36 100755
+--- a/test/test.py
++++ b/test/test.py
+@@ -1359,7 +1359,7 @@ class TestBashGlobal(TestBash):
+ if sys.platform == "darwin":
+ # Work around https://stackoverflow.com/questions/24257803
+ command += ' --install-option="--prefix="'
+- install_output = self.sh.run_command(command)
++ install_output = self.sh.run_command(command, timeout=300)
+ self.assertEqual(self.sh.run_command("echo $?"), "0\r\n", install_output)
+ command = "test-module"
+ if package:
+@@ -1395,8 +1395,8 @@ class Shell:
+ def run_command(self, command):
+ try:
+ self.child.sendline(r"echo -n \#\#\#; {0}; echo -n \#\#\#".format(command))
+- self.child.expect_exact("###", timeout=5)
+- self.child.expect_exact("###", timeout=5)
++ self.child.expect_exact("###", timeout=30)
++ self.child.expect_exact("###", timeout=30)
+ return self.child.before
+ finally:
+ # Send Ctrl+C in case we get stuck.