Diff restic-0.15.2 with a restic-0.16.0
/usr/portage/app-backup/restic/restic-0.16.0.ebuild 2023-10-09 14:52:28.204368318 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=8 |
5 | 5 | |
6 |
inherit bash-completion-r1 go-module |
|
6 |
inherit go-module shell-completion |
|
7 | 7 | |
8 | 8 |
DESCRIPTION="A backup program that is fast, efficient and secure" |
9 | 9 |
HOMEPAGE="https://restic.github.io/" |
10 | 10 |
SRC_URI="https://github.com/restic/restic/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
11 |
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" |
|
11 |
SRC_URI+=" https://gentoo.kropotkin.rocks/go-pkgs/${P}-vendor.tar.xz" |
|
12 | 12 | |
13 | 13 |
LICENSE="Apache-2.0 BSD BSD-2 LGPL-3-with-linking-exception MIT" |
14 | 14 |
SLOT="0" |
15 |
KEYWORDS="amd64 arm ~arm64 ~ppc64 ~riscv x86" |
|
15 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
|
16 | 16 | |
17 | 17 |
RDEPEND="sys-fs/fuse:0" |
18 | 18 |
DEPEND="${RDEPEND}" |
... | ... | |
32 | 32 |
addwrite /dev/fuse |
33 | 33 |
# a number of the ./cmd/... tests fail |
34 | 34 |
# ego test -timeout 30m ./cmd/... ./internal/... |
35 |
ego test -timeout 30m ./internal/... |
|
35 |
RESTIC_TEST_FUSE=0 ego test -timeout 30m ./internal/... |
|
36 | 36 |
} |
37 | 37 | |
38 | 38 |
src_install() { |
39 | 39 |
dobin restic |
40 | 40 | |
41 | 41 |
newbashcomp doc/bash-completion.sh "${PN}" |
42 | ||
43 |
insinto /usr/share/zsh/site-functions |
|
44 |
newins doc/zsh-completion.zsh _restic |
|
42 |
newzshcomp doc/zsh-completion.zsh _restic |
|
43 |
newfishcomp doc/fish-completion.fish "${PN}" |
|
45 | 44 | |
46 | 45 |
doman doc/man/* |
47 | 46 |
dodoc doc/*.rst |