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 17B4A139694 for ; Mon, 20 Feb 2017 16:11:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C201E0CCE; Mon, 20 Feb 2017 16:11:17 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 DFA9CE0CCE for ; Mon, 20 Feb 2017 16:11:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7BB4E340AC7 for ; Mon, 20 Feb 2017 16:11:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CC21D4E88 for ; Mon, 20 Feb 2017 16:11:11 +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: <1487607053.e77127908febc4a7dbb273a275de3a810352d7fc.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/metadata.xml sys-cluster/minikube/minikube-0.16.0.ebuild X-VCS-Directories: sys-cluster/minikube/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: e77127908febc4a7dbb273a275de3a810352d7fc X-VCS-Branch: master Date: Mon, 20 Feb 2017 16:11:11 +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: 8fc4b70f-6a62-4e4c-b3c7-94a281916672 X-Archives-Hash: 2151dbe36cc30f39b29f8f847f7c7e06 commit: e77127908febc4a7dbb273a275de3a810352d7fc Author: Manuel Rüger gentoo org> AuthorDate: Mon Feb 20 16:10:53 2017 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Mon Feb 20 16:10:53 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7712790 sys-cluster/minikube: Initial version Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-cluster/minikube/Manifest | 1 + sys-cluster/minikube/metadata.xml | 8 ++++++ sys-cluster/minikube/minikube-0.16.0.ebuild | 43 +++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest new file mode 100644 index 0000000000..43949cd313 --- /dev/null +++ b/sys-cluster/minikube/Manifest @@ -0,0 +1 @@ +DIST minikube-0.16.0.tar.gz 16133596 SHA256 ea5034287eaccf6ae357a6679fb830fe28d14e2512f4008972e0404b248282ac SHA512 0e3aea16cef775b29a22544d15e760eeb5cc3cf91e96104fe1b1682e6cbe5bdcf30b7ebefc9456b31f768ec26d3e16f290921974e147a730d144a104dc052548 WHIRLPOOL 370e8ade300f6c34bdb6d697ed3c1e21de3ffed89d78597bc97c8fbccf000308f600a9f5982897805ee3ac27a11e77625fb9e29fd0f752f29f2faef2e72af320 diff --git a/sys-cluster/minikube/metadata.xml b/sys-cluster/minikube/metadata.xml new file mode 100644 index 0000000000..97df2a0097 --- /dev/null +++ b/sys-cluster/minikube/metadata.xml @@ -0,0 +1,8 @@ + + + + + mrueg@gentoo.org + Manuel Rüger + + diff --git a/sys-cluster/minikube/minikube-0.16.0.ebuild b/sys-cluster/minikube/minikube-0.16.0.ebuild new file mode 100644 index 0000000000..ca8f353282 --- /dev/null +++ b/sys-cluster/minikube/minikube-0.16.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +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="" + +DEPEND="dev-go/go-bindata + ${PYTHON_DEPS}" +RDEPEND=">=sys-cluster/kubectl-1.5.2" + +RESTRICT="test" + +src_prepare() { + default + sed -i -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() { + LDFLAGS="" GOPATH="${WORKDIR}/${P}" emake -C src/${EGO_PN%/*} +} + +src_install() { + pushd src/${EGO_PN%/*} || die + dobin out/minikube out/localkube + dodoc CHANGELOG.md DRIVERS.md README.md ROADMAP.md + popd || die +}