From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 46FA01584AD for ; Fri, 02 May 2025 15:11:49 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id D3E8134306F for ; Fri, 02 May 2025 15:11:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C4F6211036D; Fri, 02 May 2025 15:11:45 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id B960111036B for ; Fri, 02 May 2025 15:11:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 762A9342FB7 for ; Fri, 02 May 2025 15:11:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CF2802669 for ; Fri, 02 May 2025 15:11:43 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1746198694.b3af84b35e2418f5010ae96bd22dde16e5c307c9.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubectl/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/kubectl/Manifest sys-cluster/kubectl/kubectl-1.33.0.ebuild X-VCS-Directories: sys-cluster/kubectl/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: b3af84b35e2418f5010ae96bd22dde16e5c307c9 X-VCS-Branch: master Date: Fri, 02 May 2025 15:11:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 861a96c0-cddc-4ee2-a38b-ec39e71638ce X-Archives-Hash: fa1d0d77a30b9b43e4b2ca1a42dcd9f7 commit: b3af84b35e2418f5010ae96bd22dde16e5c307c9 Author: William Hubbs gentoo org> AuthorDate: Fri May 2 13:47:43 2025 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri May 2 15:11:34 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3af84b3 sys-cluster/kubectl: add 1.33.0 Signed-off-by: William Hubbs gentoo.org> sys-cluster/kubectl/Manifest | 1 + sys-cluster/kubectl/kubectl-1.33.0.ebuild | 46 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 115f0b449675..86c39fa21aba 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1,3 +1,4 @@ DIST kubernetes-1.30.11.tar.gz 39634562 BLAKE2B a098ec3d0ac4bc7bafdd66f303d80b0d8d0461e90c133f7bee5c3fb7da896e0def84b4cef7e226bc5e658284613a9c67484afb1531986951ec02ce8369c85e40 SHA512 80e820b67c07277a30ec8e9a8c177c1e321b33b5d809ea5d9e187951bf5d3b8449b78afc079589e8ba5d74fcb2e0b6243654402bf36ae027d1b299f31fff241c DIST kubernetes-1.31.7.tar.gz 36586833 BLAKE2B 4dc823ea61da29eceb1283a95b32908ad045b114aeee9d8a4e43442a0ce7782739096eaf67c4cb77a006147e8bf8538b7a6258762ab03c08341fdda5ab09724b SHA512 2c3c3fcb55180930f75eb7ce5bef9375c6c388408b50a6c8bbad27d767d2ede2bb2abb328a80a9eec3bdd7d21ed568b5ea52ebfcee46407a1699557e5b42888b DIST kubernetes-1.32.3.tar.gz 36357402 BLAKE2B 084c653e9ee8e481508de6881e48bf852eb179769a7e8596c4b19f442d3b59291c2926e9b8d371aab7a5cc9b5cd7d66fbff342e57a8fc5dda2fb3cb299221ea0 SHA512 acc412079f45b9444a260c37cdb534abfc0618c413224e1e145eaa43504282e70a6d60cf863215e65e8310592ef6f7821168c38ea6c9af84e797027aee407147 +DIST kubernetes-1.33.0.tar.gz 40025426 BLAKE2B 51b26abf41039f60aff2429a32253bcdb339b98cfbfb4f157f5faf6005d33f5b87e2d5360f52803b150157f954492c3150f0a39403e47cba7e17eb638b64e142 SHA512 851fcdbe4c40d20bd86fe52addad448f3f137420f600562b8ca5642d757c95482a26e267cbe484416d08ec2baad6452d83963d2e769c52f02bec1346bdffd162 diff --git a/sys-cluster/kubectl/kubectl-1.33.0.ebuild b/sys-cluster/kubectl/kubectl-1.33.0.ebuild new file mode 100644 index 000000000000..e38df46f8a7b --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.33.0.ebuild @@ -0,0 +1,46 @@ +# 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.24.0" + +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 +}