summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Karbowski <slashbeast@gentoo.org>2022-10-24 22:45:46 +0200
committerPiotr Karbowski <slashbeast@gentoo.org>2022-10-24 22:46:47 +0200
commit3ed46d1dadd00fd9bb6babac9d78a73cff171aae (patch)
tree4425c5dc7d0498a584909318dc82584d85ea99c2 /app-backup
parentdev-python/python-docs: Bump to 3.11.0 (diff)
downloadgentoo-3ed46d1dadd00fd9bb6babac9d78a73cff171aae.tar.gz
gentoo-3ed46d1dadd00fd9bb6babac9d78a73cff171aae.tar.bz2
gentoo-3ed46d1dadd00fd9bb6babac9d78a73cff171aae.zip
app-backup/borgbackup: 1.2.2-r1: shell completions; py3.11; PEP517.
Closes: https://bugs.gentoo.org/878127 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org>
Diffstat (limited to 'app-backup')
-rw-r--r--app-backup/borgbackup/borgbackup-1.2.2-r1.ebuild (renamed from app-backup/borgbackup/borgbackup-1.2.2.ebuild)13
1 files changed, 11 insertions, 2 deletions
diff --git a/app-backup/borgbackup/borgbackup-1.2.2.ebuild b/app-backup/borgbackup/borgbackup-1.2.2-r1.ebuild
index 9ac4b1a5217a..85d04fd5696f 100644
--- a/app-backup/borgbackup/borgbackup-1.2.2.ebuild
+++ b/app-backup/borgbackup/borgbackup-1.2.2-r1.ebuild
@@ -3,9 +3,10 @@
EAPI=8
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..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"
@@ -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
}