diff options
author | Florian Schmaus <flow@gentoo.org> | 2024-03-06 13:29:25 +0100 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2024-03-06 13:30:39 +0100 |
commit | bd00cf5ad2b121554773dc235a200eb7b6bfa1b1 (patch) | |
tree | 46e4aa9b380a138e32849b91b361f4f208ff697b /sys-fs | |
parent | sys-fs/bcachefs-tools: stabilize 1.4.1 for amd64 (diff) | |
download | gentoo-bd00cf5ad2b121554773dc235a200eb7b6bfa1b1.tar.gz gentoo-bd00cf5ad2b121554773dc235a200eb7b6bfa1b1.tar.bz2 gentoo-bd00cf5ad2b121554773dc235a200eb7b6bfa1b1.zip |
sys-fs/bcachefs-tools: sync live
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild | 14 |
1 files changed, 13 insertions, 1 deletions
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 } |