From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1467360-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 67A85158003
	for <garchives@archives.gentoo.org>; Thu, 15 Dec 2022 16:59:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id ABE4DE0831;
	Thu, 15 Dec 2022 16:59:03 +0000 (UTC)
Received: from smtp.gentoo.org (mail.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))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5C128E084A
	for <gentoo-commits@lists.gentoo.org>; Thu, 15 Dec 2022 16:59:03 +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))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 89EB3340E7A
	for <gentoo-commits@lists.gentoo.org>; Thu, 15 Dec 2022 16:59:02 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 24B367AF
	for <gentoo-commits@lists.gentoo.org>; Thu, 15 Dec 2022 16:59:01 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
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" <williamh@gentoo.org>
Message-ID: <1671123534.0eb177179be6bb3ec328b9fcb788701776e43a81.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.23.15.ebuild
X-VCS-Directories: sys-cluster/kubectl/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: 0eb177179be6bb3ec328b9fcb788701776e43a81
X-VCS-Branch: master
Date: Thu, 15 Dec 2022 16:59:01 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 02110603-38f5-4b6e-8766-1819105bdb0f
X-Archives-Hash: 6dc42a98300ba56387335d49ad6b607c

commit:     0eb177179be6bb3ec328b9fcb788701776e43a81
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 15 16:44:25 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Dec 15 16:58:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0eb17717

sys-cluster/kubectl: add 1.23.15

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 sys-cluster/kubectl/Manifest               |  1 +
 sys-cluster/kubectl/kubectl-1.23.15.ebuild | 33 ++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index b03bc68a0bb2..9af65a10671a 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,3 +1,4 @@
 DIST kubernetes-1.23.14.tar.gz 38259227 BLAKE2B eda8d6b2e40f869834d6fb8d750b7bfa402d2841564c8b4b102b5a94d8fc33601670f8671d81781bd4f6005ebc811e10b5365ae8c066ba04cfeb00f648156db6 SHA512 3464840aefbe4bfa510e575374d4a4a5ff8efb3b30e5d8f915f18351e7c20014dec109050f697c91c58dc4e3abefbe54524f2bf8683af4b05ca28013ad8cf73f
+DIST kubernetes-1.23.15.tar.gz 38273440 BLAKE2B d08b420cb31ddba2b70830d7f2c9fa44d63142f999407f17260807c0a394bce66bd2cf4e0ff2568c94549882bed2d0c8812031c433396a0490f7d70d9e350a32 SHA512 06c63c0abd880893ffda4e9b7216520d13278740461808ea0b01495998f6ddcbe57c32f2fe861e0fe1ee86a4ccf3431f4babc612085681d35c94b3fac54af199
 DIST kubernetes-1.24.8.tar.gz 38001022 BLAKE2B 8452e3b93f91c5b2c542a9fcd0843e36a87dfb366dc46af1602f349d0d22eb5a838bd0b26c9b394acc9d3af9b77eaf1a47380951750887b416f533414af1f1e5 SHA512 cb5b9fd2ffdf5a3de48aed0c6c50e874c09374021bf47072337c6ba9df5807fcf1ae37f594b74ecfd8cb31ededde0922093a25eb3c62b9e26b500830ea1af956
 DIST kubernetes-1.25.4.tar.gz 38068572 BLAKE2B 66dfe5a55ded66fc00792accaed542e45bea65c659a676920fca13d70077db8f05149bf5922eef2c2811eea84932c6b9e4997969b90b97597146ec443420da3a SHA512 1cbd7b708a70dd51fe399924ea3d995c809e426a2946eaf50eda041ece7a4740513c54ac871270d2f4d7497f59b551a78e5cb6ecb991d4ba038972c7b7383cac

diff --git a/sys-cluster/kubectl/kubectl-1.23.15.ebuild b/sys-cluster/kubectl/kubectl-1.23.15.ebuild
new file mode 100644
index 000000000000..93befd485395
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.23.15.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit bash-completion-r1 go-module
+
+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"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+BDEPEND=">=dev-lang/go-1.17"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+	CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+		emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+	dobin _output/bin/${PN}
+	_output/bin/${PN} completion bash > ${PN}.bash || die
+	_output/bin/${PN} completion zsh > ${PN}.zsh || die
+	newbashcomp ${PN}.bash ${PN}
+	insinto /usr/share/zsh/site-functions
+	newins ${PN}.zsh _${PN}
+}