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 5E053139694 for ; Tue, 11 Apr 2017 14:58:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5A932E0821; Tue, 11 Apr 2017 14:58:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 22C8AE0821 for ; Tue, 11 Apr 2017 14:58:43 +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 14A6A341586 for ; Tue, 11 Apr 2017 14:58:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 49622737F for ; Tue, 11 Apr 2017 14:58:40 +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: <1491922691.b1a8b2e624625ab1ba74500db3b67875eab4883b.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.1.ebuild X-VCS-Directories: sys-cluster/kubectl/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: b1a8b2e624625ab1ba74500db3b67875eab4883b X-VCS-Branch: master Date: Tue, 11 Apr 2017 14:58:40 +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: 1a0a7eb5-7f81-4526-ba8d-577b559e751f X-Archives-Hash: 7401cfd5cb4b0b18a2737ed71759337c commit: b1a8b2e624625ab1ba74500db3b67875eab4883b Author: Manuel Rüger gentoo org> AuthorDate: Tue Apr 11 14:58:11 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Apr 11 14:58:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1a8b2e6 sys-cluster/kubectl: Version bump to 1.6.1 Package-Manager: Portage-2.3.5, Repoman-2.3.2 sys-cluster/kubectl/Manifest | 1 + sys-cluster/kubectl/kubectl-1.6.1.ebuild | 37 ++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index eb09650889f..51f3ad891d2 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1,2 +1,3 @@ DIST kubernetes-1.5.2.tar.gz 22165963 SHA256 e1c4050ff67d31a2a98d303785f52fbf5033c2f33b61d525a821fb82c8820eae SHA512 9c29767a356619cc6d4e49c37ab502706666e0857cad0695023b831d7a8d750169d9d7da55c35fbc109ad47466a1add7253196d816c96ca60468d5e41ca8876a WHIRLPOOL 07fa17d259669f548f295dc827fdb3850af203121a50e8885eb4d402c48c7ca06d4df798bea392fadaad0e70f70d46270c456f7e088dc0dd5b1618148c3e48fe DIST kubernetes-1.5.3.tar.gz 22186276 SHA256 bd83212374091e41a24f3cbbd70a36ac7635becac76cfff590b4ded67cb537bc SHA512 5bb6635863a98fca62bda509069d62f0f1096d1ffb3a67d280fb6ffc89dcef69a3b9ecf5b4ca835a089b2e1622df0c373b0e317d782af438f9b3794e410bf6a3 WHIRLPOOL 352b491e358ab618db83eab05e13b434f2e7e091024c1392834ddb889c2e869f3d36741df2471040647193898334591ecafbed834801e2446452923f1fadd074 +DIST kubernetes-1.6.1.tar.gz 21965110 SHA256 92c07e6c84b88d99ff966bd2b1851ea167c1dad6cc98368b9abe5d49bc9d55b8 SHA512 ca2755254d6ed32ca26db7ac6c10c8e042ae03c38abb6e61cd49b4199b2a58d4aff233bf63952217f189c67e7156840c152d8f88729913093a556163a856bb13 WHIRLPOOL 8f3f3b5ca33b8aae9e24488088da096ed5dc49431f1e630cae58906c40f767f52c6239522f4547ce77388d5bd715d309e63f8c37ea4b429bd470540d6fe63181 diff --git a/sys-cluster/kubectl/kubectl-1.6.1.ebuild b/sys-cluster/kubectl/kubectl-1.6.1.ebuild new file mode 100644 index 00000000000..637d85f31c8 --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.6.1.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 +}