sys-cluster/kubectl: add 1.32.8

Signed-off-by: William Hubbs <williamh@gentoo.org>
This commit is contained in:
William Hubbs
2025-09-01 12:32:28 -05:00
parent 6296ec2483
commit ce99a4c893
2 changed files with 49 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
DIST kubernetes-1.31.11.tar.gz 36604733 BLAKE2B 637876d12e7167573db2dbcb1d9e59e95dc4c2ef8268167dbd201198cc1f6f921fb7b2ad01c4c2e77b96f348b19bc7a3d49bfcfce368ae1b258e91cce17c10b7 SHA512 d7c71284598bfe4b76640b2b1b5f38a613271635126e9965b1f15137a4f9b073459db63255d26d1738548c6e1c786e7251dd279aeb9f46e93aa917c32cae9b94
DIST kubernetes-1.31.12.tar.gz 36597827 BLAKE2B 65be795935aa36a230c0f16e8bad026841c81cfbad186fec612539e91ac1868ede1c1e0f9f55ea21921b6adc7af46082c8a31465a27cc63892a0a7d2f07603ac SHA512 309d706d470df337d86884c3ad1da77effc2d7da949c1f921b94809ddf7f7b60919a307f0baa39dc6105ed8a6a3f99138d13128cded65145440aa4181d9f4a59
DIST kubernetes-1.32.7.tar.gz 36377992 BLAKE2B d291530b62da3002f1f130a209a5eb20fffd036641f05fb563e2ababc226ca12d5bd166706dcbdbef5f07ac3f00b5a66978e1f46b4c5d284f43ed0581a53a68b SHA512 7c638df22ee9cb2cf5f2688dc2e4060cc5df38c33305f120a3cd808cb82628312dd20a4e41e86cdfa7f749560fa3c0e6ad7570f48db1079aca0476399196ef31
DIST kubernetes-1.32.8.tar.gz 36375682 BLAKE2B 4bbde5510db51b3d016b6d7415bce25b716338bb016c1c31341da43d1fa49235c4486d501afffdbf4ecbc3e4e4bb5fe582c635c1b21378de2ab0fa2f051dadf4 SHA512 67c8b0d3b3375cc282ef04336268e2cdad7b25d4a44b1b0e21bed1c62367b891987ba7d7bca672f2551100ff60c87213e5c5087c6358dd7bf7923a9fe81a97e3
DIST kubernetes-1.33.3.tar.gz 37087981 BLAKE2B c4ee725cddb3b06b348a8ab5adbe21fb625929e8ecf566eff7f2e7a8d74f515f448cddf143c065f3b6fff473e1149478d82819d61cc616db64b077482ef6a90c SHA512 6d58d2984665f8854ec7034ed26b98cfb9d05f2594f04ed020cc06c2c8bbb67443813f42db4325d3de8632547bb4c991608c3206807d546a707456898dd216ce

View File

@@ -0,0 +1,48 @@
# Copyright 2021-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module toolchain-funcs shell-completion
DESCRIPTION="CLI to run commands against Kubernetes clusters"
HOMEPAGE="https://kubernetes.io"
SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
S=${WORKDIR}/kubernetes-${PV}
LICENSE="Apache-2.0"
# Dependent licenses
LICENSE+=" Apache-2.0 BSD BSD-2 ISC MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RESTRICT="test"
BDEPEND=">=dev-lang/go-1.23.3"
QA_PRESTRIPPED=usr/bin/kubectl
src_compile() {
CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
WHAT=cmd/${PN}
if ! tc-is-cross-compiler; then
einfo "generating shell completion files"
_output/bin/${PN} completion bash > ${PN}.bash || die
_output/bin/${PN} completion zsh > ${PN}.zsh || die
_output/bin/${PN} completion fish > ${PN}.fish || die
fi
}
src_install() {
dobin _output/bin/${PN}
if ! tc-is-cross-compiler; then
newbashcomp ${PN}.bash ${PN}
newzshcomp ${PN}.zsh _${PN}
dofishcomp ${PN}.fish
else
ewarn "Shell completion files not installed! Install them manually with '${PN} completion --help'"
fi
}