diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2018-04-11 16:04:49 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2018-04-11 16:04:49 +0200 |
commit | 33661e904275befb8fe4a0cba9005c3a68c03fe3 (patch) | |
tree | 5e105381b698875d7e449f459cf316f1439ddd51 /sys-cluster | |
parent | package.use.mask: Masked "ldap" USE flag for >=openssh-7.7_p1 (diff) | |
download | gentoo-33661e904275befb8fe4a0cba9005c3a68c03fe3.tar.gz gentoo-33661e904275befb8fe4a0cba9005c3a68c03fe3.tar.bz2 gentoo-33661e904275befb8fe4a0cba9005c3a68c03fe3.zip |
sys-cluster/minikube: Version bump to 0.26.0
Package-Manager: Portage-2.3.28, Repoman-2.3.9
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/minikube/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/minikube/minikube-0.26.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index 31d4f49dc7a2..b68d28d950e9 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1 +1,2 @@ DIST minikube-0.25.2.tar.gz 19765563 BLAKE2B 6830cb402ed29e7a976b2bbe418fe41051b295414d38b88a4d35e7352923b96aacd5f4d80458e53c3ae752d3e53b86e0b8a823c317271e4efd201db27eafb029 SHA512 505dea2ddee96ddd476429f05bcf889c99f60a38fee21b4724f528253037ae268ebac2830c38d331f14f47a689afc2dec2d6815983dd0aee4c5bb7ff58f67f9d +DIST minikube-0.26.0.tar.gz 20345503 BLAKE2B ecec80c44c9192a498f80d70a4f955f8409e9fefcc169ac29f212c78cc21a17da0d467c1a44f634b4573b6b968f122face1a651dc4306d787e6919cfa323182c SHA512 f608aa120503afd7060bebe0572f29b03e49404c7b46ff57fd9352163e686182696f78681d309da24d45648edcfba6b6c5c6cc14d5237af2c9206a40d538ed76 diff --git a/sys-cluster/minikube/minikube-0.26.0.ebuild b/sys-cluster/minikube/minikube-0.26.0.ebuild new file mode 100644 index 000000000000..3f64627d6490 --- /dev/null +++ b/sys-cluster/minikube/minikube-0.26.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 +} |