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 6EE4F139694 for ; Mon, 26 Jun 2017 20:38:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AFE5421C06C; Mon, 26 Jun 2017 20:38:28 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 78E1721C06C for ; Mon, 26 Jun 2017 20:38:27 +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 69ACC3417D5 for ; Mon, 26 Jun 2017 20:38:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3104F747C for ; Mon, 26 Jun 2017 20:38:25 +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: <1498509473.3d85353309f68bce4fde402276f0145a7e2108bf.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.20.0.ebuild X-VCS-Directories: sys-cluster/minikube/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 3d85353309f68bce4fde402276f0145a7e2108bf X-VCS-Branch: master Date: Mon, 26 Jun 2017 20:38:25 +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: 6a1f42a0-d057-4aec-b4be-a96e8e8c86f0 X-Archives-Hash: 62ed686be611aea1d89ce2dec119ac55 commit: 3d85353309f68bce4fde402276f0145a7e2108bf Author: Manuel Rüger gentoo org> AuthorDate: Mon Jun 26 20:37:53 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Mon Jun 26 20:37:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d853533 sys-cluster/minikube: Version bump to 0.20.0 Package-Manager: Portage-2.3.6, Repoman-2.3.2 sys-cluster/minikube/Manifest | 1 + sys-cluster/minikube/minikube-0.20.0.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index 5ff01f5dd42..1eb1d1c63c3 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1 +1,2 @@ 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 diff --git a/sys-cluster/minikube/minikube-0.20.0.ebuild b/sys-cluster/minikube/minikube-0.20.0.ebuild new file mode 100644 index 00000000000..52263b1bebc --- /dev/null +++ b/sys-cluster/minikube/minikube-0.20.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.6.4" + +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 +}