commit: 94066e027c3bd7ab07bf789c0727559e9d89c7cf Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Sat Apr 21 23:31:34 2018 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Sat Apr 21 23:31:34 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94066e02
sys-cluster/minikube: Version bump to 0.26.1 Package-Manager: Portage-2.3.31, Repoman-2.3.9 sys-cluster/minikube/Manifest | 1 + sys-cluster/minikube/minikube-0.26.1.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index b68d28d950e..c590de8803a 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/sys-cluster/minikube/minikube-0.26.1.ebuild b/sys-cluster/minikube/minikube-0.26.1.ebuild new file mode 100644 index 00000000000..3f64627d649 --- /dev/null +++ b/sys-cluster/minikube/minikube-0.26.1.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 +}