From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-971584-garchives=archives.gentoo.org@lists.gentoo.org> 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 A867A1396D0 for <garchives@archives.gentoo.org>; Fri, 8 Sep 2017 21:42:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08CF31FC06C; Fri, 8 Sep 2017 21:42:07 +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 CC5BBE0DC2 for <gentoo-commits@lists.gentoo.org>; Fri, 8 Sep 2017 21:42:06 +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 883743417BB for <gentoo-commits@lists.gentoo.org>; Fri, 8 Sep 2017 21:42:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E7A8905B for <gentoo-commits@lists.gentoo.org>; Fri, 8 Sep 2017 21:42:04 +0000 (UTC) From: "Manuel Rüger" <mrueg@gentoo.org> 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" <mrueg@gentoo.org> Message-ID: <1504906853.51ce9850518c259e94dbafb4f0185932c279743e.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.22.0.ebuild X-VCS-Directories: sys-cluster/minikube/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 51ce9850518c259e94dbafb4f0185932c279743e X-VCS-Branch: master Date: Fri, 8 Sep 2017 21:42:04 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 46819ed1-0b89-47b7-9d2b-bc3935a2a13a X-Archives-Hash: f92be753db47212aee16ed076db12c58 commit: 51ce9850518c259e94dbafb4f0185932c279743e Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> AuthorDate: Fri Sep 8 21:40:53 2017 +0000 Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> CommitDate: Fri Sep 8 21:40:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=51ce9850 sys-cluster/minikube: Version bump to 0.22.0 Package-Manager: Portage-2.3.8, Repoman-2.3.2 sys-cluster/minikube/Manifest | 1 + sys-cluster/minikube/minikube-0.22.0.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index 3053992c1da..46075cc07f4 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1 +1,2 @@ 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 diff --git a/sys-cluster/minikube/minikube-0.22.0.ebuild b/sys-cluster/minikube/minikube-0.22.0.ebuild new file mode 100644 index 00000000000..b24b29e4e2a --- /dev/null +++ b/sys-cluster/minikube/minikube-0.22.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 +}