diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2019-01-18 14:01:56 +0100 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2019-01-18 14:15:28 +0100 |
commit | e406872d5a9bee21379ecb71def4a2c4a7263b5b (patch) | |
tree | 6cb2e76b2c355d2d311d857989b9797b15848de6 /sys-cluster/minikube | |
parent | sys-apps/s390-tools: Drop old (diff) | |
download | gentoo-e406872d5a9bee21379ecb71def4a2c4a7263b5b.tar.gz gentoo-e406872d5a9bee21379ecb71def4a2c4a7263b5b.tar.bz2 gentoo-e406872d5a9bee21379ecb71def4a2c4a7263b5b.zip |
sys-cluster/minikube: Version bump to 0.33.0
Package-Manager: Portage-2.3.56, Repoman-2.3.12
Signed-off-by: Manuel Rüger <mrueg@gentoo.org>
Diffstat (limited to 'sys-cluster/minikube')
-rw-r--r-- | sys-cluster/minikube/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/minikube/minikube-0.33.0.ebuild | 50 |
2 files changed, 51 insertions, 0 deletions
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index ae9dad196ffd..e4d51e8f7f01 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1,3 +1,4 @@ DIST minikube-0.30.0.tar.gz 9180859 BLAKE2B cd6efd166e01ea14b7593530ac3b7448851c5666146b7f1fac06a2c931ae3781d522fb3be1970663db1dcc51b41ca5382048e4ce9d3c4d747cd8e0f5d29715ee SHA512 1c78caf2865c0ea200de9cc2f6fa0de7f9f8170e9c4927dc3190e6658d69a59cfb57b05e947c22d60d8990f62bc7b625f86b18a548981fbd6e2c73d69607683f DIST minikube-0.31.0.tar.gz 9213283 BLAKE2B 97440d26d724e54d265ee9c3602c2dc0cfd455d75616b4053d1ab8a04efbcbe93c74535577c3a881d665374dd753d629f16f90210c50066180e1fe2baaa733a0 SHA512 5f2d911deac1e51f82e27d174bf8be4dd1ceb5ce29aa45865077e0cf3524b8f62b2717e95a19d636e0c65d39748ef7522c9379a9d85839c7c97f4fe67d2f4a92 DIST minikube-0.32.0.tar.gz 9216759 BLAKE2B 0b823ea3e9d912d3caeb7fe4cb28390c718fcc77c509bf4fac9b8e318fc70ca8152795de28c56f1a117f42181b4e668f267a710c058003727f4e07a1be2ea0b4 SHA512 e760f92155accd27b5851e45931207222170027ac26e16285df0cb876fd6f49f51c5c258a159cb2595656f5a0f20115cb94f34e8368c344f2ecc39c863d6f67c +DIST minikube-0.33.0.tar.gz 9433237 BLAKE2B bf05d05d6323b3a4d656a7522fec464d01c1d02d69c6079dc520a6e9ca356a25c231cb661aaf037d2a20d2091ca1b030fc7e3609576644efe1413f620eee0ef3 SHA512 1204618591048878c9160f2b3d69f6cb6e6139a603071407b5539e9747a79eb73481cb515e7cb413d7925b981f69ced044eb8a0a7dd3aa3fee9042e75372b13e diff --git a/sys-cluster/minikube/minikube-0.33.0.ebuild b/sys-cluster/minikube/minikube-0.33.0.ebuild new file mode 100644 index 000000000000..dfa9435d5830 --- /dev/null +++ b/sys-cluster/minikube/minikube-0.33.0.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2019 Gentoo Authors +# 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 libvirt" + +DEPEND="dev-go/go-bindata + ${PYTHON_DEPS} + libvirt? ( app-emulation/libvirt[qemu] )" +RDEPEND=">=sys-cluster/kubectl-1.10.0" + +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="" GOFLAGS="-v" GOPATH="${WORKDIR}/${P}" emake -C src/${EGO_PN} $(usex libvirt "out/docker-machine-driver-kvm2" "") out/minikube-linux-amd64 +} + +src_install() { + pushd src/${EGO_PN} || die + newbin out/minikube-linux-amd64 minikube + use libvirt && dobin out/docker-machine-driver-kvm2 + dodoc -r docs CHANGELOG.md README.md + popd || die +} + +pkg_postinst() { + elog "You may want to install the following optional dependency:" + elog " app-emulation/virtualbox or app-emulation/virtualbox-bin" +} |