From 6b933047f46efec1aa747570f945344254227457 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 15 Dec 2017 17:25:28 +0000 Subject: gentoo resync : 15.12.2017 --- sys-cluster/kubectl/Manifest | 2 ++ sys-cluster/kubectl/kubectl-1.8.5.ebuild | 47 ++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 sys-cluster/kubectl/kubectl-1.8.5.ebuild (limited to 'sys-cluster/kubectl') diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 587010370763..ff0d38052915 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -1,5 +1,7 @@ DIST kubernetes-1.8.3.tar.gz 23203777 BLAKE2B ce8cd5fab6f309bfa5611a66be5c244bec1bfbd5f8dc2db045755f870a5a1bdc2791842a967a0537874b805a3fa49c9a2bec4aac218db35790bf14ed9e88b38a SHA512 6538b60daf91ad0b89e07d1c7d3a5127ac65f642aa317aefc030656488decf0f288ec7d71390755e90e1452f0719916c38ac45ec71d67969d0f4cf7b402682c8 DIST kubernetes-1.8.4.tar.gz 23213010 BLAKE2B 0c8f4ad04c1ee709344d17ffa37a1d532f437d0b7e04fdc84b6d940346f2b5746c91376b0d2e55a76bb5414b4b7c285da039e7267e7879151b848c9a4112b90e SHA512 4b487256e49cb5d93c22b1992a84f079147bddb243d3b3ca5e984939dca334d62501de426bf3ba1e8e511642bbf4b999091c97b0b1885b87c5bcc9936d29e8c3 +DIST kubernetes-1.8.5.tar.gz 23235782 BLAKE2B 923c4e5a0a3dc19d57665bf184bdd33fcbd9ffacf4aaf6a89553568631cdbc136f4bc0f6de0619bbabdc9f9bab05c495626bdccd1879bffb231fa31792707d08 SHA512 c4d6b2bafb4bc148ffe2273433241ff0564c6a452469180c2289f3f90fde72f0817881332502d08bcba3095809d71865255e8702d1e210dda81dff3310c24124 EBUILD kubectl-1.8.3.ebuild 1210 BLAKE2B 874963e799809134cd8c04e5397a1e9f23fb4c2d7e9e24f73279c44d1f25fa11cbcdaaad905cc6fff0e5e078cd0d314447929e7c21207ad5023a84c0d559ea18 SHA512 d4a5d6860476b6b86bb794f0f9e90852a9cafe3e5cda4da8ef8662d1e798e065f05ae33dde58f5066efc290fbe974a678989658eea3b05867007f98ab3d2bdb1 EBUILD kubectl-1.8.4.ebuild 1302 BLAKE2B 3c788ff2e7701114dc5327d4cbe17e74460d18523cb1211d516fe46115440c383459649b39a2e51c047f2b1b431e89d5bd167ab5013fcca7746277896ad2e737 SHA512 e91d512394f2b28d8f5807f7248c5e52100d46b237094411c837baa56daa7940d7451aa4bad83482a33ac1e659b6fa14eedf350735e3b95ebfd9c02f0507c84b +EBUILD kubectl-1.8.5.ebuild 1302 BLAKE2B 3c788ff2e7701114dc5327d4cbe17e74460d18523cb1211d516fe46115440c383459649b39a2e51c047f2b1b431e89d5bd167ab5013fcca7746277896ad2e737 SHA512 e91d512394f2b28d8f5807f7248c5e52100d46b237094411c837baa56daa7940d7451aa4bad83482a33ac1e659b6fa14eedf350735e3b95ebfd9c02f0507c84b MISC metadata.xml 331 BLAKE2B 5af758a2aff067b1d7e94cb6d87a27fb96825c56490b5a4c7d9554cbb5057cf10b0dfb7d069f3edf8f7bcdce88b0f6b4286c4622c3cdcf5e5b283c75760f6a1d SHA512 d44cef89f9f902c706b0f9c0c4106bfd6ca094d64c273d0a13da53aec7ba2b238cd6ff489f13765e895ee4a6f2bb4638436839c7c60cce2ece3013fdc27232a4 diff --git a/sys-cluster/kubectl/kubectl-1.8.5.ebuild b/sys-cluster/kubectl/kubectl-1.8.5.ebuild new file mode 100644 index 000000000000..9a83dfbdf26d --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.8.5.ebuild @@ -0,0 +1,47 @@ +# 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 "s/git archive/git-archive/" src/${EGO_PN}/hack/lib/version.sh || die + 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 +} -- cgit v1.2.3