Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/kubectl/
Date: Sat, 03 Oct 2020 18:29:10
Message-Id: 1601749706.397d9f9a57bc798cf0d577e9466758ba59f885b6.williamh@gentoo
1 commit: 397d9f9a57bc798cf0d577e9466758ba59f885b6
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 3 18:22:16 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 3 18:28:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=397d9f9a
7
8 sys-cluster/kubectl: 1.17.12 1.18.9 and 1.19.2 bump
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 sys-cluster/kubectl/Manifest | 3 +++
13 sys-cluster/kubectl/kubectl-1.17.12.ebuild | 34 ++++++++++++++++++++++++++++++
14 sys-cluster/kubectl/kubectl-1.18.9.ebuild | 34 ++++++++++++++++++++++++++++++
15 sys-cluster/kubectl/kubectl-1.19.2.ebuild | 32 ++++++++++++++++++++++++++++
16 4 files changed, 103 insertions(+)
17
18 diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
19 index f9ef447aa84..dad85b26c1b 100644
20 --- a/sys-cluster/kubectl/Manifest
21 +++ b/sys-cluster/kubectl/Manifest
22 @@ -1,2 +1,5 @@
23 +DIST kubernetes-1.17.12.tar.gz 31835673 BLAKE2B defba38b718f21d0521047bed703680ebb7e736343ffcdc52c441a005c8157197e8d7584476550ed8abc65f2d8cd583f623906daaa00d2e99783dda5ad3f2a57 SHA512 703bdb78e51dc6f7c5b05284dc2374ecef6b48f2a302f4fb5d04a4fce6e77a4ad05ec2a61915dafef07c3396f716a5e97157ca19e589acd7fba662dbb62e269e
24 DIST kubernetes-1.17.3.tar.gz 31762013 BLAKE2B 4470fadf2ec441ed7a5f3a82581af6a0f4d768780048576863b2aae9c13cff543592da73b979c7f9191a4c7c2b5a1ad10d85e0eba04fdcd08ece86884ab1f80d SHA512 09b33377de0bdd7dc8ac2ae81196d15eeb93862cb0aba1256bcfca38d2ce1f15951ad70cf67600fc3d16c1d449e0451707e756ec21ad812c6628ae1f0fdda427
25 DIST kubernetes-1.17.4.tar.gz 31777775 BLAKE2B cd04e429d3f524f5dce7948db9b22230df8abdeb7570001ab985ffdb5b85709a8d1698490b9df13455d8f3968741db9571ee1ab3bc2a6fdd06a8c0fe274476e2 SHA512 fd1944d26c840bc1d2f585fccbabf48091fe8820ea089b3ea5c18652fd1edb3c8157a70ea19111b8b62aef16e0284a1607b583c3c1af79dd0dd266b99e20c549
26 +DIST kubernetes-1.18.9.tar.gz 32626627 BLAKE2B 4150e2a4d5cca27adac795f7d9be19a7151f2ddd33888a5da1d2fa8fcf4ed4451c5b266faedf1556a1ddaba92c066bf57637ecc244b7e9014c76d163dc68dd54 SHA512 db950af5bc964ce98ad39f237dccb0f46c698b7e801a6d8b6f96b90c3ec9650ab8f4836a764baec4c8d1b4cbea1ed5e692623f3434cb4f6f9d2dba1df482baa6
27 +DIST kubernetes-1.19.2.tar.gz 33341808 BLAKE2B 814f43f90f248ad428e7c68995a44a9c69722b8215bab3ab9237b06dcee53297a3f57cb2cf68b9e3d246e49944f3246e7d8d3587ab0abff4b8e2fb72e42152c1 SHA512 7a4e0efdf0e262c662aa87bd77d226275761cb774cb77796846385b41937ce2d8d5e1f9fbae4804c7a0fbc6e558227661c453b2d5bd1b20a5c4913c31eae1519
28
29 diff --git a/sys-cluster/kubectl/kubectl-1.17.12.ebuild b/sys-cluster/kubectl/kubectl-1.17.12.ebuild
30 new file mode 100644
31 index 00000000000..6cd5067f539
32 --- /dev/null
33 +++ b/sys-cluster/kubectl/kubectl-1.17.12.ebuild
34 @@ -0,0 +1,34 @@
35 +# Copyright 1999-2020 Gentoo Authors
36 +# Distributed under the terms of the GNU General Public License v2
37 +
38 +EAPI=7
39 +inherit bash-completion-r1 go-module
40 +
41 +DESCRIPTION="CLI to run commands against Kubernetes clusters"
42 +HOMEPAGE="https://kubernetes.io"
43 +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
44 +
45 +LICENSE="Apache-2.0"
46 +SLOT="0"
47 +KEYWORDS="~amd64"
48 +IUSE="hardened"
49 +
50 +RDEPEND="!sys-cluster/kubernetes"
51 +BDEPEND="=dev-lang/go-1.14*"
52 +
53 +RESTRICT+=" test"
54 +S="${WORKDIR}/kubernetes-${PV}"
55 +
56 +src_compile() {
57 + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
58 + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
59 +}
60 +
61 +src_install() {
62 + dobin _output/bin/${PN}
63 + _output/bin/${PN} completion bash > ${PN}.bash || die
64 + _output/bin/${PN} completion zsh > ${PN}.zsh || die
65 + newbashcomp ${PN}.bash ${PN}
66 + insinto /usr/share/zsh/site-functions
67 + newins ${PN}.zsh _${PN}
68 +}
69
70 diff --git a/sys-cluster/kubectl/kubectl-1.18.9.ebuild b/sys-cluster/kubectl/kubectl-1.18.9.ebuild
71 new file mode 100644
72 index 00000000000..6cd5067f539
73 --- /dev/null
74 +++ b/sys-cluster/kubectl/kubectl-1.18.9.ebuild
75 @@ -0,0 +1,34 @@
76 +# Copyright 1999-2020 Gentoo Authors
77 +# Distributed under the terms of the GNU General Public License v2
78 +
79 +EAPI=7
80 +inherit bash-completion-r1 go-module
81 +
82 +DESCRIPTION="CLI to run commands against Kubernetes clusters"
83 +HOMEPAGE="https://kubernetes.io"
84 +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
85 +
86 +LICENSE="Apache-2.0"
87 +SLOT="0"
88 +KEYWORDS="~amd64"
89 +IUSE="hardened"
90 +
91 +RDEPEND="!sys-cluster/kubernetes"
92 +BDEPEND="=dev-lang/go-1.14*"
93 +
94 +RESTRICT+=" test"
95 +S="${WORKDIR}/kubernetes-${PV}"
96 +
97 +src_compile() {
98 + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
99 + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
100 +}
101 +
102 +src_install() {
103 + dobin _output/bin/${PN}
104 + _output/bin/${PN} completion bash > ${PN}.bash || die
105 + _output/bin/${PN} completion zsh > ${PN}.zsh || die
106 + newbashcomp ${PN}.bash ${PN}
107 + insinto /usr/share/zsh/site-functions
108 + newins ${PN}.zsh _${PN}
109 +}
110
111 diff --git a/sys-cluster/kubectl/kubectl-1.19.2.ebuild b/sys-cluster/kubectl/kubectl-1.19.2.ebuild
112 new file mode 100644
113 index 00000000000..3c9b5ec4141
114 --- /dev/null
115 +++ b/sys-cluster/kubectl/kubectl-1.19.2.ebuild
116 @@ -0,0 +1,32 @@
117 +# Copyright 2020 Gentoo Authors
118 +# Distributed under the terms of the GNU General Public License v2
119 +
120 +EAPI=7
121 +inherit bash-completion-r1 go-module
122 +
123 +DESCRIPTION="CLI to run commands against Kubernetes clusters"
124 +HOMEPAGE="https://kubernetes.io"
125 +SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
126 +
127 +LICENSE="Apache-2.0"
128 +SLOT="0"
129 +KEYWORDS="~amd64 ~arm64"
130 +IUSE="hardened"
131 +
132 +DEPEND="!sys-cluster/kubernetes"
133 +RESTRICT+=" test"
134 +S="${WORKDIR}/kubernetes-${PV}"
135 +
136 +src_compile() {
137 + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
138 + emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
139 +}
140 +
141 +src_install() {
142 + dobin _output/bin/${PN}
143 + _output/bin/${PN} completion bash > ${PN}.bash || die
144 + _output/bin/${PN} completion zsh > ${PN}.zsh || die
145 + newbashcomp ${PN}.bash ${PN}
146 + insinto /usr/share/zsh/site-functions
147 + newins ${PN}.zsh _${PN}
148 +}