summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-03-16 17:16:15 +0100
committerMichał Górny <mgorny@gentoo.org>2023-03-16 19:50:35 +0100
commitdf5b7e5af84e936b86e39e4b50faa528f460249b (patch)
treea93fcab2909025e2700a386a46cbf308cb3d20ca /app-backup/borgbackup
parentapp-arch/vimball: Sync the live ebuild (diff)
downloadgentoo-df5b7e5af84e936b86e39e4b50faa528f460249b.tar.gz
gentoo-df5b7e5af84e936b86e39e4b50faa528f460249b.tar.bz2
gentoo-df5b7e5af84e936b86e39e4b50faa528f460249b.zip
app-backup/borgbackup: Sync the live ebuild
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-backup/borgbackup')
-rw-r--r--app-backup/borgbackup/borgbackup-9999.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/app-backup/borgbackup/borgbackup-9999.ebuild b/app-backup/borgbackup/borgbackup-9999.ebuild
index fd3b75c37fb3..d78bd92bc046 100644
--- a/app-backup/borgbackup/borgbackup-9999.ebuild
+++ b/app-backup/borgbackup/borgbackup-9999.ebuild
@@ -4,15 +4,16 @@
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
-inherit distutils-r1
+inherit distutils-r1 bash-completion-r1
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/${PN}/borg.git"
inherit git-r3
else
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
+ inherit pypi
fi
DESCRIPTION="Deduplicating backup program with compression and authenticated encryption"
@@ -44,4 +45,12 @@ DEPEND="
src_install() {
distutils-r1_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
}