From b06136767a2852f3a381201f8be16e8388f18c6e Mon Sep 17 00:00:00 2001 From: Manuel RĂ¼ger Date: Sun, 19 Feb 2017 20:53:33 +0100 Subject: sys-cluster/kubectl: Version bump to 1.5.3 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- sys-cluster/kubectl/Manifest | 1 + sys-cluster/kubectl/kubectl-1.5.3.ebuild | 38 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 sys-cluster/kubectl/kubectl-1.5.3.ebuild (limited to 'sys-cluster/kubectl') diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 4aa839ff1ec2..eb09650889fc 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1 +1,2 @@ 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 diff --git a/sys-cluster/kubectl/kubectl-1.5.3.ebuild b/sys-cluster/kubectl/kubectl-1.5.3.ebuild new file mode 100644 index 000000000000..f6ac9b3e993e --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.5.3.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 +} -- cgit v1.2.3-65-gdbad