aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakuya Wakazono <pastalian46@gmail.com>2024-05-20 22:15:37 +0900
committerTakuya Wakazono <pastalian46@gmail.com>2024-05-20 22:15:37 +0900
commit5e29e8cba754a7078118b8ae55472bb0f4074590 (patch)
tree0582e5c1b8a97c5627dc2b4055853f014dca3859 /dev-util
parentgui-wm/niri: drop 0.1.5 (diff)
downloadguru-5e29e8cba754a7078118b8ae55472bb0f4074590.tar.gz
guru-5e29e8cba754a7078118b8ae55472bb0f4074590.tar.bz2
guru-5e29e8cba754a7078118b8ae55472bb0f4074590.zip
dev-util/mock: fix bash completion
Upstream defines bash completions for both with and without .py in the name. Since we do not include .py files, remove those completions. Closes: https://bugs.gentoo.org/928266 Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/mock/mock-5.6-r1.ebuild (renamed from dev-util/mock/mock-5.6.ebuild)3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-util/mock/mock-5.6.ebuild b/dev-util/mock/mock-5.6-r1.ebuild
index 3041eb78a..9d9a92c2d 100644
--- a/dev-util/mock/mock-5.6.ebuild
+++ b/dev-util/mock/mock-5.6-r1.ebuild
@@ -55,6 +55,9 @@ src_prepare() {
sed -i -e "s|@VERSION@|${PV}|" docs/mock.1 docs/mock-parse-buildlog.1 || die
sed -i -e 's|"/bin/free"|"/usr/bin/free"|' py/mockbuild/plugins/hw_info.py || die
+
+ # bug #928266: remove unnecessary completion target for us
+ sed -i -e "s/ mock.py//" -e "s/ mock-parse-buildlog.py//" etc/bash_completion.d/mock || die
}
src_compile() { :; }