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 96F3C139694 for ; Tue, 14 Feb 2017 23:06:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA306E0D21; Tue, 14 Feb 2017 23:06:45 +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 BE5FFE0D21 for ; Tue, 14 Feb 2017 23:06:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC42434105A for ; Tue, 14 Feb 2017 23:06:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2EDC64808 for ; Tue, 14 Feb 2017 23:06:43 +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: <1487113585.2eabfd19b51963f78a645bda263139e962c70fe6.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.5.2.ebuild sys-cluster/kubectl/metadata.xml X-VCS-Directories: sys-cluster/kubectl/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 2eabfd19b51963f78a645bda263139e962c70fe6 X-VCS-Branch: master Date: Tue, 14 Feb 2017 23:06:43 +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: e9d96916-4cf7-4a1f-bd91-0ef606c38790 X-Archives-Hash: 0723fe9cd714b9f15500047f08825ea0 commit: 2eabfd19b51963f78a645bda263139e962c70fe6 Author: Manuel Rüger gentoo org> AuthorDate: Tue Feb 14 23:05:52 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Feb 14 23:06:25 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2eabfd19 sys-cluster/kubectl: Initial version Package-Manager: portage-2.3.3 sys-cluster/kubectl/Manifest | 1 + sys-cluster/kubectl/kubectl-1.5.2.ebuild | 38 ++++++++++++++++++++++++++++++++ sys-cluster/kubectl/metadata.xml | 8 +++++++ 3 files changed, 47 insertions(+) diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest new file mode 100644 index 0000000000..4aa839ff1e --- /dev/null +++ b/sys-cluster/kubectl/Manifest @@ -0,0 +1 @@ +DIST kubernetes-1.5.2.tar.gz 22165963 SHA256 e1c4050ff67d31a2a98d303785f52fbf5033c2f33b61d525a821fb82c8820eae SHA512 9c29767a356619cc6d4e49c37ab502706666e0857cad0695023b831d7a8d750169d9d7da55c35fbc109ad47466a1add7253196d816c96ca60468d5e41ca8876a WHIRLPOOL 07fa17d259669f548f295dc827fdb3850af203121a50e8885eb4d402c48c7ca06d4df798bea392fadaad0e70f70d46270c456f7e088dc0dd5b1618148c3e48fe diff --git a/sys-cluster/kubectl/kubectl-1.5.2.ebuild b/sys-cluster/kubectl/kubectl-1.5.2.ebuild new file mode 100644 index 0000000000..f6ac9b3e99 --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.5.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} diff --git a/sys-cluster/kubectl/metadata.xml b/sys-cluster/kubectl/metadata.xml new file mode 100644 index 0000000000..97df2a0097 --- /dev/null +++ b/sys-cluster/kubectl/metadata.xml @@ -0,0 +1,8 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + +