From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9CA79139694 for ; Tue, 1 Aug 2017 12:38:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1089C1FC03E; Tue, 1 Aug 2017 12:38:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D92CC1FC03E for ; Tue, 1 Aug 2017 12:38:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ECD283417F3 for ; Tue, 1 Aug 2017 12:38:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B48377561 for ; Tue, 1 Aug 2017 12:38:03 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1501591033.8f80c928096ef9187f7c4f180fee0848850dddef.mrueg@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/minikube/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/minikube/Manifest sys-cluster/minikube/minikube-0.21.0.ebuild X-VCS-Directories: sys-cluster/minikube/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 8f80c928096ef9187f7c4f180fee0848850dddef X-VCS-Branch: master Date: Tue, 1 Aug 2017 12:38:03 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: d1b8fa49-6ade-4706-998f-925f2807497f X-Archives-Hash: 8930b2a304ac5d2009b9cd756e36ce04 commit: 8f80c928096ef9187f7c4f180fee0848850dddef Author: Manuel Rüger gentoo org> AuthorDate: Tue Aug 1 12:37:13 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Aug 1 12:37:13 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f80c928 sys-cluster/minikube: Version bump to 0.21.0 Package-Manager: Portage-2.3.6, Repoman-2.3.2 sys-cluster/minikube/Manifest | 1 + sys-cluster/minikube/minikube-0.21.0.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index 1eb1d1c63c3..2a49035d9b7 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1,2 +1,3 @@ DIST minikube-0.19.1.tar.gz 16578098 SHA256 5b5c0076620ed29e7a9d446537873248a72cb117f544024082e3b089bb47d38a SHA512 00cf342a628e6b67ab579a71f86af2113cbe6cb0f0759616894a5107b1bf2610a7564924fa6f531d9a68ee126bd3132f612d811f84a15579a3bdedcf783a7d91 WHIRLPOOL ce7f5763ca53f58ce7e8d9665d131b5132857bd91de1dca8c44b04c6212eeac497fe54b4ecf2af321ab3d21aac56d2d7a6ca4964ed26a9667eb01f5eb33fb532 DIST minikube-0.20.0.tar.gz 16581668 SHA256 91a52aa995c5104c0ce39563082421f99e214cb7a47453c150c7e2c4dfc74231 SHA512 2b20f2f6109652144db92299541627637032f2882886e590065248cf35f77632fb7fcb157258b2306b871bfd072b00341c0f82b941264f1c7f87bea6029b118f WHIRLPOOL e1b6a023025705522a91abf496d0b65ec36a1181160579b80a8a73d0f1f1d00361e60a1ce0e7bca3953580f901da7da444df92da2d3da6fd79a0ab50eaf17b6a +DIST minikube-0.21.0.tar.gz 18113021 SHA256 bcdd0d20d5912ea3c4c90c5d599b18a67ceb79cceb7147ef7e49f9288b4aa5c4 SHA512 00af0f15fdb3135bfdcff8b72b9db9f5288258a19f74c8b2d558e7512dcb64579c5762ffd5ba06e812e37a543c3d74750550cf6812752aa59cfb84316772c734 WHIRLPOOL 49cd2c359186b4ce4d9f8cd2f2cb95904b1f9af5b7b4b5afd6de9b025bcf9cad80b7500006132f38f529374daa55ee6b711d4d26ce22e35fbf9c688c565c3853 diff --git a/sys-cluster/minikube/minikube-0.21.0.ebuild b/sys-cluster/minikube/minikube-0.21.0.ebuild new file mode 100644 index 00000000000..b24b29e4e2a --- /dev/null +++ b/sys-cluster/minikube/minikube-0.21.0.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.0" + +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 +}