1 |
commit: 8f80c928096ef9187f7c4f180fee0848850dddef |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 1 12:37:13 2017 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 1 12:37:13 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f80c928 |
7 |
|
8 |
sys-cluster/minikube: Version bump to 0.21.0 |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
sys-cluster/minikube/Manifest | 1 + |
13 |
sys-cluster/minikube/minikube-0.21.0.ebuild | 43 +++++++++++++++++++++++++++++ |
14 |
2 files changed, 44 insertions(+) |
15 |
|
16 |
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest |
17 |
index 1eb1d1c63c3..2a49035d9b7 100644 |
18 |
--- a/sys-cluster/minikube/Manifest |
19 |
+++ b/sys-cluster/minikube/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST minikube-0.19.1.tar.gz 16578098 SHA256 5b5c0076620ed29e7a9d446537873248a72cb117f544024082e3b089bb47d38a SHA512 00cf342a628e6b67ab579a71f86af2113cbe6cb0f0759616894a5107b1bf2610a7564924fa6f531d9a68ee126bd3132f612d811f84a15579a3bdedcf783a7d91 WHIRLPOOL ce7f5763ca53f58ce7e8d9665d131b5132857bd91de1dca8c44b04c6212eeac497fe54b4ecf2af321ab3d21aac56d2d7a6ca4964ed26a9667eb01f5eb33fb532 |
22 |
DIST minikube-0.20.0.tar.gz 16581668 SHA256 91a52aa995c5104c0ce39563082421f99e214cb7a47453c150c7e2c4dfc74231 SHA512 2b20f2f6109652144db92299541627637032f2882886e590065248cf35f77632fb7fcb157258b2306b871bfd072b00341c0f82b941264f1c7f87bea6029b118f WHIRLPOOL e1b6a023025705522a91abf496d0b65ec36a1181160579b80a8a73d0f1f1d00361e60a1ce0e7bca3953580f901da7da444df92da2d3da6fd79a0ab50eaf17b6a |
23 |
+DIST minikube-0.21.0.tar.gz 18113021 SHA256 bcdd0d20d5912ea3c4c90c5d599b18a67ceb79cceb7147ef7e49f9288b4aa5c4 SHA512 00af0f15fdb3135bfdcff8b72b9db9f5288258a19f74c8b2d558e7512dcb64579c5762ffd5ba06e812e37a543c3d74750550cf6812752aa59cfb84316772c734 WHIRLPOOL 49cd2c359186b4ce4d9f8cd2f2cb95904b1f9af5b7b4b5afd6de9b025bcf9cad80b7500006132f38f529374daa55ee6b711d4d26ce22e35fbf9c688c565c3853 |
24 |
|
25 |
diff --git a/sys-cluster/minikube/minikube-0.21.0.ebuild b/sys-cluster/minikube/minikube-0.21.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..b24b29e4e2a |
28 |
--- /dev/null |
29 |
+++ b/sys-cluster/minikube/minikube-0.21.0.ebuild |
30 |
@@ -0,0 +1,43 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
36 |
+ |
37 |
+inherit python-any-r1 golang-build golang-vcs-snapshot |
38 |
+ |
39 |
+EGO_PN="k8s.io/minikube" |
40 |
+ARCHIVE_URI="https://github.com/kubernetes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+KEYWORDS="~amd64" |
42 |
+ |
43 |
+DESCRIPTION="Single Node Kubernetes Cluster" |
44 |
+HOMEPAGE="https://github.com/kubernetes/minikube https://kubernetes.io" |
45 |
+SRC_URI="${ARCHIVE_URI}" |
46 |
+ |
47 |
+LICENSE="Apache-2.0" |
48 |
+SLOT="0" |
49 |
+IUSE="hardened" |
50 |
+ |
51 |
+DEPEND="dev-go/go-bindata |
52 |
+ ${PYTHON_DEPS}" |
53 |
+RDEPEND=">=sys-cluster/kubectl-1.7.0" |
54 |
+ |
55 |
+RESTRICT="test" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default |
59 |
+ sed -i -e 's/ -s -w/ -w/' -e 's#$(GOPATH)/bin/go-bindata#go-bindata#' -e 's#GOBIN=$(GOPATH)/bin go get github.com/jteeuwen/go-bindata/...##' src/${EGO_PN}/Makefile || die |
60 |
+ sed -i -e "s/get_rev(), get_version(), get_tree_state()/get_rev(), get_version(), 'gitTreeState=clean'/" src/${EGO_PN}/hack/get_k8s_version.py || die |
61 |
+} |
62 |
+ |
63 |
+src_compile() { |
64 |
+ export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" |
65 |
+ LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -C src/${EGO_PN} |
66 |
+} |
67 |
+ |
68 |
+src_install() { |
69 |
+ pushd src/${EGO_PN} || die |
70 |
+ dobin out/minikube out/localkube |
71 |
+ dodoc -r docs CHANGELOG.md README.md |
72 |
+ popd || die |
73 |
+} |