diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-06-03 20:00:56 +0300 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-06-03 20:02:36 +0300 |
commit | 882946af279b91ec8121144d632b0434fb927c27 (patch) | |
tree | 16c5a7f6438f3820f2a14dfcd60bf4f0b7afa568 /app-containers/cri-tools | |
parent | app-containers/docker-registry: add 2.8.2 (diff) | |
download | gentoo-882946af279b91ec8121144d632b0434fb927c27.tar.gz gentoo-882946af279b91ec8121144d632b0434fb927c27.tar.bz2 gentoo-882946af279b91ec8121144d632b0434fb927c27.zip |
app-containers/cri-tools: add 1.27.0
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'app-containers/cri-tools')
-rw-r--r-- | app-containers/cri-tools/Manifest | 1 | ||||
-rw-r--r-- | app-containers/cri-tools/cri-tools-1.27.0.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
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 +} |