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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0CA50158003 for ; Sat, 26 Feb 2022 18:47:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 54494E079C; Sat, 26 Feb 2022 18:47:14 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 34074E079C for ; Sat, 26 Feb 2022 18:47:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 3CC0334317D for ; Sat, 26 Feb 2022 18:47:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7E2B926D for ; Sat, 26 Feb 2022 18:47:11 +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: <1645901227.300b7ae00640087f0f12b19cf30bfb9adb1a1d34.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.25.2.ebuild X-VCS-Directories: sys-cluster/minikube/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 300b7ae00640087f0f12b19cf30bfb9adb1a1d34 X-VCS-Branch: master Date: Sat, 26 Feb 2022 18:47: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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8fa0f2c4-995b-46fd-b181-24e9b1c3e0d7 X-Archives-Hash: c7a071c9cef3a9add21ebe8128590c39 commit: 300b7ae00640087f0f12b19cf30bfb9adb1a1d34 Author: Zac Medico gentoo org> AuthorDate: Sat Feb 26 18:46:04 2022 +0000 Commit: Zac Medico gentoo org> CommitDate: Sat Feb 26 18:47:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300b7ae0 sys-cluster/minikube: Bump to version 1.25.2 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Zac Medico gentoo.org> sys-cluster/minikube/Manifest | 1 + sys-cluster/minikube/minikube-1.25.2.ebuild | 75 +++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest index 8a4cdcfcdf71..149915582a0c 100644 --- a/sys-cluster/minikube/Manifest +++ b/sys-cluster/minikube/Manifest @@ -1 +1,2 @@ DIST minikube-1.25.1-vendor.tar.gz 104698545 BLAKE2B 2402594f1a876e16f36f4341136b71a84a8848c90d61789c85b1b962848e029363ec1efa051b0a08a28d38e82ee5fd52ceb0f2836078102a22de0d9cff4cc041 SHA512 661cd0261535728a119d5a0fa5f15c535092ae870f094e85dd03cbb5449ccef89c64dacec02373a7097f0a81bf2c23a91254f2257c09db54cb48249a785d06a5 +DIST minikube-1.25.2-vendor.tar.gz 103616191 BLAKE2B 6707011b208bf96670649192aef0100bee5780bc3321b41eddc12a62b2d4acbc566a8cdf557dae4a84b501c67b31ac35c77effb808bbc3ca56d65e7727977141 SHA512 2e964be6f0708a41ae1aaf1d47eabad8acf13ffafc5ae56cfd66f81ef94673d9661654c807bf2c8790ce5336f95f9fce377b82905e229e4d3534ed5d2622b5da diff --git a/sys-cluster/minikube/minikube-1.25.2.ebuild b/sys-cluster/minikube/minikube-1.25.2.ebuild new file mode 100644 index 000000000000..317bc98d1b8e --- /dev/null +++ b/sys-cluster/minikube/minikube-1.25.2.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit bash-completion-r1 go-module toolchain-funcs +GIT_COMMIT=362d5fdc0a3dbee389b3d3f1034e8023e72bd3a7 +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" +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" +}