Diff cri-tools-1.25.0 with a cri-tools-1.27.0
/usr/portage/app-containers/cri-tools/cri-tools-1.27.0.ebuild 2023-10-09 14:52:28.216368318 +0300 | ||
---|---|---|
1 | 1 |
# Copyright 2021-2023 Gentoo Authors |
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 |
EAPI=7 |
|
4 |
EAPI=8 |
|
5 | 5 | |
6 | 6 |
inherit bash-completion-r1 go-module |
7 | 7 | |
... | ... | |
12 | 12 |
LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" |
13 | 13 |
SLOT="0" |
14 | 14 |
KEYWORDS="amd64 ~arm64" |
15 |
RESTRICT="test" |
|
15 | 16 | |
16 |
DEPEND="dev-lang/go" |
|
17 | ||
18 |
RESTRICT+=" test" |
|
17 |
DOCS=( docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md ) |
|
19 | 18 | |
20 | 19 |
src_compile() { |
21 | 20 |
emake VERSION="${PV}" |
21 |
find build/ -name crictl -exec cp {} build/bin/ \; || die |
|
22 | 22 |
./build/bin/crictl completion bash > "crictl.bash" || die |
23 | 23 |
./build/bin/crictl completion zsh > "crictl.zsh" || die |
24 | 24 |
} |
25 | 25 | |
26 | 26 |
src_install() { |
27 |
dobin ./build/bin/crictl |
|
27 |
einstalldocs |
|
28 | 28 | |
29 |
dobin ./build/bin/crictl |
|
29 | 30 |
newbashcomp crictl.bash crictl |
30 | 31 |
insinto /usr/share/zsh/site-functions |
31 | 32 |
newins crictl.zsh _crictl |
32 | ||
33 |
dodoc -r docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md |
|
34 | 33 |
} |