diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2017-09-14 15:14:29 +0200 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2017-09-14 15:14:29 +0200 |
commit | 53ea3230b84c526d4f25a95081c8b8f5cff236e8 (patch) | |
tree | 3f73c21f4b6c23fcd4f77b0badfb8050d04addd4 /sys-cluster | |
parent | www-servers/caddy: Version bump to 0.22.1 (diff) | |
download | gentoo-53ea3230b84c526d4f25a95081c8b8f5cff236e8.tar.gz gentoo-53ea3230b84c526d4f25a95081c8b8f5cff236e8.tar.bz2 gentoo-53ea3230b84c526d4f25a95081c8b8f5cff236e8.zip |
sys-cluster/minikube: Version bump to 0.22.1
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/minikube/Manifest | 1 | ||||
-rw-r--r-- | sys-cluster/minikube/minikube-0.22.1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index 46075cc07f44..c04316f1ff65 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1,2 +1,3 @@ DIST minikube-0.21.0.tar.gz 18113021 SHA256 bcdd0d20d5912ea3c4c90c5d599b18a67ceb79cceb7147ef7e49f9288b4aa5c4 SHA512 00af0f15fdb3135bfdcff8b72b9db9f5288258a19f74c8b2d558e7512dcb64579c5762ffd5ba06e812e37a543c3d74750550cf6812752aa59cfb84316772c734 WHIRLPOOL 49cd2c359186b4ce4d9f8cd2f2cb95904b1f9af5b7b4b5afd6de9b025bcf9cad80b7500006132f38f529374daa55ee6b711d4d26ce22e35fbf9c688c565c3853 DIST minikube-0.22.0.tar.gz 18658799 SHA256 c2864f8c19e81a40dcaf519d0101e1313b235bbac4be09fd03dc7cbb0cfcd211 SHA512 50522a4779b5c6b855eaeaaa92c2b94ce86fd8e6fbbbab8c53b1c81db6bd714e354457241a29fe39bb3b1e87c3978fdbdcfb08897b97c3dca5bcadf8e0ab38e5 WHIRLPOOL 21df379388f3787d9a95266fc3cb3f843492d3f9900129ff510272e722b62305fb198fd3c2d6ee78ba77f727e3b9570bece99bfd3d2e41573b9c25c976c864a9 +DIST minikube-0.22.1.tar.gz 18661340 SHA256 7ccbf0bb3beb087add316970f2e84cf2c204c1d1c4cb1fb64ab13918063c456d SHA512 5bef5c86cc849fa3957aff62b84f3e14a7f2dd9264223f4cb7a45555cf82c64014ea6082e13091f02d27d2a25c867e4bfd08681c70074c0d519061c737f76c05 WHIRLPOOL 7296474a87d7020f9ea31f3db642d4e6785afa746dde17e6d4236599811368da5fc6a078577f81602051ba5826969001f64419b154641e9257203581d3ee7f9a diff --git a/sys-cluster/minikube/minikube-0.22.1.ebuild b/sys-cluster/minikube/minikube-0.22.1.ebuild new file mode 100644 index 000000000000..8c02d30d318b --- /dev/null +++ b/sys-cluster/minikube/minikube-0.22.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 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.7.5" + +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 out/localkube + dodoc -r docs CHANGELOG.md README.md + popd || die +} |