From 0113c4c9eb49e26aee006787c9564c1165909926 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 6 Mar 2024 13:06:09 +0000 Subject: gentoo auto-resync : 06:03:2024 - 13:06:09 --- sys-fs/Manifest.gz | Bin 22232 -> 22231 bytes sys-fs/bcachefs-tools/Manifest | 6 +- sys-fs/bcachefs-tools/bcachefs-tools-1.4.1.ebuild | 2 +- .../bcachefs-tools/bcachefs-tools-1.6.4-r1.ebuild | 251 +++++++++++++++++++++ sys-fs/bcachefs-tools/bcachefs-tools-1.6.4.ebuild | 242 -------------------- sys-fs/bcachefs-tools/bcachefs-tools-9999.ebuild | 14 +- 6 files changed, 268 insertions(+), 247 deletions(-) create mode 100644 sys-fs/bcachefs-tools/bcachefs-tools-1.6.4-r1.ebuild delete mode 100644 sys-fs/bcachefs-tools/bcachefs-tools-1.6.4.ebuild (limited to 'sys-fs') diff --git a/sys-fs/Manifest.gz b/sys-fs/Manifest.gz index 2c61abad3fe2..fd5e6220abfd 100644 Binary files a/sys-fs/Manifest.gz and b/sys-fs/Manifest.gz differ diff --git a/sys-fs/bcachefs-tools/Manifest b/sys-fs/bcachefs-tools/Manifest index 0863eb82dec4..e55caa3450c1 100644 --- a/sys-fs/bcachefs-tools/Manifest +++ b/sys-fs/bcachefs-tools/Manifest @@ -148,7 +148,7 @@ DIST windows_x86_64_msvc-0.48.5.crate 798412 BLAKE2B 8abc0721e2fb337fe17c91d2789 DIST windows_x86_64_msvc-0.52.0.crate 821600 BLAKE2B cc448b65f98fc0fc4949ae622b7020d2dae927ae45310649f6ef71809740eda9d3db0fc035676c201fd9ab9639e9e7f21e2e992b4c789542f12b419d2c752179 SHA512 3aaee31533a1a48a6ab5cd15b3cadfbd906a93a153e53919d0aa74e440d11e29830554e4e014c215f5b88a475bb733fa8ba4ce9d773d3e23a40ea9ad37ddd0a7 EBUILD bcachefs-tools-1.3.5_p20231216.ebuild 5616 BLAKE2B f1222050a780ef05a75cc535cd505dc297d207d19ec489c9580059ed949476a2651096eb79c02ad4261fc943a4108456e1dbd70992d8d3e1a583dfc784060798 SHA512 861bd371addf89eb77a153201be0b863727ab5be0829c2e3b09517cb1d9d9bf87c86cf3b475d8d595a0b0e626cd00522a246e70d0a57b4af99e7b76b77be4b5a EBUILD bcachefs-tools-1.4.0.ebuild 5642 BLAKE2B e36cd889bee4e0dbc8cb2cb42e07636aa9c79de0df23995e073006e6c478efdd91bcb91786e06e49137bbb677a15a65ced5be5eeea0e9d2aca8f68e236343268 SHA512 15699d44fe9adafe68ac50b17ae2bc3ddbeb0dddf8d7aa74277da8a8c8b682e4799f7567cc276041bb712ba4c127e84f58647cdd62198f712bf96a685341365a -EBUILD bcachefs-tools-1.4.1.ebuild 5564 BLAKE2B 3704ea9c8a8a1f42ba0d6b694c913f8bafcc9a818604cd063388a6541a5167d28d8af687d5d45dd8478cecff0b95f88e86bc07929f5689490289797e3c730f63 SHA512 8dbb8b55041e7c18f7309db41287cce51f90c1a5421162ffa003890c4d5340cd8d5fcd407240e7adaf0f95946988a3125aafa50aaad81b3eeb7a370ae3e05ff6 -EBUILD bcachefs-tools-1.6.4.ebuild 4991 BLAKE2B b630fd07aea32c9d3f2bbb721a23a0c3aa66cc2a0a44d6fc44fcd0fcd9ddbf417f3da72ebc3b1640071867cbc18d953addc0f454a3ceb2eae994517eb9942639 SHA512 8e2648624ca3e393e31107642f77553f9fb34b993f5a5f17deb28c83c58a19db7dacc3db8fb1e59455c5102163feff3a544b810567a003d5860854f9ff19887d -EBUILD bcachefs-tools-9999.ebuild 4881 BLAKE2B 4cca30fc9542dbbfaa81a69fad932705d3c28739eec3b68f303d5046dcccc19fece0884ddbce3c7742325ffe7a24a0197d3adab5a73ba08867085807b1d7acc1 SHA512 f9e668b1779935a45e70d835b0d757c8487f4d0da1de99fa952f0bd94fe40835ee1e89be61a604a9396944c489069f59a0f3889bd66179f067ecefe6ca22f0ce +EBUILD bcachefs-tools-1.4.1.ebuild 5563 BLAKE2B 4011b46e0e0f4d2fb7b5b3125c3ad258cf59c8768950a2415ed78bef96dedcbfec202df3ff0bdd9f4426f9f471bf3e7564adc0d225b3befd099321bb457a19a6 SHA512 f00a0571e93e8da12637e9f98b506f02b47f41ef2c223525e08058ee6758534362228f1ce68c2fda891ac7170e322049c07160abae1cdcc4e93e3b7e93711752 +EBUILD bcachefs-tools-1.6.4-r1.ebuild 5242 BLAKE2B fd962577af482a9c6c1c83480eab65e9bd949c21e2560fb5c03c350ff63e0e81b3fc31f48725d38faf2ec28a250e753949e058d4c3e75bf4dd57e3d4938b8c98 SHA512 8a634605a38375893a9aa65c8ce9ab79aaa4a6b77f298bd4aa67175f94b254921acccdd4f9401e61bd9ef61bc9162d86c44216f9defaeb154e46f45fb744b22b +EBUILD bcachefs-tools-9999.ebuild 5242 BLAKE2B fd962577af482a9c6c1c83480eab65e9bd949c21e2560fb5c03c350ff63e0e81b3fc31f48725d38faf2ec28a250e753949e058d4c3e75bf4dd57e3d4938b8c98 SHA512 8a634605a38375893a9aa65c8ce9ab79aaa4a6b77f298bd4aa67175f94b254921acccdd4f9401e61bd9ef61bc9162d86c44216f9defaeb154e46f45fb744b22b MISC metadata.xml 751 BLAKE2B 58fb2ebb3092cb1056b36a5389d486faf4fb3fc6c107f5aeb65d1002722f7f238f776df5698bfceb4e2bf6b0ee4f1aa04d3015784c95141d300f6f82654525bd SHA512 5a6a46cfb145160a0871bf7a591238470d08744552870b54b9c7c78afac860a256fbd6765972a77ca81b78239695850b26c04acc1b24d1a4b35f52d6ef9e2501 diff --git a/sys-fs/bcachefs-tools/bcachefs-tools-1.4.1.ebuild b/sys-fs/bcachefs-tools/bcachefs-tools-1.4.1.ebuild index ce4066bc48f6..5e14d8dc33f4 100644 --- a/sys-fs/bcachefs-tools/bcachefs-tools-1.4.1.ebuild +++ b/sys-fs/bcachefs-tools/bcachefs-tools-1.4.1.ebuild @@ -120,7 +120,7 @@ else SRC_URI="https://github.com/koverstreet/bcachefs-tools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz ${CARGO_CRATE_URIS}" S="${WORKDIR}/${P}" - KEYWORDS="~amd64 ~arm64" + KEYWORDS="amd64 ~arm64" fi LICENSE="Apache-2.0 BSD GPL-2 MIT" diff --git a/sys-fs/bcachefs-tools/bcachefs-tools-1.6.4-r1.ebuild b/sys-fs/bcachefs-tools/bcachefs-tools-1.6.4-r1.ebuild new file mode 100644 index 000000000000..09617302a1b5 --- /dev/null +++ b/sys-fs/bcachefs-tools/bcachefs-tools-1.6.4-r1.ebuild @@ -0,0 +1,251 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + aho-corasick@1.1.2 + anstream@0.6.11 + anstyle-parse@0.2.3 + anstyle-query@1.0.2 + anstyle-wincon@3.0.2 + anstyle@1.0.6 + anyhow@1.0.79 + autocfg@1.1.0 + bindgen@0.69.4 + bitfield@0.14.0 + bitflags@1.3.2 + bitflags@2.4.2 + byteorder@1.5.0 + cc@1.0.83 + cexpr@0.6.0 + cfg-if@1.0.0 + clang-sys@1.7.0 + clap@4.4.18 + clap_builder@4.4.18 + clap_complete@4.4.10 + clap_derive@4.4.7 + clap_lex@0.6.0 + colorchoice@1.0.0 + colored@2.1.0 + either@1.9.0 + errno-dragonfly@0.1.2 + errno@0.2.8 + errno@0.3.8 + glob@0.3.1 + heck@0.4.1 + home@0.5.9 + itertools@0.12.1 + lazy_static@1.4.0 + lazycell@1.3.0 + libc@0.2.153 + libloading@0.8.1 + libudev-sys@0.1.4 + linux-raw-sys@0.4.13 + log@0.4.20 + memchr@2.7.1 + memoffset@0.8.0 + minimal-lexical@0.2.1 + nom@7.1.3 + once_cell@1.19.0 + paste@1.0.14 + pkg-config@0.3.29 + prettyplease@0.2.16 + proc-macro2@1.0.78 + quote@1.0.35 + regex-automata@0.4.5 + regex-syntax@0.8.2 + regex@1.10.3 + rpassword@7.3.1 + rtoolbox@0.0.2 + rustc-hash@1.1.0 + rustix@0.38.31 + shlex@1.3.0 + strsim@0.10.0 + syn@2.0.48 + terminal_size@0.3.0 + udev@0.7.0 + unicode-ident@1.0.12 + utf8parse@0.2.1 + uuid@1.7.0 + which@4.4.2 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.48.0 + windows-sys@0.52.0 + windows-targets@0.48.5 + windows-targets@0.52.0 + windows_aarch64_gnullvm@0.48.5 + windows_aarch64_gnullvm@0.52.0 + windows_aarch64_msvc@0.48.5 + windows_aarch64_msvc@0.52.0 + windows_i686_gnu@0.48.5 + windows_i686_gnu@0.52.0 + windows_i686_msvc@0.48.5 + windows_i686_msvc@0.52.0 + windows_x86_64_gnu@0.48.5 + windows_x86_64_gnu@0.52.0 + windows_x86_64_gnullvm@0.48.5 + windows_x86_64_gnullvm@0.52.0 + windows_x86_64_msvc@0.48.5 + windows_x86_64_msvc@0.52.0 +" + +LLVM_COMPAT=( {16..17} ) +PYTHON_COMPAT=( python3_{10..12} ) + +inherit cargo flag-o-matic llvm-r1 multiprocessing python-any-r1 shell-completion toolchain-funcs unpacker + +DESCRIPTION="Tools for bcachefs" +HOMEPAGE="https://bcachefs.org/" +if [[ ${PV} == "9999" ]]; then + inherit git-r3 + EGIT_REPO_URI="https://evilpiepirate.org/git/bcachefs-tools.git" +else + SRC_URI="https://github.com/koverstreet/bcachefs-tools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + ${CARGO_CRATE_URIS}" + S="${WORKDIR}/${P}" + KEYWORDS="~amd64 ~arm64" +fi + +LICENSE="Apache-2.0 BSD GPL-2 MIT" +SLOT="0" +IUSE="fuse test" +RESTRICT="!test? ( test )" + +DEPEND=" + app-arch/lz4:= + app-arch/zstd:= + dev-libs/libaio + dev-libs/libsodium:= + dev-libs/userspace-rcu:= + sys-apps/keyutils:= + sys-apps/util-linux + sys-libs/zlib + virtual/udev + fuse? ( >=sys-fs/fuse-3.7.0 ) +" + +RDEPEND="${DEPEND}" +# +# Clang is required for bindgen +BDEPEND=" + ${PYTHON_DEPS} + $(python_gen_any_dep ' + dev-python/docutils[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + ) + ') + $(unpacker_src_uri_depends) + $(llvm_gen_dep ' + sys-devel/clang:${LLVM_SLOT} + ') + virtual/pkgconfig + virtual/rust +" + +python_check_deps() { + if use test; then + python_has_version \ + "dev-python/pytest[${PYTHON_USEDEP}]" \ + "dev-python/pytest-xdist[${PYTHON_USEDEP}]" + fi + python_has_version "dev-python/docutils[${PYTHON_USEDEP}]" +} + +pkg_setup() { + llvm-r1_pkg_setup + python-any-r1_pkg_setup +} + +src_unpack() { + if [[ ${PV} == "9999" ]]; then + git-r3_src_unpack + S="${S}/rust-src" cargo_live_src_unpack + else + unpack ${P}.tar.gz + cargo_src_unpack + fi +} + +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::' \ + -i Makefile || die + append-lfs-flags +} + +src_compile() { + use fuse && export BCACHEFS_FUSE=1 + export BUILD_VERBOSE=1 + export VERSION=${PV} + + default + + use test && emake tests + + local shell + for shell in bash fish zsh; do + ./bcachefs completions ${shell} > ${shell}.completion || die + done +} + +src_test() { + if ! use fuse; then + EPYTEST_IGNORE=( tests/test_fuse.py ) + fi + EPYTEST_DESELECT=( + # Valgrind + 'tests/test_fixture.py::test_read_after_free' + 'tests/test_fixture.py::test_undefined' + 'tests/test_fixture.py::test_write_after_free' + 'tests/test_fixture.py::test_undefined_branch' + 'tests/test_fixture.py::test_leak' + 'tests/test_fixture.py::test_check' + # Fails in portage because of usersandbox; ensure that these pass before bumping! + 'tests/test_basic.py::test_format' + 'tests/test_basic.py::test_fsck' + 'tests/test_basic.py::test_list' + 'tests/test_basic.py::test_list_inodes' + 'tests/test_basic.py::test_list_dirent' + ) + epytest -v -n "$(makeopts_jobs)" +} + +src_install() { + into / + dosbin bcachefs + + dosym bcachefs /sbin/fsck.bcachefs + dosym bcachefs /sbin/mkfs.bcachefs + dosym bcachefs /sbin/mount.bcachefs + + if use fuse; then + dosym bcachefs /sbin/fsck.fuse.bcachefs + dosym bcachefs /sbin/mkfs.fuse.bcachefs + dosym bcachefs /sbin/mount.fuse.bcachefs + fi + + newbashcomp bash.completion bcachefs + newfishcomp fish.completion bcachefs.fish + newzshcomp zsh.completion _bcachefs + + doman bcachefs.8 +} + +pkg_postinst() { + if use fuse; then + ewarn "FUSE support is experimental." + ewarn "Please only use it for development purposes at the risk of losing your data." + ewarn "You have been warned." + fi +} diff --git a/sys-fs/bcachefs-tools/bcachefs-tools-1.6.4.ebuild b/sys-fs/bcachefs-tools/bcachefs-tools-1.6.4.ebuild deleted file mode 100644 index 446b689da95e..000000000000 --- a/sys-fs/bcachefs-tools/bcachefs-tools-1.6.4.ebuild +++ /dev/null @@ -1,242 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - aho-corasick@1.1.2 - anstream@0.6.11 - anstyle-parse@0.2.3 - anstyle-query@1.0.2 - anstyle-wincon@3.0.2 - anstyle@1.0.6 - anyhow@1.0.79 - autocfg@1.1.0 - bindgen@0.69.4 - bitfield@0.14.0 - bitflags@1.3.2 - bitflags@2.4.2 - byteorder@1.5.0 - cc@1.0.83 - cexpr@0.6.0 - cfg-if@1.0.0 - clang-sys@1.7.0 - clap@4.4.18 - clap_builder@4.4.18 - clap_complete@4.4.10 - clap_derive@4.4.7 - clap_lex@0.6.0 - colorchoice@1.0.0 - colored@2.1.0 - either@1.9.0 - errno-dragonfly@0.1.2 - errno@0.2.8 - errno@0.3.8 - glob@0.3.1 - heck@0.4.1 - home@0.5.9 - itertools@0.12.1 - lazy_static@1.4.0 - lazycell@1.3.0 - libc@0.2.153 - libloading@0.8.1 - libudev-sys@0.1.4 - linux-raw-sys@0.4.13 - log@0.4.20 - memchr@2.7.1 - memoffset@0.8.0 - minimal-lexical@0.2.1 - nom@7.1.3 - once_cell@1.19.0 - paste@1.0.14 - pkg-config@0.3.29 - prettyplease@0.2.16 - proc-macro2@1.0.78 - quote@1.0.35 - regex-automata@0.4.5 - regex-syntax@0.8.2 - regex@1.10.3 - rpassword@7.3.1 - rtoolbox@0.0.2 - rustc-hash@1.1.0 - rustix@0.38.31 - shlex@1.3.0 - strsim@0.10.0 - syn@2.0.48 - terminal_size@0.3.0 - udev@0.7.0 - unicode-ident@1.0.12 - utf8parse@0.2.1 - uuid@1.7.0 - which@4.4.2 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.48.0 - windows-sys@0.52.0 - windows-targets@0.48.5 - windows-targets@0.52.0 - windows_aarch64_gnullvm@0.48.5 - windows_aarch64_gnullvm@0.52.0 - windows_aarch64_msvc@0.48.5 - windows_aarch64_msvc@0.52.0 - windows_i686_gnu@0.48.5 - windows_i686_gnu@0.52.0 - windows_i686_msvc@0.48.5 - windows_i686_msvc@0.52.0 - windows_x86_64_gnu@0.48.5 - windows_x86_64_gnu@0.52.0 - windows_x86_64_gnullvm@0.48.5 - windows_x86_64_gnullvm@0.52.0 - windows_x86_64_msvc@0.48.5 - windows_x86_64_msvc@0.52.0 -" - -LLVM_COMPAT=( {16..17} ) -PYTHON_COMPAT=( python3_{10..12} ) - -inherit cargo flag-o-matic llvm-r1 multiprocessing python-any-r1 toolchain-funcs unpacker - -DESCRIPTION="Tools for bcachefs" -HOMEPAGE="https://bcachefs.org/" -if [[ ${PV} == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://evilpiepirate.org/git/bcachefs-tools.git" -else - SRC_URI="https://github.com/koverstreet/bcachefs-tools/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - ${CARGO_CRATE_URIS}" - S="${WORKDIR}/${P}" - KEYWORDS="~amd64 ~arm64" -fi - -LICENSE="Apache-2.0 BSD GPL-2 MIT" -SLOT="0" -IUSE="fuse test" -RESTRICT="!test? ( test )" - -DEPEND=" - app-arch/lz4:= - app-arch/zstd:= - dev-libs/libaio - dev-libs/libsodium:= - dev-libs/userspace-rcu:= - sys-apps/keyutils:= - sys-apps/util-linux - sys-libs/zlib - virtual/udev - fuse? ( >=sys-fs/fuse-3.7.0 ) -" - -RDEPEND="${DEPEND}" -# -# Clang is required for bindgen -BDEPEND=" - ${PYTHON_DEPS} - $(python_gen_any_dep ' - dev-python/docutils[${PYTHON_USEDEP}] - test? ( - dev-python/pytest[${PYTHON_USEDEP}] - dev-python/pytest-xdist[${PYTHON_USEDEP}] - ) - ') - $(unpacker_src_uri_depends) - $(llvm_gen_dep ' - sys-devel/clang:${LLVM_SLOT} - ') - virtual/pkgconfig - virtual/rust -" - -python_check_deps() { - if use test; then - python_has_version \ - "dev-python/pytest[${PYTHON_USEDEP}]" \ - "dev-python/pytest-xdist[${PYTHON_USEDEP}]" - fi - python_has_version "dev-python/docutils[${PYTHON_USEDEP}]" -} - -pkg_setup() { - llvm-r1_pkg_setup - python-any-r1_pkg_setup -} - -src_unpack() { - if [[ ${PV} == "9999" ]]; then - git-r3_src_unpack - S="${S}/rust-src" cargo_live_src_unpack - else - unpack ${P}.tar.gz - cargo_src_unpack - fi -} - -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::' \ - -i Makefile || die - append-lfs-flags -} - -src_compile() { - use fuse && export BCACHEFS_FUSE=1 - export BUILD_VERBOSE=1 - export VERSION=${PV} - - default - - use test && emake tests -} - -src_test() { - if ! use fuse; then - EPYTEST_IGNORE=( tests/test_fuse.py ) - fi - EPYTEST_DESELECT=( - # Valgrind - 'tests/test_fixture.py::test_read_after_free' - 'tests/test_fixture.py::test_undefined' - 'tests/test_fixture.py::test_write_after_free' - 'tests/test_fixture.py::test_undefined_branch' - 'tests/test_fixture.py::test_leak' - 'tests/test_fixture.py::test_check' - # Fails in portage because of usersandbox; ensure that these pass before bumping! - 'tests/test_basic.py::test_format' - 'tests/test_basic.py::test_fsck' - 'tests/test_basic.py::test_list' - 'tests/test_basic.py::test_list_inodes' - 'tests/test_basic.py::test_list_dirent' - ) - epytest -v -n "$(makeopts_jobs)" -} - -src_install() { - into / - dosbin bcachefs - - dosym bcachefs /sbin/fsck.bcachefs - dosym bcachefs /sbin/mkfs.bcachefs - dosym bcachefs /sbin/mount.bcachefs - - if use fuse; then - dosym bcachefs /sbin/fsck.fuse.bcachefs - dosym bcachefs /sbin/mkfs.fuse.bcachefs - dosym bcachefs /sbin/mount.fuse.bcachefs - fi - - doman bcachefs.8 -} - -pkg_postinst() { - if use fuse; then - ewarn "FUSE support is experimental." - ewarn "Please only use it for development purposes at the risk of losing your data." - ewarn "You have been warned." - fi -} 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 } -- cgit v1.2.3