1 |
commit: 698ceac1339edf6560c1343c5a5c653687217cd8 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 28 14:26:07 2019 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 28 14:26:51 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=698ceac1 |
7 |
|
8 |
sys-cluster/kubeadm: Version bump to 1.14.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> |
12 |
|
13 |
sys-cluster/kubeadm/Manifest | 1 + |
14 |
sys-cluster/kubeadm/kubeadm-1.14.0.ebuild | 47 +++++++++++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest |
18 |
index 7d3db3e831b..d2723c1a357 100644 |
19 |
--- a/sys-cluster/kubeadm/Manifest |
20 |
+++ b/sys-cluster/kubeadm/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST kubernetes-1.13.4.tar.gz 28793464 BLAKE2B 0a637bf1003e4fd6ebabe09ebc0f3ca54e0258e7efb1578be727d5019c1f44638358462acccafa91bed2320d6392c54416079bb54bed12977739092965aeaeb5 SHA512 aa07877bc141ceedab56d9dd65920d86121724a0d20b86ee4925c88d805df8235162f235a957d24c053a60869ab2084062a1607f43c8eeea736fd72eb328c800 |
23 |
DIST kubernetes-1.13.5.tar.gz 28804719 BLAKE2B 9ca1f24a26f5917c085fad65c3ed1cb4cc0f5556f6245b8e87aee5244e96ed6beede646f8b95b118d79ac715e988111f7fd2ddfb4c478af7a9bfe19c4dd227be SHA512 aced7b8dae452c62f4751785ad106c3747054ccb075b3d04dd82bd816d74f4002844e3cfa7aee138c9661e5c30a9aa9743f10a0dd807bbd590fffb60ce72f617 |
24 |
+DIST kubernetes-1.14.0.tar.gz 27797992 BLAKE2B e219717c866b0aba190ee13a480fb41a02335a629ecb655f826ae320456c60f71c1c3aaefadec45a5fb9cd4336871734eda964d062c456ca7eed556540d649b4 SHA512 dc748e4d9790e4ff17e765355b351a4fcec7a2bb5b87413bc4e36525c35fecc7d16add6111ac5ba787c311e2466c87bb76ca86105b7da9e056b66af81a700822 |
25 |
|
26 |
diff --git a/sys-cluster/kubeadm/kubeadm-1.14.0.ebuild b/sys-cluster/kubeadm/kubeadm-1.14.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..6c4b699b759 |
29 |
--- /dev/null |
30 |
+++ b/sys-cluster/kubeadm/kubeadm-1.14.0.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2019 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+inherit golang-build golang-vcs-snapshot bash-completion-r1 |
37 |
+ |
38 |
+EGO_PN="k8s.io/kubernetes" |
39 |
+ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" |
40 |
+KEYWORDS="~amd64" |
41 |
+ |
42 |
+DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster" |
43 |
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io" |
44 |
+SRC_URI="${ARCHIVE_URI}" |
45 |
+ |
46 |
+LICENSE="Apache-2.0" |
47 |
+SLOT="0" |
48 |
+IUSE="" |
49 |
+ |
50 |
+DEPEND=">=dev-lang/go-1.11 |
51 |
+ dev-go/go-bindata" |
52 |
+ |
53 |
+RESTRICT="test" |
54 |
+ |
55 |
+src_prepare() { |
56 |
+ default |
57 |
+ 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 |
58 |
+ sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die |
59 |
+} |
60 |
+ |
61 |
+src_compile() { |
62 |
+ LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} GOFLAGS=-v |
63 |
+ pushd src/${EGO_PN} || die |
64 |
+ _output/bin/${PN} completion bash > ${PN}.bash || die |
65 |
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die |
66 |
+ popd || die |
67 |
+} |
68 |
+ |
69 |
+src_install() { |
70 |
+ pushd src/${EGO_PN} || die |
71 |
+ dobin _output/bin/${PN} |
72 |
+ |
73 |
+ newbashcomp ${PN}.bash ${PN} |
74 |
+ insinto /usr/share/zsh/site-functions |
75 |
+ newins ${PN}.zsh _${PN} |
76 |
+ |
77 |
+ popd || die |
78 |
+} |