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 A689D139694 for ; Sun, 28 May 2017 22:45:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D3D6EE0809; Sun, 28 May 2017 22:45:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A2FE1E0809 for ; Sun, 28 May 2017 22:45:34 +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 77FF4341683 for ; Sun, 28 May 2017 22:45:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21F9D7441 for ; Sun, 28 May 2017 22:45:32 +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: <1496011519.4af87f3a901ccfaca1e56a0f4242305d3441b001.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.6.4.ebuild X-VCS-Directories: sys-cluster/kubectl/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 4af87f3a901ccfaca1e56a0f4242305d3441b001 X-VCS-Branch: master Date: Sun, 28 May 2017 22:45:32 +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: 81c053a2-61e1-42e9-b286-072aa64b9a18 X-Archives-Hash: 8972239f07fda232d37384304c306b7e commit: 4af87f3a901ccfaca1e56a0f4242305d3441b001 Author: Manuel Rüger gentoo org> AuthorDate: Sun May 28 22:45:19 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Sun May 28 22:45:19 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4af87f3a sys-cluster/kubectl: Version bump to 1.6.4 Package-Manager: Portage-2.3.6, Repoman-2.3.2 sys-cluster/kubectl/Manifest | 1 + sys-cluster/kubectl/kubectl-1.6.4.ebuild | 37 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 1ca80a74193..d04ab6aa97d 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1 +1,2 @@ DIST kubernetes-1.6.2.tar.gz 21975834 SHA256 2af4bcc196a90b78baf65d5bcdf6cbb613d71d3952a98813e15bb6a41f3b922c SHA512 a2a248610407d391c9cadd0c54d97dda7ba459532f2e971708dbdca94d34559aab97c80069ba10b79d64188211c17c4014fa7410bc4e64a9bb55eae5b9a96a36 WHIRLPOOL d0d30f2a876a6dc986321aff5f472707cb9bc2dc3a2c63a37afd1dce19069a3b53185580df21050b8cdf68691f99288c03f3bbac665d2f20d23310ca7eb0067c +DIST kubernetes-1.6.4.tar.gz 21984028 SHA256 8042628d49fd8d2382ad487a08b89d68b72d3dbaf24c1cc7c452ae7c72e9c0b9 SHA512 86eb104ff3d822f362b1afce46063e8533c1c6d7ab981d2038d04636281d135b5edacce94a8200e3a57ec14f8906df90fb3dce82a44539b664015542c159e2a0 WHIRLPOOL d3fa467f2cc644985fd45f06e5a9a32b36a6136b6099c4fa9f9e9cd2e9eecb1d58f74cdf64ee5a4c73071ff3f8361e89b80b794e6cfe005a2c0d6b8def9d557d diff --git a/sys-cluster/kubectl/kubectl-1.6.4.ebuild b/sys-cluster/kubectl/kubectl-1.6.4.ebuild new file mode 100644 index 00000000000..637d85f31c8 --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.6.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit user golang-build golang-vcs-snapshot + +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} +} + +src_install() { + pushd src/${EGO_PN%/*} || die + dobin _output/bin/${PN} + popd || die +}