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 F38AD1382C5 for ; Tue, 27 Mar 2018 09:51:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0A5E5E08CD; Tue, 27 Mar 2018 09:51:12 +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 C5D11E08CD for ; Tue, 27 Mar 2018 09:51:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 DC5D3335C43 for ; Tue, 27 Mar 2018 09:51:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DD512258 for ; Tue, 27 Mar 2018 09:51:06 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1522144243.5216bf550625d58645ab2eec1707cbb9067d90c6.mrueg@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.10.0.ebuild X-VCS-Directories: sys-cluster/kubectl/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 5216bf550625d58645ab2eec1707cbb9067d90c6 X-VCS-Branch: master Date: Tue, 27 Mar 2018 09:51:06 +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-Archives-Salt: aba9b20f-90f8-432e-b2b6-e2d56f9e54b4 X-Archives-Hash: 204e220d0e8db5f8a45408c0e6a67897 commit: 5216bf550625d58645ab2eec1707cbb9067d90c6 Author: Manuel Rüger gentoo org> AuthorDate: Tue Mar 27 09:49:45 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Mar 27 09:50:43 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5216bf55 sys-cluster/kubectl: Version bump to 1.10.0 Package-Manager: Portage-2.3.24, Repoman-2.3.6 sys-cluster/kubectl/Manifest | 1 + sys-cluster/kubectl/kubectl-1.10.0.ebuild | 46 +++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 1ef68f5cc02..9f3ba6dfaef 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1,3 +1,4 @@ +DIST kubernetes-1.10.0.tar.gz 24693525 BLAKE2B 056fb98bc8050adf46a043008b332c94cc54c622ec20d303c7a1bc92c8ff8168efc50a2b7a32ee2b6449c0e496f2351aa665bf4a6ab832d44dd2469dd2fd05d3 SHA512 64910fd911641d8f1188fa061c8e5d4634f228c66dc158011cd0cf50c0db1945c0c0d609c588704d2c33ca33da681b78fc17cc8c29cc148a61281926d14364d9 DIST kubernetes-1.9.3.tar.gz 23396346 BLAKE2B e65a68e27f479dfedbfa17dd770dbeee9d56cd439abe3537a928bed15e054a12f7f8445c35e89957665b74a831135240d0e12af10ef14bd4e5938bca1781e0e5 SHA512 73a20c0f28cc04728bdaac36d08a2b78c7f203bc61a80c4716a1cb8447547f56e7ae76cbe77b3b03c704b6224392c4d0aa88ede3ce116c8aa2c15cb8a9bd4840 DIST kubernetes-1.9.5.tar.gz 23533411 BLAKE2B 1dc2699a903b10945a9b4b1b0d957a7ef0ee3309e3eb54d53155818bc943c780a381962703ed3b5f510998a3fdb20f7a2b0f0b9a2a09d4b811f2a8270a5efc6d SHA512 631ad278566ba4f51cd260ac5941df1776b6e9a01a67933fe348273f1ac5140a66a51be0120c090789e3baaa57d9913bf8fdfd71137d7d7c4af5d795097f4fb7 DIST kubernetes-1.9.6.tar.gz 23538810 BLAKE2B ff832b3c8b0c06d47d62c6bbb981a60c94d31822921eb4a2e1fcb9b04c44cb9ffbb2f3bca050ba7188a49ec5292e5bad9a0560c6c39bce8ff706d1034df90e45 SHA512 1182f189fe5090297c373359f8c3782acc05213cc05c35b7cd48aaed845a2c8cbe32e155699e549690d8438cea220a129bde8256e834ae8939badf2ad953fa1e diff --git a/sys-cluster/kubectl/kubectl-1.10.0.ebuild b/sys-cluster/kubectl/kubectl-1.10.0.ebuild new file mode 100644 index 00000000000..14674478c43 --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.10.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit golang-build golang-vcs-snapshot bash-completion-r1 + +EGO_PN="k8s.io/kubernetes" +ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" +KEYWORDS="~amd64" + +DESCRIPTION="CLI to run commands against Kubernetes clusters" +HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io" +SRC_URI="${ARCHIVE_URI}" + +LICENSE="Apache-2.0" +SLOT="0" +IUSE="" + +DEPEND="dev-go/go-bindata" + +RESTRICT="test" + +src_prepare() { + default + sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" src/${EGO_PN}/hack/lib/golang.sh || die + sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die +} + +src_compile() { + LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} GOFLAGS=-v + pushd src/${EGO_PN} || die + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die + popd || die +} + +src_install() { + pushd src/${EGO_PN} || die + dobin _output/bin/${PN} + + newbashcomp ${PN}.bash ${PN} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} + + popd || die +}