summaryrefslogtreecommitdiff
path: root/dev-python/argcomplete
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-05-12 20:15:03 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-05-12 20:15:03 +0000
commitfda3fd3a9ec1eb9af34185b8e60b7af5a9f94f04 (patch)
tree70083014eb4662a98cd8790f1347a7e5a9f39910 /dev-python/argcomplete
parent2ea9e9988bb62d22d6e189a65a0dc0218b8103db (diff)
downloadbaldeagleos-repo-fda3fd3a9ec1eb9af34185b8e60b7af5a9f94f04.tar.gz
baldeagleos-repo-fda3fd3a9ec1eb9af34185b8e60b7af5a9f94f04.tar.xz
baldeagleos-repo-fda3fd3a9ec1eb9af34185b8e60b7af5a9f94f04.zip
Adding metadata
Diffstat (limited to 'dev-python/argcomplete')
-rw-r--r--dev-python/argcomplete/argcomplete-3.3.0.ebuild2
-rw-r--r--dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch13
2 files changed, 15 insertions, 0 deletions
diff --git a/dev-python/argcomplete/argcomplete-3.3.0.ebuild b/dev-python/argcomplete/argcomplete-3.3.0.ebuild
index fe5b0f433005..e5ff82ea719c 100644
--- a/dev-python/argcomplete/argcomplete-3.3.0.ebuild
+++ b/dev-python/argcomplete/argcomplete-3.3.0.ebuild
@@ -36,6 +36,8 @@ PATCHES=(
# for entry point tests because they read metadata of all installed
# packages which can take real long on systems with lots of packages
"${FILESDIR}/argcomplete-3.1.6-timeout.patch"
+ # https://github.com/kislyuk/argcomplete/pull/485
+ "${FILESDIR}/${P}-test-bashrc.patch"
)
python_test() {
diff --git a/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch b/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch
new file mode 100644
index 000000000000..0e9f2fa1cea6
--- /dev/null
+++ b/dev-python/argcomplete/files/argcomplete-3.3.0-test-bashrc.patch
@@ -0,0 +1,13 @@
+diff --git a/test/test.py b/test/test.py
+index c8f9419..ca38be6 100755
+--- a/test/test.py
++++ b/test/test.py
+@@ -73,7 +73,7 @@ def _repl_sh(command, args, non_printable_insert):
+
+
+ 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
+