diff options
Diffstat (limited to 'sys-cluster/kubectl')
-rw-r--r-- | sys-cluster/kubectl/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/kubectl/kubectl-1.20.0.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest index 5b0ea31cdf0c..0ff930d8646b 100644 --- a/sys-cluster/kubectl/Manifest +++ b/sys-cluster/kubectl/Manifest @@ -4,10 +4,12 @@ DIST kubernetes-1.18.10.tar.gz 32640930 BLAKE2B f07b5cb047bb023f1b46414edf360b4d DIST kubernetes-1.18.12.tar.gz 32641752 BLAKE2B e1af0b8c83d0854cbe0c5f1751cb4433fae022f07785c116b27854db1858c30b0d0a46af97204d8df94d20000c860275e980e123ced53dad514f3441c3b2453c SHA512 20cfac78a484724c648d65e3904d588e9853e80eb291598d788d492293e7190ec6df737c90dc3e87268d5218523920f2958684f2684853c5433c080bc6c6523d DIST kubernetes-1.19.3.tar.gz 33357048 BLAKE2B 9e023d8be35a4f65ec7412e3dd624f22ecaac478da9e2c4ef98f7369e686bc4b3ccc7f8ba2a1aa1f4fc4aabfaa6670678799fd3db6326fdd3d034b678e66ff0c SHA512 a394544e3baf797282291cae28b58e27e31fea3b3f66274a5ce9005519534860ae6f4b138ce51f4996e7da15930fadeb21d427d80e93433dc14e79cdcb250607 DIST kubernetes-1.19.4.tar.gz 33362702 BLAKE2B a3402abbd524ba135b7fa5ae9451743da44e7691e9b646de01b265078d89099440e7d14b56b21f4b2f0e105825d51c9565b62d7ae81b644f2a0a0dde4f40122a SHA512 b5a2cd73db3b1454c54d500d21630c971b5dae94377180e658638384ef2b243f0b41f1ce00eb425ab5958bddbdc0c792be4f14b9b61a364a90992860ca9109da +DIST kubernetes-1.20.0.tar.gz 35797322 BLAKE2B 8bcb34cd3e62f241caa21706f95f010cb5962b697799fcbfba62c67bfb786c3cdcac61b444676fa90952d4ac0d997364202c3797f963c8fcf60d69deca235ba5 SHA512 d04967ca858c05eb52ea46fbd5415cadb86e2ceb88481f523de2779c68dfc5eacdab033ccd873ba2c4b23e843d97b9f01400d058b421ddc618ea2b2ef751e24b EBUILD kubectl-1.17.13.ebuild 900 BLAKE2B a2316313974f7d973a3b95348227f2a7a7080d87d327cf1fa0869cd42e8c3cba4c15db9e3d08a563b5f2b7a60268f0366c8594eaeb4cd4a1210510b85819feec SHA512 0bfff79b25a87fe70a95b3a63213323d48bdfd525b27089d8f7f7eb5a37eca9897f9912b454a5581364cf5f24e9a7c636bddbfd9c992c2453954a33b490e624c EBUILD kubectl-1.17.14.ebuild 901 BLAKE2B 0e16ff8b1cc0c3ec52e1ba469e25fa268b2fd8a2d1d3beb4236be91acdaf4f601bed9a08acb6d802cf6ceaa295ea9ff8592668868962155a8f621b9612475989 SHA512 6219eabfd961215925d0ce1817c9f6e1a3491a2471279005d8b1547451816456995635d046771e32c9b9dcd01575b1f2bdc43f03256e9be0f982e7f6b2096cd4 EBUILD kubectl-1.18.10.ebuild 900 BLAKE2B a2316313974f7d973a3b95348227f2a7a7080d87d327cf1fa0869cd42e8c3cba4c15db9e3d08a563b5f2b7a60268f0366c8594eaeb4cd4a1210510b85819feec SHA512 0bfff79b25a87fe70a95b3a63213323d48bdfd525b27089d8f7f7eb5a37eca9897f9912b454a5581364cf5f24e9a7c636bddbfd9c992c2453954a33b490e624c EBUILD kubectl-1.18.12.ebuild 901 BLAKE2B 0e16ff8b1cc0c3ec52e1ba469e25fa268b2fd8a2d1d3beb4236be91acdaf4f601bed9a08acb6d802cf6ceaa295ea9ff8592668868962155a8f621b9612475989 SHA512 6219eabfd961215925d0ce1817c9f6e1a3491a2471279005d8b1547451816456995635d046771e32c9b9dcd01575b1f2bdc43f03256e9be0f982e7f6b2096cd4 EBUILD kubectl-1.19.3.ebuild 901 BLAKE2B 928a7f93d2de11e0f5671a40819a54d0ba59284e7036fc166d9af399495bc897fa9508e9b69f2d00e36c467135fc2fd61b642fe0a88a9aa21afc3ec4fc07c0f8 SHA512 0becacf2403f7b2baa65a4f482d7caf36414ebe328e57e2f88987d706698810aa69375e90e743d655e56fc4278016564b2578d2812b3d72785c8a80b4920f999 EBUILD kubectl-1.19.4.ebuild 902 BLAKE2B e1c50f7f5774556d754f5014f80a4fdbd8064a05e19283108b55957896cfaf034669e82a068484ed57c349200ce3a2e4eae02a34400b8f885a86d2f7f982c76b SHA512 6677668326cd8fa238fb339c78474902d50d8acb16dc46e0fe1b562c1b762d981ab15ab806487b5eb5f85d47c8724248ebcb2b0ce706af12e8134db18b1c76b7 +EBUILD kubectl-1.20.0.ebuild 902 BLAKE2B e1c50f7f5774556d754f5014f80a4fdbd8064a05e19283108b55957896cfaf034669e82a068484ed57c349200ce3a2e4eae02a34400b8f885a86d2f7f982c76b SHA512 6677668326cd8fa238fb339c78474902d50d8acb16dc46e0fe1b562c1b762d981ab15ab806487b5eb5f85d47c8724248ebcb2b0ce706af12e8134db18b1c76b7 MISC metadata.xml 334 BLAKE2B e4daad1c0150025addcba294ef07c06e004c6d713e0d03a72b70a51bc44d6a4b0a86c9cd543af113c312f693d79c2985b679d6774a54370e9af9b0430de63f22 SHA512 f894ee487b6aff7d302bef231d72faba7ae9c0aa673974b306a4b74fe3b90dbc62c49b6bd829cc1b439a6d820ffe94db3a15ea2209250fc3b13c8b06297af27c diff --git a/sys-cluster/kubectl/kubectl-1.20.0.ebuild b/sys-cluster/kubectl/kubectl-1.20.0.ebuild new file mode 100644 index 000000000000..716d7d53396c --- /dev/null +++ b/sys-cluster/kubectl/kubectl-1.20.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module + +DESCRIPTION="CLI to run commands against Kubernetes clusters" +HOMEPAGE="https://kubernetes.io" +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +DEPEND="!sys-cluster/kubernetes" +BDEPEND=">=dev-lang/go-1.15" + +RESTRICT+=" test" +S="${WORKDIR}/kubernetes-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN} +} + +src_install() { + dobin _output/bin/${PN} + _output/bin/${PN} completion bash > ${PN}.bash || die + _output/bin/${PN} completion zsh > ${PN}.zsh || die + newbashcomp ${PN}.bash ${PN} + insinto /usr/share/zsh/site-functions + newins ${PN}.zsh _${PN} +} |