diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2019-04-23 15:07:24 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-04-23 15:07:24 +0200 |
commit | fafeb14fc73b358682ee40ba5f1b4009b1110524 (patch) | |
tree | 412b0b0bd8122e3aeb60b21f8ef0fee8d4a33929 /sys-cluster | |
parent | app-admin/kube-bench: Version bump to 0.0.27 (diff) | |
download | gentoo-fafeb14fc73b358682ee40ba5f1b4009b1110524.tar.gz gentoo-fafeb14fc73b358682ee40ba5f1b4009b1110524.tar.bz2 gentoo-fafeb14fc73b358682ee40ba5f1b4009b1110524.zip |
sys-cluster/kubectl: Version bump to 1.14.1
Package-Manager: Portage-2.3.63, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/kubectl/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/kubectl/kubectl-1.14.1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 5a7d5a2ab9c8..05c4eee3c95e 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -3,4 +3,5 @@ DIST kubernetes-1.11.6.tar.gz 24827575 BLAKE2B 095adccef1b5618f7e5d3a46cbf835f10 DIST kubernetes-1.12.6.tar.gz 28142622 BLAKE2B 7f3541356aebb3f60c27ba1ae1c9c50867bf77ae8cb585955b38addc1015ef0dbbf0bd21e454610ee2fe6c9811c0d32fe912de368f7bf5d95fe60cab7a538354 SHA512 bd4b28fb6ecb7212c9bd6fb24b3ba59466ed9d684a4ba4e403e0270fc96ac5d1bcdcf8ea0be0085353af29bbfe73ab6ff1cda5127ea123ad7660c3022cab4703 DIST kubernetes-1.13.5.tar.gz 28804719 BLAKE2B 9ca1f24a26f5917c085fad65c3ed1cb4cc0f5556f6245b8e87aee5244e96ed6beede646f8b95b118d79ac715e988111f7fd2ddfb4c478af7a9bfe19c4dd227be SHA512 aced7b8dae452c62f4751785ad106c3747054ccb075b3d04dd82bd816d74f4002844e3cfa7aee138c9661e5c30a9aa9743f10a0dd807bbd590fffb60ce72f617 DIST kubernetes-1.14.0.tar.gz 27797992 BLAKE2B e219717c866b0aba190ee13a480fb41a02335a629ecb655f826ae320456c60f71c1c3aaefadec45a5fb9cd4336871734eda964d062c456ca7eed556540d649b4 SHA512 dc748e4d9790e4ff17e765355b351a4fcec7a2bb5b87413bc4e36525c35fecc7d16add6111ac5ba787c311e2466c87bb76ca86105b7da9e056b66af81a700822 +DIST kubernetes-1.14.1.tar.gz 28008273 BLAKE2B 28ef62504544f33581a64ccf4c54a9b93fff5b92169db869291ac00f199993373cbef51a9d2562d76f12a5f2ee073018113b23fdac5b875ddfb8a01dba7f422d SHA512 c2923b539103f9f5d414972ccddb99856df8161d5e734b30eb1156fd5ed4330fa25fabb2a9afcc21f07fd2e8c66b2b1b769efc38f32b19237e9b7bc3172af180 DIST kubernetes-1.9.11.tar.gz 23606810 BLAKE2B 19d30d2cadaf5b95f919e82670b1a8e1d5e2b80a4134dbc5c6afcc23d06dee8392f63d80b59ebfbbbf3a4bcce0dc2d81b1d560c3b3b1910350efed35ee77fbbc SHA512 87881d7dd7e0b3e46dc92f3160410fdf9e7ec1f0cbc3ef99da84b808c3813a3a2d843d49e2b501ee3eb8c9db3564f62c72eecaf5dc1917051e81c106bc80a9ba diff --git a/sys-cluster/kubectl/kubectl-1.14.1.ebuild b/sys-cluster/kubectl/kubectl-1.14.1.ebuild new file mode 100644 index 000000000000..7a61b25dce90 --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.14.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 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-lang/go-1.12 + dev-go/go-bindata" + +RESTRICT="test" + +src_prepare() { + default + sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" -e "s/-s -w/-w/" 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 +} |