summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-12-13 19:17:17 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-12-13 19:17:17 +0100
commit26bfc1996e158b3e5334de683f5ebd1ed818e4c6 (patch)
tree5a00e90fae0b963143b71515a8603e5990e39d4b /sys-cluster
parentwww-apps/grafana-bin: Version bump to 5.4.2 (diff)
downloadgentoo-26bfc1996e158b3e5334de683f5ebd1ed818e4c6.tar.gz
gentoo-26bfc1996e158b3e5334de683f5ebd1ed818e4c6.tar.bz2
gentoo-26bfc1996e158b3e5334de683f5ebd1ed818e4c6.zip
sys-cluster/kubectl: Version bump to 1.13.1
Signed-off-by: Manuel Rüger <mrueg@gentoo.org> Package-Manager: Portage-2.3.52, Repoman-2.3.11
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/kubectl/Manifest1
-rw-r--r--sys-cluster/kubectl/kubectl-1.13.1.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index 58db3f69629f..e98860958120 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -10,6 +10,7 @@ DIST kubernetes-1.12.0.tar.gz 27995428 BLAKE2B 5665425ec3cab7128e33c2e8bff49a66c
DIST kubernetes-1.12.2.tar.gz 28035976 BLAKE2B 4e6d0895a03bdf176fef46641a8e0e7ba440828a2a5852f57976c92bc1c95e6ede879cb17d45e26dd66a20777dad4d063b2b0fb541172c97a0886309df033202 SHA512 7d59a28465ceacc0559da0436f0459192977447f622b9b1b7c323b2cc4a7c38d5a4100e00287c37251d1da641c04692813afa65df4051436b9144e438396cbb2
DIST kubernetes-1.12.3.tar.gz 28042821 BLAKE2B 79c2020608e4e94532b2d525c2c68dfbf9e7660f9047a215675e24f08eb00d145155ea09d9b05f92732c964d47c65138ea9170f6e8fd13ff9d63208a78b60f7d SHA512 6c4ef50240626f97246ed71229463e3649f42674d64bca3a8171728f67807cd0509da9156f53d0e7a8d4967e081cff0f03e0e1469ce5c81313eff67201d49b72
DIST kubernetes-1.13.0.tar.gz 28687604 BLAKE2B 9ea15d385a99a53a658f5e5d29e2fb84034a5abde9dca090294091e0b54aa695fabaccdce91595547303cc29e86c872f4bab8dca2d8a69992d056fd24c1865e8 SHA512 df5357c339eaa2299c08fcc9de24eb5ad90cd960af9cca356f404d500344d74ef1d682115d75d5ff8496cd7c24c84ece9452189d5a31b3f9e745721b9b98fbe2
+DIST kubernetes-1.13.1.tar.gz 28715812 BLAKE2B f51d456264348cc89aa00b6bbda2c90acfc881ff9d9ff80af77a405c3cf302626e8be96c3bec1f7f3f4df3250e48d02778c1918320484acb7827e8f411ab4bda SHA512 95a5558c9ae2b1e8207d76157f4f52d17236c6aa315ca4c7cac0f18fbe59b061156c05a5d886321b589a6cb675c142754e48f9e0ca7e966116749a32120e92c7
DIST kubernetes-1.9.10.tar.gz 23592498 BLAKE2B 021ffbb933a5b541d43617fe36967b91cb1895d4fb6ce7f3651b682976699288646b45d5d0a5698131eedc19f4aa7a125d353971d2ecd44a2fd8510a95fac423 SHA512 621a2c1c76f993ad61087916fc5946aa3f1b3dec93c7024e518de613063a605500d38e763ed55a35967acb8548d63b65a7d8482f68695dc7600c23d3c38187e9
DIST kubernetes-1.9.11.tar.gz 23606810 BLAKE2B 19d30d2cadaf5b95f919e82670b1a8e1d5e2b80a4134dbc5c6afcc23d06dee8392f63d80b59ebfbbbf3a4bcce0dc2d81b1d560c3b3b1910350efed35ee77fbbc SHA512 87881d7dd7e0b3e46dc92f3160410fdf9e7ec1f0cbc3ef99da84b808c3813a3a2d843d49e2b501ee3eb8c9db3564f62c72eecaf5dc1917051e81c106bc80a9ba
DIST kubernetes-1.9.8.tar.gz 23559610 BLAKE2B ef384dd9a06cb00c5a095b05a4b304b08a97c3eac9c40b1b06664bfffb5e5b7c71505d50c4f7c3b594975df1013030788c8cee40acbce5c9ccd34ee5b44dc4fe SHA512 45e65d7a1f0950f2fb8fc923bdcaf1d607960be096a98fbfe187ef117da02ce7bf430cdc4c6d7e707557ef54f3239025e442be08729e86dabba624f3aa7503d1
diff --git a/sys-cluster/kubectl/kubectl-1.13.1.ebuild b/sys-cluster/kubectl/kubectl-1.13.1.ebuild
new file mode 100644
index 000000000000..f12e63e59957
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.13.1.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
+}