1 |
commit: df5b7e5af84e936b86e39e4b50faa528f460249b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 16 16:16:15 2023 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 16 18:50:35 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df5b7e5a |
7 |
|
8 |
app-backup/borgbackup: Sync the live ebuild |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
app-backup/borgbackup/borgbackup-9999.ebuild | 13 +++++++++++-- |
13 |
1 file changed, 11 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/app-backup/borgbackup/borgbackup-9999.ebuild b/app-backup/borgbackup/borgbackup-9999.ebuild |
16 |
index fd3b75c37fb3..d78bd92bc046 100644 |
17 |
--- a/app-backup/borgbackup/borgbackup-9999.ebuild |
18 |
+++ b/app-backup/borgbackup/borgbackup-9999.ebuild |
19 |
@@ -4,15 +4,16 @@ |
20 |
EAPI=8 |
21 |
|
22 |
PYTHON_COMPAT=( python3_{9..11} ) |
23 |
+DISTUTILS_USE_PEP517=setuptools |
24 |
|
25 |
-inherit distutils-r1 |
26 |
+inherit distutils-r1 bash-completion-r1 |
27 |
|
28 |
if [[ ${PV} == "9999" ]] ; then |
29 |
EGIT_REPO_URI="https://github.com/${PN}/borg.git" |
30 |
inherit git-r3 |
31 |
else |
32 |
- SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
33 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
34 |
+ inherit pypi |
35 |
fi |
36 |
|
37 |
DESCRIPTION="Deduplicating backup program with compression and authenticated encryption" |
38 |
@@ -44,4 +45,12 @@ DEPEND=" |
39 |
src_install() { |
40 |
distutils-r1_src_install |
41 |
doman docs/man/* |
42 |
+ |
43 |
+ dobashcomp scripts/shell_completions/bash/borg |
44 |
+ |
45 |
+ insinto /usr/share/zsh/site-functions |
46 |
+ doins scripts/shell_completions/zsh/_borg |
47 |
+ |
48 |
+ insinto /usr/share/fish/vendor_completions.d |
49 |
+ doins scripts/shell_completions/fish/borg.fish |
50 |
} |