1 |
commit: ea5d63be68f79e5b8c94719f838281a0f2b04283 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 28 16:11:12 2018 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 28 16:11:12 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea5d63be |
7 |
|
8 |
sys-cluster/minikube: Version bump to 0.30.0 |
9 |
|
10 |
Signed-off-by: Manuel Rüger <mrueg <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.51, Repoman-2.3.11 |
12 |
|
13 |
sys-cluster/minikube/Manifest | 1 + |
14 |
sys-cluster/minikube/minikube-0.30.0.ebuild | 50 +++++++++++++++++++++++++++++ |
15 |
2 files changed, 51 insertions(+) |
16 |
|
17 |
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest |
18 |
index 55405750d92..98c24243f1f 100644 |
19 |
--- a/sys-cluster/minikube/Manifest |
20 |
+++ b/sys-cluster/minikube/Manifest |
21 |
@@ -2,3 +2,4 @@ DIST minikube-0.28.0.tar.gz 20350636 BLAKE2B 002bf7a45483a724d9ebc4f2fa3bad5b945 |
22 |
DIST minikube-0.28.1.tar.gz 20075323 BLAKE2B 47444de4c2245d13108b5f98544f5127565ab40178f0bfdda35f710d594b36f8d98dbde8157361172a3486411f7ce32689e87d6b126ba29d21c9061dd0b22fa9 SHA512 80591777cc419ac9dc3b27d444a5d8aa04f2482bd3c47edfbb6b8a74b3552610125dfc5244bbd2659ea46600ed17577e90bcf98e0806d12932dd88c46fd0283a |
23 |
DIST minikube-0.28.2.tar.gz 20077130 BLAKE2B 0d8047debc0ce633fe6696d760e838d5ade80128d319e66b19c6f34e34ff95a401102c5c177a4e9de9f2a46f9dbf97de675137881f84849002814f94f14d40d7 SHA512 ee2a08a7b6fa4d18c4c04fc51ac17eb0b8bc8e092c489db53bf2734c45afac919735d046a07a7b8af6a8ef41c97fcb87124409081751da9134cfe032ca86aacb |
24 |
DIST minikube-0.29.0.tar.gz 9176207 BLAKE2B 54099d2d42f9cd155748ed0d476659214b3ca0edb5a9ee39c7ff0468175596dcbb3d729b6e19099a339300b0611aa6956c929e591d855c0fd0b00d41dae3af95 SHA512 9a897012333a325c4880e55d69fb71d3537d10a15e3c7214da0232f23fd07128dd788f04c15ce622ef7669034ff06214b72e2fd1713a76f9d8faf43641061955 |
25 |
+DIST minikube-0.30.0.tar.gz 9180859 BLAKE2B cd6efd166e01ea14b7593530ac3b7448851c5666146b7f1fac06a2c931ae3781d522fb3be1970663db1dcc51b41ca5382048e4ce9d3c4d747cd8e0f5d29715ee SHA512 1c78caf2865c0ea200de9cc2f6fa0de7f9f8170e9c4927dc3190e6658d69a59cfb57b05e947c22d60d8990f62bc7b625f86b18a548981fbd6e2c73d69607683f |
26 |
|
27 |
diff --git a/sys-cluster/minikube/minikube-0.30.0.ebuild b/sys-cluster/minikube/minikube-0.30.0.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..4a324bff4ad |
30 |
--- /dev/null |
31 |
+++ b/sys-cluster/minikube/minikube-0.30.0.ebuild |
32 |
@@ -0,0 +1,50 @@ |
33 |
+# Copyright 1999-2018 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) |
38 |
+ |
39 |
+inherit python-any-r1 golang-build golang-vcs-snapshot |
40 |
+ |
41 |
+EGO_PN="k8s.io/minikube" |
42 |
+ARCHIVE_URI="https://github.com/kubernetes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+KEYWORDS="~amd64" |
44 |
+ |
45 |
+DESCRIPTION="Single Node Kubernetes Cluster" |
46 |
+HOMEPAGE="https://github.com/kubernetes/minikube https://kubernetes.io" |
47 |
+SRC_URI="${ARCHIVE_URI}" |
48 |
+ |
49 |
+LICENSE="Apache-2.0" |
50 |
+SLOT="0" |
51 |
+IUSE="hardened libvirt" |
52 |
+ |
53 |
+DEPEND="dev-go/go-bindata |
54 |
+ ${PYTHON_DEPS} |
55 |
+ libvirt? ( app-emulation/libvirt[qemu] )" |
56 |
+RDEPEND=">=sys-cluster/kubectl-1.10.0" |
57 |
+ |
58 |
+RESTRICT="test" |
59 |
+ |
60 |
+src_prepare() { |
61 |
+ default |
62 |
+ sed -i -e 's/ -s -w/ -w/' -e 's#.*GOBIN=$(GOPATH)/bin go get github.com/jteeuwen/go-bindata/...##' -e 's#$(GOPATH)/bin/go-bindata#/usr/bin/go-bindata#g' src/${EGO_PN}/Makefile || die |
63 |
+ sed -i -e "s/get_commit(), get_tree_state(), get_version()/get_commit(), 'gitTreeState=clean', get_version()/" src/${EGO_PN}/hack/get_k8s_version.py || die |
64 |
+} |
65 |
+ |
66 |
+src_compile() { |
67 |
+ export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" |
68 |
+ LDFLAGS="" GOFLAGS="-v" GOPATH="${WORKDIR}/${P}" emake -C src/${EGO_PN} $(usex libvirt "out/docker-machine-driver-kvm2" "") out/minikube-linux-amd64 |
69 |
+} |
70 |
+ |
71 |
+src_install() { |
72 |
+ pushd src/${EGO_PN} || die |
73 |
+ newbin out/minikube-linux-amd64 minikube |
74 |
+ use libvirt && dobin out/docker-machine-driver-kvm2 |
75 |
+ dodoc -r docs CHANGELOG.md README.md |
76 |
+ popd || die |
77 |
+} |
78 |
+ |
79 |
+pkg_postinst() { |
80 |
+ elog "You may want to install the following optional dependency:" |
81 |
+ elog " app-emulation/virtualbox or app-emulation/virtualbox-bin" |
82 |
+} |