summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-10-28 17:15:52 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-10-28 17:15:52 +0100
commit93d2bb4bffcaf42f892ba40fd96109f6a71dd9b3 (patch)
tree7d71a8dc7915be29320624f68cd81ca5489247fd /sys-cluster
parentsys-cluster/kubectl: Version bump to 1.11.4 (diff)
downloadgentoo-93d2bb4bffcaf42f892ba40fd96109f6a71dd9b3.tar.gz
gentoo-93d2bb4bffcaf42f892ba40fd96109f6a71dd9b3.tar.bz2
gentoo-93d2bb4bffcaf42f892ba40fd96109f6a71dd9b3.zip
sys-cluster/kubectl: Version bump to 1.10.9
Signed-off-by: Manuel Rüger <mrueg@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubectl/Manifest1
-rw-r--r--sys-cluster/kubectl/kubectl-1.10.9.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index 2eb95bdc910a..ff8eb8916060 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,4 +1,5 @@
DIST kubernetes-1.10.5.tar.gz 25046108 BLAKE2B 4e3d85e872e13a11d7f1fe030d9c6ba62c56b37788c31d6460c7d149c47a59a18a9cbfc791092183977089f4d612b690138faee46383c1b3b7e65adfdd3a0276 SHA512 55ac294297385cf6a69a48193c691744b886a5fa5d22b7a3a601d39aacd4cd898edccfcdc186bb1845e257f0f177d330af15d29d1419caab03f863bfa095eddf
+DIST kubernetes-1.10.9.tar.gz 25071180 BLAKE2B 851b99258c61ef238c92ee2bc6918d53fe09299997ce15ec4c38f4061746b01215aad8b6832a044ec96c5f88d61f7629722621c7bb0f4a53176f3c76a2aad4ec SHA512 ebc859304c337b4dc92f4e1122a6ff8ef8e0564757bd1dea5050f7a295da752fe72f81f2fc86aea45dcba9b9c3690140c75f461951b839761d5c636b9b0d2a5b
DIST kubernetes-1.11.1.tar.gz 24774820 BLAKE2B 2b4ffda2258fbdf7f05eeea57f7fad8ca2eb574895d016475ceae35d8506d9c09d5874e689c0f25c806d0b0b957fca166a8930a8fc5aca98cbe3174dfd217653 SHA512 4afb54ae389aa414c7e64a7ab60d586c8f3c75afe4da00bcf2221b4b273e164a09548e61c24a0cdaf9d0e52394c3421e6c70f4fbfc80ed62c40ba7816b03afcf
DIST kubernetes-1.11.2.tar.gz 24780381 BLAKE2B 020768d7acfbcd2feebea677db52bda785bbe9862327a0734cd8b2f66439c9e0538caebd12c706aada2513b277d37c3e3a3ff47e9eaeff31e75b06040b0b853a SHA512 1e61c3ee5f74e9320d8887c9869c3e2cc1ca57f1e8eb83b92c39a8b1a81a82568b966219696ff420f9c0798f6793b311a959294e6f4b0fd9be59daf180147271
DIST kubernetes-1.11.3.tar.gz 24788666 BLAKE2B b388132696b901901cdd5a9f0ab35ebea9533fe178bdf62bf0f1524b92bbb74e5d39c79c045ce0358ceabc8d68e87cb5e1603b0acf6a29f9bb557815e1ebed7e SHA512 f25f7e7738b75bbea62e9c5b0a73f93086f460277acac864c06baf69f565b8fcfb6b09836b8c7fbb8dcec9efc4943b88f5fd8a361007270c7900e7e48c1d5cc5
diff --git a/sys-cluster/kubectl/kubectl-1.10.9.ebuild b/sys-cluster/kubectl/kubectl-1.10.9.ebuild
new file mode 100644
index 000000000000..f12e63e59957
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.10.9.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2018 Gentoo Authors
+# 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} GOFLAGS=-v
+ 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
+}