From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1262596-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 7E4701382C5
	for <garchives@archives.gentoo.org>; Fri, 19 Mar 2021 16:26:41 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B69C7E0957;
	Fri, 19 Mar 2021 16:26:40 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 9F62EE0957
	for <gentoo-commits@lists.gentoo.org>; Fri, 19 Mar 2021 16:26:40 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 6F8E8340D1D
	for <gentoo-commits@lists.gentoo.org>; Fri, 19 Mar 2021 16:26:39 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 09D7C5C4
	for <gentoo-commits@lists.gentoo.org>; Fri, 19 Mar 2021 16:26:38 +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: <1616171193.0fe8c5f42db022864488ad94db0b3d475d02b1c6.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.20.5.ebuild
X-VCS-Directories: sys-cluster/kubectl/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: 0fe8c5f42db022864488ad94db0b3d475d02b1c6
X-VCS-Branch: master
Date: Fri, 19 Mar 2021 16:26:38 +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: c9007cc8-5a72-4712-8c70-8447d062d125
X-Archives-Hash: 5e08636c636c7f44b47fcb0ceb1753dd

commit:     0fe8c5f42db022864488ad94db0b3d475d02b1c6
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 19 16:25:58 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Mar 19 16:26:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fe8c5f4

sys-cluster/kubectl: 1.20.5 bump

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

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

diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index c182277c4fe..6bd27c94d9e 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -3,3 +3,4 @@ DIST kubernetes-1.18.17.tar.gz 32689483 BLAKE2B 2310419636078610ceb9f3233846f043
 DIST kubernetes-1.19.8.tar.gz 33500610 BLAKE2B 2d86519b056f6dcacbaf368af34e66754a25fb84fc981a5c9d6ddea0f95f87fa61b36afe9ee8d80381084cb5f0018c36671e7d08e8a27b7bf334858800172da4 SHA512 0cefbe0cd29ee3916867549f2aa2a4eb60f87c9fc0fa4bae3748cc4eadd76685f868a9e30a50af092f55c0942bbd5e30648021ec0781afdcdd5f8d4014724c64
 DIST kubernetes-1.19.9.tar.gz 33504366 BLAKE2B f339c64cea9c84e67bb72067512576cb2e89bf78d425c1e0ec15f1d87980312df221266d58d7a89aa1949b2aed513df05905b9ce959185209365f5a98703fc7e SHA512 0aa01de3cf3e7d1b000a422768cc665a0b58eac10045629c5eabae6688a47d19ef36b98f6d1719263b3c9877808f0f13f43cd764f691849bda385f4f96ea92d1
 DIST kubernetes-1.20.4.tar.gz 34447775 BLAKE2B b38d55023a750da0f04df69548523832ac6b41b1ca1bac2e04cfb4d2c84233fd6adfc55912b39986428f6af8bd64f8e0ec5f12a560ed66c29eca8befef595491 SHA512 e10784a9920af8480cdd2dbcca65c8502034365e224ef8fa822633f0d480fecaca25e5b6d97743c83527729a2e200509dda38c421cbd7b286fec7500226df631
+DIST kubernetes-1.20.5.tar.gz 34438218 BLAKE2B f95d5be4f00c7465e07f9b543fbb9fbf1da50bd1894b92fb0861884ea82b4b43d3bbffaad6f2dfa2349f229e6e900c0df8dd992e0a965b033aa415362c9bd1da SHA512 9375597576d074f36989a76d8abd054f5974ea8b1ee837e2707e0485b94f0b76bbdfb1532b632b8e83d6410e553bb4197e9fe045fbeb05fb33a2b8bfae738642

diff --git a/sys-cluster/kubectl/kubectl-1.20.5.ebuild b/sys-cluster/kubectl/kubectl-1.20.5.ebuild
new file mode 100644
index 00000000000..716d7d53396
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.20.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2020 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"
+
+DEPEND="!sys-cluster/kubernetes"
+BDEPEND=">=dev-lang/go-1.15"
+
+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}
+}