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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1D30138351 for ; Sat, 25 Jan 2020 00:24:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B921E0809; Sat, 25 Jan 2020 00:24:03 +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 150E7E0809 for ; Sat, 25 Jan 2020 00:24:03 +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 B202D34E2B6 for ; Sat, 25 Jan 2020 00:24:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2553C102 for ; Sat, 25 Jan 2020 00:23:59 +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: <1579911825.5ff49cb080f6ffe1a87db447f6da8ebe4fd5b54b.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.17.2.ebuild X-VCS-Directories: sys-cluster/kubectl/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 5ff49cb080f6ffe1a87db447f6da8ebe4fd5b54b X-VCS-Branch: master Date: Sat, 25 Jan 2020 00:23:59 +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: c22c6910-03fa-493e-843b-e622e8282aa2 X-Archives-Hash: 5a84229ff58ba52e0fd7069faa278735 commit: 5ff49cb080f6ffe1a87db447f6da8ebe4fd5b54b Author: William Hubbs sony com> AuthorDate: Fri Jan 24 23:58:26 2020 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Jan 25 00:23:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ff49cb0 sys-cluster/kubectl: 1.17.2 bump Signed-off-by: William Hubbs gentoo.org> sys-cluster/kubectl/Manifest | 1 + sys-cluster/kubectl/kubectl-1.17.2.ebuild | 38 +++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index a0549da0771..08f30ddd961 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -5,3 +5,4 @@ DIST kubernetes-1.15.9.tar.gz 26683313 BLAKE2B e8faaf32bda63dd0ac25670cd96a4a04a DIST kubernetes-1.16.4.tar.gz 31220590 BLAKE2B 3ee3ab50f2a10c419b99f7f25072ad7b129741829d241ad788b343e5bd30ec3c9b07053755a2ec650227c0d26ae34f3d1d101cfd50ed6b16b3415a8233c8e4c0 SHA512 84768ffe3d4147082b3b151c7787498a78ee0e6aee537f5fb21c8e0e30e72b222d68942389063e8fc2a549aec423fc84a9696b3b70b9ae746a2b87a2f47297de DIST kubernetes-1.16.6.tar.gz 31714463 BLAKE2B 050897d4308a31d5164a907766af4f952d6551fba7e503bf7def78db37d017a3f5bd7a1c54125e42f9adeb850e6e38ef4ac9a98af978faf2efc4a474323b9f43 SHA512 2e1ca5781842ccd32f6e9791d069e9838a6221be3c4018abc06517cf97517bb500a6fafd7ae346088430f60c3e1dcbb983842572b9ed3241b70467dc1941e4a1 DIST kubernetes-1.17.0.tar.gz 31727453 BLAKE2B 692937c3153338bc290768eda1d3dab0cb5afdc329b795831d5e144eb7a28d40a92403ab82361d010c36e2b31d8fa1eb0047762258194d34f10841107de96cd9 SHA512 906cdae9bf9ca04cd8b1ce869fa7e7af575127ccf1616b070a29d1a32861f96672c8f55e955942a86722d64a0a269cecf52707f6e5b1d853badfe28f10e1628f +DIST kubernetes-1.17.2.tar.gz 31753827 BLAKE2B de92f1e0f087115691b5ce057a07f4b46a4410714ad9164801c0390190bd8e29f8aa6e79d0d8b816669770feaf229932df04c48792ce11e77e8c682db54f28bd SHA512 64c45967e6a85943fd3f62f82e0d51001bbeb04ed8ccbe376ad63989f4a888f838bc17d1d0942e8c857118781703a6cbd3336bff1f3ae5269f808b5d9b4d11bd diff --git a/sys-cluster/kubectl/kubectl-1.17.2.ebuild b/sys-cluster/kubectl/kubectl-1.17.2.ebuild new file mode 100644 index 00000000000..48ab974a02a --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.17.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-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://github.com/kubernetes/kubernetes 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" + +DEPEND=">=dev-lang/go-1.13 + dev-go/go-bindata" + +RESTRICT="test" +S="${WORKDIR}/kubernetes-${PV}" + +src_prepare() { + default + sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" hack/lib/golang.sh || die + sed -i -e "/export PATH/d" hack/generate-bindata.sh || die +} + +src_compile() { + LDFLAGS="" emake -j1 WHAT=cmd/${PN} GOFLAGS=-v + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die +} + +src_install() { + dobin _output/bin/${PN} + newbashcomp ${PN}.bash ${PN} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} +}