1 |
commit: 43acfe5843e7077f14bfad836be8fd806fe12d5f |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 7 16:48:53 2022 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 7 16:48:53 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43acfe58 |
7 |
|
8 |
app-containers/cri-tools: add 1.24.0 |
9 |
|
10 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
11 |
|
12 |
app-containers/cri-tools/Manifest | 1 + |
13 |
app-containers/cri-tools/cri-tools-1.24.0.ebuild | 34 ++++++++++++++++++++++++ |
14 |
2 files changed, 35 insertions(+) |
15 |
|
16 |
diff --git a/app-containers/cri-tools/Manifest b/app-containers/cri-tools/Manifest |
17 |
index 4b140c9a6cd4..4ee7155b4cf5 100644 |
18 |
--- a/app-containers/cri-tools/Manifest |
19 |
+++ b/app-containers/cri-tools/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST cri-tools-1.23.0.tar.gz 6823865 BLAKE2B 75d394ec1f9ccf2122476c9b845499212d668f8170ae8551913e3e057271986ab77454bdd0fa646127bfadda203fabdc57cc448dfe1e64dd7cdbedc8f5ee8cf6 SHA512 36700eaf872da14921e0b2c8fa68f91e3e0226364e29a5b8e132fbd52504e130e0bc2cce30aba21e7def576a4682f150b0b051d44b78aa694c225c10999d7155 |
22 |
+DIST cri-tools-1.24.0.tar.gz 5868141 BLAKE2B 281c397bb60bb5075d2b99cab11a44cf8746c1f744dfafc4f051dd6c2344a53eba948a35d90f814105ef3cb2b0bef3e7e1723408069a2ab4293801f906ec48b0 SHA512 5c7468c15b9f030d5cf93112abc28f8024e1d1b46f85459cb0a10c84ab63d07f5dfa830d019f8ed1a31bf04ea14c5e200b11d85ae7573be44860b74312e66dbc |
23 |
|
24 |
diff --git a/app-containers/cri-tools/cri-tools-1.24.0.ebuild b/app-containers/cri-tools/cri-tools-1.24.0.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..0a580bdda110 |
27 |
--- /dev/null |
28 |
+++ b/app-containers/cri-tools/cri-tools-1.24.0.ebuild |
29 |
@@ -0,0 +1,34 @@ |
30 |
+# Copyright 2021-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit bash-completion-r1 go-module |
36 |
+ |
37 |
+DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)" |
38 |
+HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools" |
39 |
+SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64" |
44 |
+ |
45 |
+DEPEND="dev-lang/go" |
46 |
+ |
47 |
+RESTRICT+=" test" |
48 |
+ |
49 |
+src_compile() { |
50 |
+ emake VERSION="${PV}" |
51 |
+ ./build/bin/crictl completion bash > "${PN}.bash" || die |
52 |
+ ./build/bin/crictl completion zsh > "${PN}.zsh" || die |
53 |
+} |
54 |
+ |
55 |
+src_install() { |
56 |
+ dobin ./build/bin/crictl |
57 |
+ |
58 |
+ newbashcomp ${PN}.bash ${PN} |
59 |
+ insinto /usr/share/zsh/site-functions |
60 |
+ newins ${PN}.zsh _${PN} |
61 |
+ |
62 |
+ dodoc -r docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md |
63 |
+} |