From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 F224D158087 for ; Fri, 29 Oct 2021 18:43:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56C3BE08BD; Fri, 29 Oct 2021 18:43:21 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3E34EE08BD for ; Fri, 29 Oct 2021 18:43:21 +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 35D973432C0 for ; Fri, 29 Oct 2021 18:43:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9C75B198 for ; Fri, 29 Oct 2021 18:43:17 +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: <1635532991.e66d35bfd586681f646c0a43ab42fb05a792e657.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.12.ebuild X-VCS-Directories: sys-cluster/kubectl/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: e66d35bfd586681f646c0a43ab42fb05a792e657 X-VCS-Branch: master Date: Fri, 29 Oct 2021 18:43:17 +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: 265b8479-fe31-4494-ac6d-cee1560ef375 X-Archives-Hash: 3391965a5a5218f9f7a48c1482e98e4a commit: e66d35bfd586681f646c0a43ab42fb05a792e657 Author: William Hubbs gentoo org> AuthorDate: Fri Oct 29 18:42:40 2021 +0000 Commit: William Hubbs gentoo org> CommitDate: Fri Oct 29 18:43:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e66d35bf sys-cluster/kubectl: 1.20.12 bump Signed-off-by: William Hubbs gentoo.org> sys-cluster/kubectl/Manifest | 1 + sys-cluster/kubectl/kubectl-1.20.12.ebuild | 34 ++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index f201e4b28f6..39773f84bed 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1,3 +1,4 @@ DIST kubernetes-1.20.11.tar.gz 34514143 BLAKE2B 498107e2ef225964b28868ee1aa37721f7d667160b81f50b486ccfd961047a842dd00d7f75b03781e0891d5e735d93b19364ab31a111079317fffc0ff0b879be SHA512 eddf4690ec034c6b09c13e939d172e96072e131416b137022ed664ad5604446c8ca95038ff2f622b41a6d000900b836b0d708f75ac6c9574a7d1b262f73bba1a +DIST kubernetes-1.20.12.tar.gz 34540977 BLAKE2B 7e61a3ffc6053ed9e6985541cca65af8e4adfd032984d9f3aad36dc61a0deb5706dcbb05d0dda68f2d9d806ccf53580051702e1aa1b3ac5d612cd6dfea553ee8 SHA512 42f9d000454ae4717a9a7026fa0f1af192e160deddc6e44044993183036e67bdb9fdae02d9fcb7556370f75a44a739c49da5daf091d3b88b6dd4101e6aafe6ac DIST kubernetes-1.21.5.tar.gz 36128382 BLAKE2B 561de62a9be5c7bf49362732a098cc3bcadff9d006853de1beb73c2ae8def4249b9b3df4bd96a89aa4646929874ab2f0132212f38c98e411424f5887c02d6590 SHA512 bef73a90b31ea9c72070efc52c4e2c6aed1fde5bb0c2b391394148a394cf020071793b368a429e3d11f3e1afa24a3da9ec82b5ba64d61e2fd00209c796d5b7b3 DIST kubernetes-1.22.2.tar.gz 35997127 BLAKE2B bcc5deb9f446032baeff60b3f75e11c75af0e69fd0e50df789d2b7b532f9e839875ef4227729166d667f022816b321bacf219b0fdeaa2d0da552587d4a9a4067 SHA512 81045b0432f60a865c79f408921ff7c5865cdcb297c4cf17f741a08a5fa0f2af9e8c938e54e73c532dbeb643316e8acf983a0e9203be8ce920c2ae588dec6554 diff --git a/sys-cluster/kubectl/kubectl-1.20.12.ebuild b/sys-cluster/kubectl/kubectl-1.20.12.ebuild new file mode 100644 index 00000000000..99f1f19c12d --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.20.12.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021 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} +}