commit:     2dc97085cd3df7a317d09c7434d3511972f5191e
Author:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 19 18:06:44 2017 +0000
Commit:     Manuel Rüger <mrueg <AT> gentoo <DOT> org>
CommitDate: Tue Sep 19 18:06:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dc97085

sys-cluster/minikube: Version bump to 0.22.2

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sys-cluster/minikube/Manifest               |  1 +
 sys-cluster/minikube/minikube-0.22.2.ebuild | 43 +++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest
index 29503f84009..c680cacd851 100644
--- a/sys-cluster/minikube/Manifest
+++ b/sys-cluster/minikube/Manifest
@@ -1 +1,2 @@
 DIST minikube-0.22.1.tar.gz 18661340 SHA256 
7ccbf0bb3beb087add316970f2e84cf2c204c1d1c4cb1fb64ab13918063c456d SHA512 
5bef5c86cc849fa3957aff62b84f3e14a7f2dd9264223f4cb7a45555cf82c64014ea6082e13091f02d27d2a25c867e4bfd08681c70074c0d519061c737f76c05
 WHIRLPOOL 
7296474a87d7020f9ea31f3db642d4e6785afa746dde17e6d4236599811368da5fc6a078577f81602051ba5826969001f64419b154641e9257203581d3ee7f9a
+DIST minikube-0.22.2.tar.gz 18664692 SHA256 
56f1c6d49188c85ad4cc3ebe7c6fa0f6da86e6d7166a5f49dfe36079994f22f2 SHA512 
b0222ad235597e606bf7ce034ca5c49636676498ab4f7563c5ffb8982c75d9493cb64d97de9edeb18082270a655bf303d16f393d9444a34e168251f930ea811a
 WHIRLPOOL 
3662f74402a72a6e7ac1fbee36ce52805b96c0bf4f5b92132ee20c28e064c2cdfb1cecf9b471df3f903d27b9b2095a1dbc77b2b4626c34fd6f5b1619c5151afd

diff --git a/sys-cluster/minikube/minikube-0.22.2.ebuild 
b/sys-cluster/minikube/minikube-0.22.2.ebuild
new file mode 100644
index 00000000000..8c02d30d318
--- /dev/null
+++ b/sys-cluster/minikube/minikube-0.22.2.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit python-any-r1 golang-build golang-vcs-snapshot
+
+EGO_PN="k8s.io/minikube"
+ARCHIVE_URI="https://github.com/kubernetes/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64"
+
+DESCRIPTION="Single Node Kubernetes Cluster"
+HOMEPAGE="https://github.com/kubernetes/minikube https://kubernetes.io";
+SRC_URI="${ARCHIVE_URI}"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="hardened"
+
+DEPEND="dev-go/go-bindata
+       ${PYTHON_DEPS}"
+RDEPEND=">=sys-cluster/kubectl-1.7.5"
+
+RESTRICT="test"
+
+src_prepare() {
+       default
+       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
+       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
+}
+
+src_compile() {
+       export CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')"
+       LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -C src/${EGO_PN}
+}
+
+src_install() {
+       pushd src/${EGO_PN} || die
+       dobin out/minikube out/localkube
+       dodoc -r docs CHANGELOG.md README.md
+       popd || die
+}

Reply via email to