diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-07-27 18:53:12 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-07-27 18:53:12 +0200 |
commit | 449ff71062894a038a297344b438dbdc69b7aa94 (patch) | |
tree | 05a49d3ccd5ea1d925d0039e9031304e7b6b0b1c | |
parent | dev-util/meson: Add ~arm to the latest release for #625322 (diff) | |
download | gentoo-449ff71062894a038a297344b438dbdc69b7aa94.tar.gz gentoo-449ff71062894a038a297344b438dbdc69b7aa94.tar.bz2 gentoo-449ff71062894a038a297344b438dbdc69b7aa94.zip |
sys-cluster/kubectl: Version bump to 1.7.2
Package-Manager: Portage-2.3.6, Repoman-2.3.3
-rw-r--r-- | sys-cluster/kubectl/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubectl/kubectl-1.7.2.ebuild | 37 |
2 files changed, 38 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 2eb6b90bfd07..f9893ac2854f 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1,3 +1,4 @@ DIST kubernetes-1.6.6.tar.gz 22000184 SHA256 13e9cd0753fd8227e1a8588af984005499bedb3916a594eab8d4e873387c464c SHA512 ecd069fc08b0e17a5f7df3f2daf8c14e784f364b89adbd357cb1007bcce81907085f05fd5f7b502e225ad2507b5002d52cf67bd55bed1275c719057e75ada558 WHIRLPOOL fb360828bb0f6f18573bcc236da087d335561133ac2bdf80eae44d7b9d21fa4be56f9620904af78167d31a3e94670184c35626c876fdac2e5cf5e0c8f8ea5030 DIST kubernetes-1.7.0.tar.gz 21930564 SHA256 0fe34180a4bb61384894616b1d348cc6350d1ebcbc071c67748864ffd2deb026 SHA512 cdea8e9758498749a4bd07013e4b1501e88d60d0a59971d0401e334ba7b2b245010e8255130971d43633c6fdb6ba49239a01c2754247bb7e0347653caa00ca36 WHIRLPOOL de7e1784d3b5960e03ad04f614f054f0d218055d3b4e1e0885fffb8fa8e6e9ba67ee80b323b32e5353ec55014b5fb55fbf7dc99216604a7ce3303569561f628c DIST kubernetes-1.7.1.tar.gz 21933985 SHA256 8420f316e3954e27d14bd31cd885bea85765a6822f7dbdd025b3d27563914bb4 SHA512 95fedccb3de9b32194c015c929d7f25a0ca51ff0f3aef0d278acb5924b91c397f719426855413000427e01131867ba571894692902d55e7536584c19d6e1aa7c WHIRLPOOL 0b36d39c75c692a09d0b68c427bce175b49c39e44e56999cd31dfe07eb7afa8b9ca24528444f1fca13254fb39414f0a9b377ccfa8bb612ca0b7980ad09cbe381 +DIST kubernetes-1.7.2.tar.gz 22003395 SHA256 a283ff30b243b94474d07ec0ed52c4d42a2ca427610a58f1a6dffe456fbb3b6a SHA512 38de356e95198cc7db077e994b6369e807ad65b507f14d342e82e1d08dcf03797771afe45bf043d9d40b7f49e73c3e310117eef98c32eeb4a682eb3d6b670216 WHIRLPOOL bb237497f49277784ff1d1b02225d9fb6bf7f33a92e59e38f9a673fcdb84062f36271239330d633f96a38809a02e447d82266f5c24a8cb404ecd25c452d5b6f1 diff --git a/sys-cluster/kubectl/kubectl-1.7.2.ebuild b/sys-cluster/kubectl/kubectl-1.7.2.ebuild new file mode 100644 index 000000000000..4866ab70285e --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.7.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit 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 +} |