1 |
commit: 390a1848d8eb944bca1b47262c0b9aa6901a8953 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 28 14:55:24 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 28 14:55:24 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=390a1848 |
7 |
|
8 |
sys-cluster/kubectl: Version bump to 1.6.6 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
sys-cluster/kubectl/Manifest | 1 + |
13 |
sys-cluster/kubectl/kubectl-1.6.6.ebuild | 37 ++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest |
17 |
index 55dd163b01c..3031cac0523 100644 |
18 |
--- a/sys-cluster/kubectl/Manifest |
19 |
+++ b/sys-cluster/kubectl/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST kubernetes-1.6.4.tar.gz 21984028 SHA256 8042628d49fd8d2382ad487a08b89d68b72d3dbaf24c1cc7c452ae7c72e9c0b9 SHA512 86eb104ff3d822f362b1afce46063e8533c1c6d7ab981d2038d04636281d135b5edacce94a8200e3a57ec14f8906df90fb3dce82a44539b664015542c159e2a0 WHIRLPOOL d3fa467f2cc644985fd45f06e5a9a32b36a6136b6099c4fa9f9e9cd2e9eecb1d58f74cdf64ee5a4c73071ff3f8361e89b80b794e6cfe005a2c0d6b8def9d557d |
22 |
+DIST kubernetes-1.6.6.tar.gz 22000184 SHA256 13e9cd0753fd8227e1a8588af984005499bedb3916a594eab8d4e873387c464c SHA512 ecd069fc08b0e17a5f7df3f2daf8c14e784f364b89adbd357cb1007bcce81907085f05fd5f7b502e225ad2507b5002d52cf67bd55bed1275c719057e75ada558 WHIRLPOOL fb360828bb0f6f18573bcc236da087d335561133ac2bdf80eae44d7b9d21fa4be56f9620904af78167d31a3e94670184c35626c876fdac2e5cf5e0c8f8ea5030 |
23 |
|
24 |
diff --git a/sys-cluster/kubectl/kubectl-1.6.6.ebuild b/sys-cluster/kubectl/kubectl-1.6.6.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..4866ab70285 |
27 |
--- /dev/null |
28 |
+++ b/sys-cluster/kubectl/kubectl-1.6.6.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+inherit golang-build golang-vcs-snapshot |
35 |
+ |
36 |
+EGO_PN="k8s.io/kubernetes" |
37 |
+ARCHIVE_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz" |
38 |
+KEYWORDS="~amd64" |
39 |
+ |
40 |
+DESCRIPTION="CLI to run commands against Kubernetes clusters" |
41 |
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io" |
42 |
+SRC_URI="${ARCHIVE_URI}" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+IUSE="" |
47 |
+ |
48 |
+DEPEND="dev-go/go-bindata" |
49 |
+ |
50 |
+RESTRICT="test" |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ sed -i -e "/vendor\/github.com\/jteeuwen\/go-bindata\/go-bindata/d" src/${EGO_PN}/hack/lib/golang.sh || die |
55 |
+ sed -i -e "/export PATH/d" src/${EGO_PN}/hack/generate-bindata.sh || die |
56 |
+} |
57 |
+ |
58 |
+src_compile() { |
59 |
+ LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -j1 -C src/${EGO_PN} WHAT=cmd/${PN} |
60 |
+} |
61 |
+ |
62 |
+src_install() { |
63 |
+ pushd src/${EGO_PN} || die |
64 |
+ dobin _output/bin/${PN} |
65 |
+ popd || die |
66 |
+} |