summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2018-05-17 17:17:26 +0200
committerManuel Rüger <mrueg@gentoo.org>2018-05-17 17:17:26 +0200
commitf53c2afaa9032334daec7160d06504591c37efae (patch)
treeee1d250062cc1598f867c4944290ca03a5bff2a2 /sys-cluster
parentdev-libs/openssl: Revbump to re-add Fedora Hobbled-EC for 1.0 (diff)
downloadgentoo-f53c2afaa9032334daec7160d06504591c37efae.tar.gz
gentoo-f53c2afaa9032334daec7160d06504591c37efae.tar.bz2
gentoo-f53c2afaa9032334daec7160d06504591c37efae.zip
sys-cluster/minikube: Version bump to 0.27.0
Package-Manager: Portage-2.3.36, Repoman-2.3.9
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/minikube/Manifest1
-rw-r--r--sys-cluster/minikube/minikube-0.27.0.ebuild43
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest
index c590de8803ad..f3f798cfd8cb 100644
--- a/sys-cluster/minikube/Manifest
+++ b/sys-cluster/minikube/Manifest
@@ -1,3 +1,4 @@
DIST minikube-0.25.2.tar.gz 19765563 BLAKE2B 6830cb402ed29e7a976b2bbe418fe41051b295414d38b88a4d35e7352923b96aacd5f4d80458e53c3ae752d3e53b86e0b8a823c317271e4efd201db27eafb029 SHA512 505dea2ddee96ddd476429f05bcf889c99f60a38fee21b4724f528253037ae268ebac2830c38d331f14f47a689afc2dec2d6815983dd0aee4c5bb7ff58f67f9d
DIST minikube-0.26.0.tar.gz 20345503 BLAKE2B ecec80c44c9192a498f80d70a4f955f8409e9fefcc169ac29f212c78cc21a17da0d467c1a44f634b4573b6b968f122face1a651dc4306d787e6919cfa323182c SHA512 f608aa120503afd7060bebe0572f29b03e49404c7b46ff57fd9352163e686182696f78681d309da24d45648edcfba6b6c5c6cc14d5237af2c9206a40d538ed76
DIST minikube-0.26.1.tar.gz 20349450 BLAKE2B 18c2cab52b2cb6f4361a9f8fbb1416370eb9f4f3b1bc8e65f76e08cfe685fa55c3c41b421080a94250c81b315aa72be4c8340f6d2623b0335b67ec66a3931cd8 SHA512 9e68609c8fc5ff98be06952529f8c1a34180b71017c8f8680233e34985a3a22e1083cbd6576d8d2152488509a45c97e17fff7c0689c01467e92ef6f26c679a14
+DIST minikube-0.27.0.tar.gz 20349013 BLAKE2B 2467917776b14644d47c75a72719291ba573ff797fb305169d14e5a1d9c3a1df176cc672d22698db9f14a748fdba5224e74701de8e9f91a7ca45dfc45a9e2977 SHA512 77553c9259648d59b0bcaaab44f0cbfc0d4c2ebbcd2dcdd50a4a1e1102743ffea8288a93d9165ae9e38724339124b08e0e9ae04e7ddc415f0548ec81cfced418
diff --git a/sys-cluster/minikube/minikube-0.27.0.ebuild b/sys-cluster/minikube/minikube-0.27.0.ebuild
new file mode 100644
index 000000000000..3f64627d6490
--- /dev/null
+++ b/sys-cluster/minikube/minikube-0.27.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.4"
+
+RESTRICT="test"
+
+src_prepare() {
+ default
+ 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
+ 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
+}
+
+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
+}