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 6AA831396D0 for ; Tue, 19 Sep 2017 18:07:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 825BCE0784; Tue, 19 Sep 2017 18:07: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 5271EE0784 for ; Tue, 19 Sep 2017 18:07:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 4E737341236 for ; Tue, 19 Sep 2017 18:07:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F200748D for ; Tue, 19 Sep 2017 18:07:01 +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: <1505844404.2dc97085cd3df7a317d09c7434d3511972f5191e.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.2.ebuild X-VCS-Directories: sys-cluster/minikube/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 2dc97085cd3df7a317d09c7434d3511972f5191e X-VCS-Branch: master Date: Tue, 19 Sep 2017 18:07:01 +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: 92eb9e22-c3cf-4552-bdf9-d1b20ea509ec X-Archives-Hash: de456785e3116365f60a07a93146595e commit: 2dc97085cd3df7a317d09c7434d3511972f5191e Author: Manuel Rüger gentoo org> AuthorDate: Tue Sep 19 18:06:44 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Tue Sep 19 18:06:44 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dc97085 sys-cluster/minikube: Version bump to 0.22.2 Package-Manager: Portage-2.3.8, Repoman-2.3.3 sys-cluster/minikube/Manifest | 1 + sys-cluster/minikube/minikube-0.22.2.ebuild | 43 +++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index 29503f84009..c680cacd851 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1 +1,2 @@ DIST minikube-0.22.1.tar.gz 18661340 SHA256 7ccbf0bb3beb087add316970f2e84cf2c204c1d1c4cb1fb64ab13918063c456d SHA512 5bef5c86cc849fa3957aff62b84f3e14a7f2dd9264223f4cb7a45555cf82c64014ea6082e13091f02d27d2a25c867e4bfd08681c70074c0d519061c737f76c05 WHIRLPOOL 7296474a87d7020f9ea31f3db642d4e6785afa746dde17e6d4236599811368da5fc6a078577f81602051ba5826969001f64419b154641e9257203581d3ee7f9a +DIST minikube-0.22.2.tar.gz 18664692 SHA256 56f1c6d49188c85ad4cc3ebe7c6fa0f6da86e6d7166a5f49dfe36079994f22f2 SHA512 b0222ad235597e606bf7ce034ca5c49636676498ab4f7563c5ffb8982c75d9493cb64d97de9edeb18082270a655bf303d16f393d9444a34e168251f930ea811a WHIRLPOOL 3662f74402a72a6e7ac1fbee36ce52805b96c0bf4f5b92132ee20c28e064c2cdfb1cecf9b471df3f903d27b9b2095a1dbc77b2b4626c34fd6f5b1619c5151afd diff --git a/sys-cluster/minikube/minikube-0.22.2.ebuild b/sys-cluster/minikube/minikube-0.22.2.ebuild new file mode 100644 index 00000000000..8c02d30d318 --- /dev/null +++ b/sys-cluster/minikube/minikube-0.22.2.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 +}