summaryrefslogtreecommitdiff
path: root/sys-cluster/kubectl
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster/kubectl')
-rw-r--r--sys-cluster/kubectl/Manifest2
-rw-r--r--sys-cluster/kubectl/kubectl-1.8.3.ebuild46
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index f42f645fe825..fdfdf83946f2 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,5 +1,7 @@
DIST kubernetes-1.8.1.tar.gz 23400352 SHA256 a262050d532275a1b340ca1a453a986eb977a094d7a8f4a7600358677f114a18 SHA512 b09e72990cd148c604a92d866e4dd07da113a9dd1e68faebea8dd9bf256bfd908070d4e38eed7ce04c8f416d20203cf29c9c7f8906e1b50b678cb18e2ef8f5b3 WHIRLPOOL 87142b40c7d19b8be8563ec5ccaefc3970b7ce79a081bd9c1ff8c3d5227843c267fe5ab8d56b7a42874b7f29d8517f0d69beb2842ab2b58f8fb1efa5e6a61291
DIST kubernetes-1.8.2.tar.gz 23123452 SHA256 3052c0ce35bd1f8a1500588580947c7f17f09f1ddea3a54466036fd62b46c736 SHA512 a813681f07fc674f493701833a30bc6b156572e4c8d28558b0e22dd36c16257c6c0922df773e4a5799a2eec05674cd1180f2b15ab69b0bdce52d1a861723214b WHIRLPOOL d8beb599ca2e194af5e5e1eb6d521c7846ad2ffad72da965119c51c92b16db41a17222886e57de5aad83359f20c8b264eb2e7411048218c95790d1f95f0b75fe
+DIST kubernetes-1.8.3.tar.gz 23203777 SHA256 8ab7e41126dfc3bc1a23ff76efc20e5131320530dc1277e5c2ed8c9618041b95 SHA512 6538b60daf91ad0b89e07d1c7d3a5127ac65f642aa317aefc030656488decf0f288ec7d71390755e90e1452f0719916c38ac45ec71d67969d0f4cf7b402682c8 WHIRLPOOL 94bc84421b648b42b1a0e0ffd8ed8f4e3fe4c5c25bc7ada6026be2e7a22278199b5539b99c2bcc571882ba8a1df3f5b7993c238c163bb1efdef746ec641a6e61
EBUILD kubectl-1.8.1.ebuild 1196 SHA256 97374f8f5b45b01ce8b1ff8990fe4030a83acd5bfbf64887839a5e911d28198f SHA512 a815fa1ad8084d48ccc36f5fcc234394e53460c0e3133b2389f694cbe30b4e91c25bd16ed49486d2022e57647a12ea1f364fc61a960cc1c99066abd1e835362a WHIRLPOOL df72c0de492aee9acacf85a4711354f0b33add7e226b427c24fa7448e016974a879f8beac23033d6f2cae37e8c8da02b76ed247927ba5a9f9a3c027f8d41dce9
EBUILD kubectl-1.8.2.ebuild 1210 SHA256 bc2d8c9e3a03a6f9d502d1c8b3063be1d989aed4145825107be17806874eec26 SHA512 d4a5d6860476b6b86bb794f0f9e90852a9cafe3e5cda4da8ef8662d1e798e065f05ae33dde58f5066efc290fbe974a678989658eea3b05867007f98ab3d2bdb1 WHIRLPOOL 659bc4a6e7c07bb216aa73e565ee6640a7a57c5fb1144d1fb520e411c2cf10953e9283310673cf29e014377f326dd093d1a9597aa9c421cff0c2f3a7e52f4e2d
+EBUILD kubectl-1.8.3.ebuild 1210 SHA256 bc2d8c9e3a03a6f9d502d1c8b3063be1d989aed4145825107be17806874eec26 SHA512 d4a5d6860476b6b86bb794f0f9e90852a9cafe3e5cda4da8ef8662d1e798e065f05ae33dde58f5066efc290fbe974a678989658eea3b05867007f98ab3d2bdb1 WHIRLPOOL 659bc4a6e7c07bb216aa73e565ee6640a7a57c5fb1144d1fb520e411c2cf10953e9283310673cf29e014377f326dd093d1a9597aa9c421cff0c2f3a7e52f4e2d
MISC metadata.xml 331 SHA256 757e4c9e564d7c023ce2068c998fa06b2266edf7608d717268c294a3f6e10a41 SHA512 d44cef89f9f902c706b0f9c0c4106bfd6ca094d64c273d0a13da53aec7ba2b238cd6ff489f13765e895ee4a6f2bb4638436839c7c60cce2ece3013fdc27232a4 WHIRLPOOL 51540c0c28cc89e47e72825981e9f823b4abf942d35e755daa69e18c5160335f13001fbc93da85d3556562473ba8d983596c069b8ff17ce55d6ac0466bc7fb0f
diff --git a/sys-cluster/kubectl/kubectl-1.8.3.ebuild b/sys-cluster/kubectl/kubectl-1.8.3.ebuild
new file mode 100644
index 000000000000..c1b8998e6518
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.8.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit golang-build golang-vcs-snapshot bash-completion-r1
+
+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}
+ pushd src/${EGO_PN} || die
+ _output/bin/${PN} completion bash > ${PN}.bash || die
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die
+ popd || die
+}
+
+src_install() {
+ pushd src/${EGO_PN} || die
+ dobin _output/bin/${PN}
+
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+
+ popd || die
+}