summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-01-27 19:27:54 +0100
committerManuel Rüger <mrueg@gentoo.org>2018-01-27 19:27:54 +0100
commit78666a9bd1145c941418b297e7cfa33341c60bb5 (patch)
tree594ca1b096771b1b6637a619b5ef6be40cc42836 /sys-cluster
parentnet-misc/netkit-rusers: remove last rited package (diff)
downloadgentoo-78666a9bd1145c941418b297e7cfa33341c60bb5.tar.gz
gentoo-78666a9bd1145c941418b297e7cfa33341c60bb5.tar.bz2
gentoo-78666a9bd1145c941418b297e7cfa33341c60bb5.zip
sys-cluster/minikube: Version bump to 0.25.0
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/minikube/Manifest1
-rw-r--r--sys-cluster/minikube/minikube-0.25.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest
index b7d4b118ecb0..ddae3596727a 100644
--- a/sys-cluster/minikube/Manifest
+++ b/sys-cluster/minikube/Manifest
@@ -1 +1,2 @@
DIST minikube-0.24.1.tar.gz 19029537 BLAKE2B 09e179297e3b1b4691d6e865be3e8a989b695fd46badbb488fbaaf33c4fabec8daafcdf7e0b28e140f4648e0109a98cc8744e932c69337102508c28dcbe30e05 SHA512 5f9bf0a7898ff2a074d35885a1ec55f7d23b45751ccf5532616c21eca1adee84fdedbd3971b673628d09a34659296a84fd78655b983411038a6b7e22ab608116
+DIST minikube-0.25.0.tar.gz 19657702 BLAKE2B 5b396f2720300e56096f62956d429ff33999b956f80857131b3c89e33f11917a461d11982531744acc31bf62b7f365ca6e909fd50336f1440acff1889e374815 SHA512 43cd2be9b48cf44ade46936157e2654a81a773a055aaa4239c232e42ee769d9e165b02c43d8dce6a09396c30e46ec811f08ed0fb9a2c81f13db76e13ab03ef54
diff --git a/sys-cluster/minikube/minikube-0.25.0.ebuild b/sys-cluster/minikube/minikube-0.25.0.ebuild
new file mode 100644
index 000000000000..44e50547202d
--- /dev/null
+++ b/sys-cluster/minikube/minikube-0.25.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2018 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.9.0"
+
+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
+ dodoc -r docs CHANGELOG.md README.md
+ popd || die
+}