public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Takuya Wakazono" <pastalian46@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/mock/
Date: Mon, 20 May 2024 13:20:43 +0000 (UTC)	[thread overview]
Message-ID: <1716210937.5e29e8cba754a7078118b8ae55472bb0f4074590.pastalian46@gentoo> (raw)

commit:     5e29e8cba754a7078118b8ae55472bb0f4074590
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Mon May 20 13:15:37 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Mon May 20 13:15:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5e29e8cb

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 <AT> gmail.com>

 dev-util/mock/{mock-5.6.ebuild => mock-5.6-r1.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-util/mock/mock-5.6.ebuild b/dev-util/mock/mock-5.6-r1.ebuild
similarity index 94%
rename from dev-util/mock/mock-5.6.ebuild
rename to dev-util/mock/mock-5.6-r1.ebuild
index 3041eb78aa..9d9a92c2d4 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() { :; }


             reply	other threads:[~2024-05-20 13:20 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-20 13:20 Takuya Wakazono [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-20 14:12 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/mock/ Takuya Wakazono
2025-06-20 14:12 Takuya Wakazono
2025-06-01 14:40 Takuya Wakazono
2025-06-01 14:40 Takuya Wakazono
2025-02-28 13:44 Takuya Wakazono
2025-02-28 13:44 Takuya Wakazono
2024-12-20 15:48 Takuya Wakazono
2024-12-20 15:48 Takuya Wakazono
2024-10-02 13:54 Takuya Wakazono
2024-10-02 13:54 Takuya Wakazono
2024-09-27 16:24 Takuya Wakazono
2024-09-27 16:24 Takuya Wakazono
2024-05-19  4:53 Takuya Wakazono
2024-05-19  4:53 Takuya Wakazono
2024-02-15 10:25 Takuya Wakazono
2024-02-15 10:25 Takuya Wakazono
2024-01-07  4:50 Takuya Wakazono
2024-01-07  4:50 Takuya Wakazono
2024-01-05  3:23 Takuya Wakazono
2023-12-26  9:26 Takuya Wakazono
2023-12-22 10:11 Takuya Wakazono
2023-12-19 16:56 Takuya Wakazono

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1716210937.5e29e8cba754a7078118b8ae55472bb0f4074590.pastalian46@gentoo \
    --to=pastalian46@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox