public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/bcachefs-tools/
Date: Wed,  6 Mar 2024 12:30:48 +0000 (UTC)	[thread overview]
Message-ID: <1709728239.bd00cf5ad2b121554773dc235a200eb7b6bfa1b1.flow@gentoo> (raw)

commit:     bd00cf5ad2b121554773dc235a200eb7b6bfa1b1
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  6 12:29:25 2024 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 12:30:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd00cf5a

sys-fs/bcachefs-tools: sync live

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild b/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
index b3d34cc8582d..09617302a1b5 100644
--- a/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
+++ b/sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild
@@ -95,7 +95,7 @@ CRATES="
 LLVM_COMPAT=( {16..17} )
 PYTHON_COMPAT=( python3_{10..12} )
 
-inherit cargo flag-o-matic llvm-r1 multiprocessing python-any-r1 toolchain-funcs unpacker
+inherit cargo flag-o-matic llvm-r1 multiprocessing python-any-r1 shell-completion toolchain-funcs unpacker
 
 DESCRIPTION="Tools for bcachefs"
 HOMEPAGE="https://bcachefs.org/"
@@ -174,6 +174,9 @@ src_unpack() {
 src_prepare() {
 	default
 	tc-export CC
+
+	# Version sed needed because the Makefile hasn't been bumped yet
+	# Check if it is no longer before bumping
 	sed \
 		-e '/^CFLAGS/s:-O2::' \
 		-e '/^CFLAGS/s:-g::' \
@@ -189,6 +192,11 @@ src_compile() {
 	default
 
 	use test && emake tests
+
+	local shell
+	for shell in bash fish zsh; do
+		./bcachefs completions ${shell} > ${shell}.completion || die
+	done
 }
 
 src_test() {
@@ -227,6 +235,10 @@ src_install() {
 		dosym bcachefs /sbin/mount.fuse.bcachefs
 	fi
 
+	newbashcomp bash.completion bcachefs
+	newfishcomp fish.completion bcachefs.fish
+	newzshcomp zsh.completion _bcachefs
+
 	doman bcachefs.8
 }
 


             reply	other threads:[~2024-03-06 12:30 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-06 12:30 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-08-30  0:47 [gentoo-commits] repo/gentoo:master commit in: sys-fs/bcachefs-tools/ Matt Jolly
2024-08-27 23:39 Jakov Smolić
2024-08-27 23:39 Jakov Smolić
2024-08-27 10:40 Florian Schmaus
2024-07-17 23:28 Matt Jolly
2024-06-25  7:06 Florian Schmaus
2024-06-19 18:58 Florian Schmaus
2024-06-15 13:09 Florian Schmaus
2024-04-24  6:16 Sam James
2024-04-20  4:04 Matt Jolly
2024-04-20  4:04 Matt Jolly
2024-03-06 12:30 Florian Schmaus
2024-03-06 12:30 Florian Schmaus
2024-02-27  1:25 Sam James
2024-02-10  6:58 Ionen Wolkens
2024-01-28 23:18 Yixun Lan
2024-01-07  7:20 Joonas Niilola
2024-01-07  7:20 Joonas Niilola
2023-12-18  7:03 Sam James
2023-12-18  7:03 Sam James
2023-12-18  7:03 Sam James
2023-12-13  2:06 Sam James
2023-12-13  2:06 Sam James
2023-12-07 13:01 Sam James
2023-10-01  2:59 Sam James
2023-09-14  3:41 Sam James
2023-09-03  7:14 Sam James
2023-08-28  6:18 Sam James
2023-08-28  6:18 Sam James
2023-08-28  6:18 Sam James
2023-06-10  6:37 Sam James
2023-06-04  1:09 Sam James
2023-06-04  1:09 Sam James
2022-11-24  8:16 Sam James

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=1709728239.bd00cf5ad2b121554773dc235a200eb7b6bfa1b1.flow@gentoo \
    --to=flow@gentoo.org \
    --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