commit:     882946af279b91ec8121144d632b0434fb927c27
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  3 17:00:56 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jun  3 17:02:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=882946af

app-containers/cri-tools: add 1.27.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 app-containers/cri-tools/Manifest                |  1 +
 app-containers/cri-tools/cri-tools-1.27.0.ebuild | 33 ++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/app-containers/cri-tools/Manifest 
b/app-containers/cri-tools/Manifest
index 8d4027fd82d8..a67abf87f207 100644
--- a/app-containers/cri-tools/Manifest
+++ b/app-containers/cri-tools/Manifest
@@ -1 +1,2 @@
 DIST cri-tools-1.25.0.tar.gz 7905707 BLAKE2B 
79595f31fc22aff608406bad4319a60dddcabda5f4dab8706305f11500b3db43f1d7021a340a096227d4580212953f32a95b05bbf81c1236f8fa8cf635017abb
 SHA512 
dc04359320d59d6b3789e4e81fb613f3795b7e82dbad681393eaeff2c876e5b0393dd9384d7857d24ada5de34d03e151f7cf121367cc20e71d0b78607372b3a1
+DIST cri-tools-1.27.0.tar.gz 8465050 BLAKE2B 
d6c0429271ebc4085e75b54d7f3b9f75ab796e63bc9ae7562105296b13bbad8b512293a7d25abf1ab946f4bf54e672016fdb72696c12c730d21ac74724da465c
 SHA512 
b94122e6401eb0c33b9c3d112274b7ab20cbbad05e76a54933e79d2e42ded2d684771cb9ed703a6c1afa381844142b6f1b4dc77d17e915f9a42c236fd8426b9b

diff --git a/app-containers/cri-tools/cri-tools-1.27.0.ebuild 
b/app-containers/cri-tools/cri-tools-1.27.0.ebuild
new file mode 100644
index 000000000000..862c03b51252
--- /dev/null
+++ b/app-containers/cri-tools/cri-tools-1.27.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI and validation tools for Kubelet Container Runtime (CRI)"
+HOMEPAGE="https://github.com/kubernetes-sigs/cri-tools";
+SRC_URI="https://github.com/kubernetes-sigs/cri-tools/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0 BSD BSD-2 CC-BY-SA-4.0 ISC MIT MPL-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+RESTRICT="test"
+
+DOCS=( docs {README,RELEASE,CHANGELOG,CONTRIBUTING}.md )
+
+src_compile() {
+       emake VERSION="${PV}"
+       find build/ -name crictl -exec cp {} build/bin/ \; || die
+       ./build/bin/crictl completion bash > "crictl.bash" || die
+       ./build/bin/crictl completion zsh > "crictl.zsh" || die
+}
+
+src_install() {
+       einstalldocs
+
+       dobin ./build/bin/crictl
+       newbashcomp crictl.bash crictl
+       insinto /usr/share/zsh/site-functions
+       newins crictl.zsh _crictl
+}

Reply via email to