summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-04-12 11:52:59 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-04-12 11:52:59 +0200
commitb7e9b0b66e1ac0225d603540015eafc77096b1f8 (patch)
treec21b7d159293648c17659e191c84b3a567ac5a30 /sys-cluster
parentnet-libs/ignition-transport: remove old (diff)
downloadgentoo-b7e9b0b66e1ac0225d603540015eafc77096b1f8.tar.gz
gentoo-b7e9b0b66e1ac0225d603540015eafc77096b1f8.tar.bz2
gentoo-b7e9b0b66e1ac0225d603540015eafc77096b1f8.zip
sys-cluster/minikube: Version bump to 0.18.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/minikube/Manifest1
-rw-r--r--sys-cluster/minikube/minikube-0.18.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest
index 538982fce5dd..833286bd4cca 100644
--- a/sys-cluster/minikube/Manifest
+++ b/sys-cluster/minikube/Manifest
@@ -1,2 +1,3 @@
DIST minikube-0.16.0.tar.gz 16133596 SHA256 ea5034287eaccf6ae357a6679fb830fe28d14e2512f4008972e0404b248282ac SHA512 0e3aea16cef775b29a22544d15e760eeb5cc3cf91e96104fe1b1682e6cbe5bdcf30b7ebefc9456b31f768ec26d3e16f290921974e147a730d144a104dc052548 WHIRLPOOL 370e8ade300f6c34bdb6d697ed3c1e21de3ffed89d78597bc97c8fbccf000308f600a9f5982897805ee3ac27a11e77625fb9e29fd0f752f29f2faef2e72af320
DIST minikube-0.17.1.tar.gz 16303526 SHA256 eebc101452f3d97c82979caca9a6d352e36fc2f605124fd5adb3dc96ee6c8ba5 SHA512 670f4e24d48e24ff7815c2c1ee367d3b224f84b29de0a198aec0881f018b91f3f78ce5072cb160856b4b71071cc229e49e846d61ad9ceeb4f5e0e399f3f4a952 WHIRLPOOL 81726120c99f10298e41b2ecc7ace058804fdd36247f1e6e4f88c69a2e44ff195351f86aa2ba37eb92067fa1a264ec86e33f253928f0d184122e2a338045aa8a
+DIST minikube-0.18.0.tar.gz 16528540 SHA256 9852627033582fcf6f23ae99604f26130e65cee0396a04bfe71c8439d645acf5 SHA512 10eae27b29aa037009fa59efbe4970029b7007303dd3b3ef9f0a3fc0872dc4a01133706513094349e8df700c445a38f6008aa3167c6d51c38617c5d66a7f162d WHIRLPOOL 6d7b1d77a13634795c19c0b95e3db7be11b90c81ff07bee73576bfcaa842bdf3f13fba1dfaa415c13db48410ed08f03bd7cbb16152ce7a6e3af7f957b7dc3f96
diff --git a/sys-cluster/minikube/minikube-0.18.0.ebuild b/sys-cluster/minikube/minikube-0.18.0.ebuild
new file mode 100644
index 000000000000..6221d6e9250f
--- /dev/null
+++ b/sys-cluster/minikube/minikube-0.18.0.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} )
+
+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.5.3"
+
+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 CHANGELOG.md DRIVERS.md README.md ROADMAP.md
+ popd || die
+}