commit:     08b52a2f553e9cf2ae7c8e943af3692e25e93501
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Jul  9 08:23:45 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Jul  9 09:13:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08b52a2f

app-backup/borgbackup: Use shell-completion.eclass

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-backup/borgbackup/borgbackup-1.4.1-r1.ebuild | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/app-backup/borgbackup/borgbackup-1.4.1-r1.ebuild 
b/app-backup/borgbackup/borgbackup-1.4.1-r1.ebuild
index fea0c048d47a..96d043c028f6 100644
--- a/app-backup/borgbackup/borgbackup-1.4.1-r1.ebuild
+++ b/app-backup/borgbackup/borgbackup-1.4.1-r1.ebuild
@@ -7,7 +7,7 @@ DISTUTILS_EXT=1
 DISTUTILS_USE_PEP517=setuptools
 PYTHON_COMPAT=( python3_{11..13} )
 
-inherit bash-completion-r1 distutils-r1 pypi
+inherit distutils-r1 pypi shell-completion
 
 DESCRIPTION="Deduplicating backup program with compression and authenticated 
encryption"
 HOMEPAGE="https://borgbackup.readthedocs.io/";
@@ -66,10 +66,6 @@ src_install() {
        doman docs/man/*
 
        dobashcomp scripts/shell_completions/bash/borg
-
-       insinto /usr/share/zsh/site-functions
-       doins scripts/shell_completions/zsh/_borg
-
-       insinto /usr/share/fish/vendor_completions.d
-       doins scripts/shell_completions/fish/borg.fish
+       dozshcomp scripts/shell_completions/zsh/_borg
+       dofishcomp scripts/shell_completions/fish/borg.fish
 }

Reply via email to