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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AA6B158041 for ; Tue, 20 Feb 2024 01:47:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 72872E2A49; Tue, 20 Feb 2024 01:47:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48008E2A49 for ; Tue, 20 Feb 2024 01:47:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3578F343152 for ; Tue, 20 Feb 2024 01:47:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F0831118C for ; Tue, 20 Feb 2024 01:47:02 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1708393547.f58434b725720d284e9f118f6469ddfd9fecbe7a.zmedico@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-1.32.0.ebuild X-VCS-Directories: sys-cluster/minikube/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: f58434b725720d284e9f118f6469ddfd9fecbe7a X-VCS-Branch: master Date: Tue, 20 Feb 2024 01:47:02 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9097ff2c-7b6b-4b27-976e-ae49a4d1a016 X-Archives-Hash: a207f19747f5ed0dcf1c70f6fef7fbac commit: f58434b725720d284e9f118f6469ddfd9fecbe7a Author: Zac Medico gentoo org> AuthorDate: Tue Feb 20 01:45:42 2024 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Feb 20 01:45:47 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f58434b7 sys-cluster/minikube: add 1.32.0 Closes: https://bugs.gentoo.org/922873 Signed-off-by: Zac Medico gentoo.org> sys-cluster/minikube/Manifest | 1 + sys-cluster/minikube/minikube-1.32.0.ebuild | 75 +++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index ecbecfec4356..5d52503750c7 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1 +1,2 @@ DIST minikube-1.30.1-vendor.tar.gz 105736819 BLAKE2B b7689ab47d1a16b99e20dd4ad9126e0892d5ec78bd6ea955b083199074dbd47cacfd89cf395668a8372281818cbd75c84139472050f3d6c81969cc002e5588a6 SHA512 d7868ac7d21416f4039a4571f933bbfaac0e5054cf8061a71d6c1e72762504eaaa356a5908fd9c445479cc0e98918e8b67a5d61e470b36df7ce6fd28d5210149 +DIST minikube-1.32.0-vendor.tar.gz 105514389 BLAKE2B fd3bce9d83aedbe27090984b012c141c7859b76a94a67825dec89d84c53f70051cc4fe28cb3be4bc7c46c607050bf1a0c9eb8c3f200b2fd20d9ea493c6030f3d SHA512 c732a8b3122c38dcee38c43642e04f504304cf97969d755fbd389f80bc7b65570c5dae7bbd103761d0f793be27c00aac3c84d913799ea85c5c949f2b6e43d9d1 diff --git a/sys-cluster/minikube/minikube-1.32.0.ebuild b/sys-cluster/minikube/minikube-1.32.0.ebuild new file mode 100644 index 000000000000..05fbb1f43cd3 --- /dev/null +++ b/sys-cluster/minikube/minikube-1.32.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit bash-completion-r1 go-module toolchain-funcs +GIT_COMMIT=8220a6eb95f0a4d75f7f2d7b14cef975f050512d +GIT_COMMIT_SHORT=${GIT_COMMIT:0:9} + +DESCRIPTION="Single Node Kubernetes Cluster" +HOMEPAGE="https://github.com/kubernetes/minikube https://kubernetes.io" + +SRC_URI="https://github.com/zmedico/minikube/archive/refs/tags/v${PV}-vendor.tar.gz -> ${P}-vendor.tar.gz" + +LICENSE="Apache-2.0 BSD BSD-2 CC-BY-4.0 CC-BY-SA-4.0 CC0-1.0 GPL-2 ISC LGPL-3 MIT MPL-2.0 WTFPL-2 ZLIB || ( LGPL-3+ GPL-2 ) || ( Apache-2.0 LGPL-3+ ) || ( Apache-2.0 CC-BY-4.0 )" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened libvirt" + +COMMON_DEPEND="libvirt? ( app-emulation/libvirt:=[qemu] )" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" +BDEPEND="dev-go/go-bindata" + +RESTRICT="test" +S=${WORKDIR}/${P}-vendor + +src_configure() { + case "${ARCH}" in + amd64|arm*) + minikube_arch="${ARCH}" ;; + ppc64) + # upstream does not support big-endian ppc64 + minikube_arch="${ARCH}le" ;; + *) + die "${ARCH} is not supported" ;; + esac + minikube_target="out/minikube-linux-${minikube_arch}" +} + +src_compile() { + # out/docker-machine-driver-kvm2 target is amd64 specific + # but libvirt useflag is masked on most arches. + COMMIT=${GIT_COMMIT} \ + COMMIT_NO=${GIT_COMMIT} \ + COMMIT_SHORT=${GIT_COMMIT_SHORT} \ + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \ + LDFLAGS="" \ + emake \ + $(usex libvirt "out/docker-machine-driver-kvm2" "") \ + "${minikube_target}" +} + +src_install() { + newbin "${minikube_target}" minikube + use libvirt && dobin out/docker-machine-driver-kvm2 + dodoc -r site CHANGELOG.md README.md + + if ! tc-is-cross-compiler; then + "${minikube_target}" completion bash > "${T}/bashcomp" || die + "${minikube_target}" completion fish > "${T}/fishcomp" || die + "${minikube_target}" completion zsh > "${T}/zshcomp" || die + + newbashcomp "${T}/bashcomp" minikube + insinto /usr/share/fish/vendor_completions.d + newins "${T}/fishcomp" minikube.fish + insinto /usr/share/zsh/site-functions + newins "${T}/zshcomp" _minikube + fi +} + +pkg_postinst() { + elog "You may want to install the following optional dependencies:" + elog " app-emulation/virtualbox or app-emulation/virtualbox-bin" + elog " sys-cluster/kubectl" +}