public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/minikube/
Date: Tue,  2 May 2023 04:35:26 +0000 (UTC)	[thread overview]
Message-ID: <1683002121.bbbbc9a245b083d807f54aa6a3a1bf4176ed60a3.zmedico@gentoo> (raw)

commit:     bbbbc9a245b083d807f54aa6a3a1bf4176ed60a3
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue May  2 04:34:43 2023 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue May  2 04:35:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbbbc9a2

sys-cluster/minikube: add 1.30.1

Bug: https://bugs.gentoo.org/905388
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 sys-cluster/minikube/Manifest               |  1 +
 sys-cluster/minikube/minikube-1.30.1.ebuild | 75 +++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest
index b140ba04e204..0938e4e09498 100644
--- a/sys-cluster/minikube/Manifest
+++ b/sys-cluster/minikube/Manifest
@@ -1,2 +1,3 @@
 DIST minikube-1.26.1-vendor.tar.gz 104831112 BLAKE2B 532856492a6b7759d3aaccf9baf9dd603b81953d8691d4df5aef8a667cde13d4035728e31ba52d440fb18661be94cf406ff101eed1a9fe1e2b86fc845a9268c5 SHA512 d9efe06a4912df67543246aae92ccfae62d7e0e25480761bbf0705d2867481d8cd89ea2441bd318e5ce0d682deaf5b81ae3a40000c270a0d6884ba07f69909f3
 DIST minikube-1.27.1-vendor.tar.gz 105040688 BLAKE2B 7694ad7306b7bb9004f9fb766a6c1dea57970318433bc5c0886be9c261299cce5dd590188009ef2e19060badf9755f155f336e8224670040faa873802deffc02 SHA512 296ec071b9a906c17bbfd9c53a42d10106e20f71d5c16197b44fcb9ba8f4c544945e0eb21a06bc7bde9f6eeaad5a5a81be96055505acec9effb954df14ff5837
+DIST minikube-1.30.1-vendor.tar.gz 105736819 BLAKE2B b7689ab47d1a16b99e20dd4ad9126e0892d5ec78bd6ea955b083199074dbd47cacfd89cf395668a8372281818cbd75c84139472050f3d6c81969cc002e5588a6 SHA512 d7868ac7d21416f4039a4571f933bbfaac0e5054cf8061a71d6c1e72762504eaaa356a5908fd9c445479cc0e98918e8b67a5d61e470b36df7ce6fd28d5210149

diff --git a/sys-cluster/minikube/minikube-1.30.1.ebuild b/sys-cluster/minikube/minikube-1.30.1.ebuild
new file mode 100644
index 000000000000..2cc6857367e4
--- /dev/null
+++ b/sys-cluster/minikube/minikube-1.30.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2023 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=08896fd1dc362c097c925146c4a0d0dac715ace0
+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"
+}


             reply	other threads:[~2023-05-02  4:35 UTC|newest]

Thread overview: 88+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-02  4:35 Zac Medico [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26 20:54 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/minikube/ Zac Medico
2024-11-26 20:53 Zac Medico
2024-02-20  1:47 Zac Medico
2024-01-03  1:08 Sam James
2023-05-08  3:47 Zac Medico
2022-10-18  1:52 Zac Medico
2022-10-18  1:52 Zac Medico
2022-08-02 23:08 Zac Medico
2022-06-25 15:58 Zac Medico
2022-02-26 18:47 Zac Medico
2022-02-16 19:52 Zac Medico
2022-01-24  3:13 Zac Medico
2022-01-20  1:39 Zac Medico
2022-01-15 21:22 Georgy Yakovlev
2022-01-15 18:48 Zac Medico
2021-11-06  6:18 Zac Medico
2021-10-28 22:10 Zac Medico
2021-10-28 22:04 Zac Medico
2021-04-19 17:50 Zac Medico
2021-02-22 17:06 William Hubbs
2020-10-29 14:31 William Hubbs
2020-10-26  4:56 Georgy Yakovlev
2020-10-23  3:31 Georgy Yakovlev
2020-10-22  0:09 Georgy Yakovlev
2020-10-03 21:38 William Hubbs
2020-06-12 18:27 William Hubbs
2020-05-20 15:34 William Hubbs
2020-05-20 15:34 William Hubbs
2020-05-13 22:12 William Hubbs
2020-05-04 19:04 William Hubbs
2020-02-10 13:26 Michał Górny
2019-12-20 20:10 Zac Medico
2019-12-14  2:37 Zac Medico
2019-12-14  2:26 Zac Medico
2019-12-14  2:22 Zac Medico
2019-12-14  2:19 Zac Medico
2019-12-14  2:19 Zac Medico
2019-11-23 10:35 Manuel Rüger
2019-07-01  9:53 Manuel Rüger
2019-05-02 15:55 Manuel Rüger
2019-03-28 16:20 Manuel Rüger
2019-03-28 13:20 Manuel Rüger
2019-02-18 16:00 Manuel Rüger
2019-01-28 10:54 Manuel Rüger
2019-01-18 13:18 Manuel Rüger
2018-12-30 16:18 Manuel Rüger
2018-12-16 12:15 Manuel Rüger
2018-12-11 10:11 Manuel Rüger
2018-10-28 16:13 Manuel Rüger
2018-10-04 12:04 Mike Gilbert
2018-09-28 13:28 Manuel Rüger
2018-07-24 13:32 Manuel Rüger
2018-07-18 18:39 Manuel Rüger
2018-07-02 14:46 Manuel Rüger
2018-07-02 14:46 Manuel Rüger
2018-06-14 14:38 Manuel Rüger
2018-05-23  8:29 Manuel Rüger
2018-05-17 15:21 Manuel Rüger
2018-04-21 23:31 Manuel Rüger
2018-04-11 14:05 Manuel Rüger
2018-04-04 11:44 Manuel Rüger
2018-03-26 14:21 Manuel Rüger
2018-02-27 21:41 Manuel Rüger
2018-01-27 18:28 Manuel Rüger
2018-01-16 15:56 Manuel Rüger
2017-12-01 13:56 Manuel Rüger
2017-12-01 13:56 Manuel Rüger
2017-10-27 11:42 Manuel Rüger
2017-10-09 15:10 Manuel Rüger
2017-10-09 14:23 Manuel Rüger
2017-09-19 18:07 Manuel Rüger
2017-09-18 11:06 Manuel Rüger
2017-09-14 13:14 Manuel Rüger
2017-09-08 21:42 Manuel Rüger
2017-08-01 12:38 Manuel Rüger
2017-08-01 12:38 Manuel Rüger
2017-06-26 20:38 Manuel Rüger
2017-06-04 22:11 Manuel Rüger
2017-06-04 22:11 Manuel Rüger
2017-05-15 12:34 Manuel Rüger
2017-05-10 22:50 Manuel Rüger
2017-05-10 21:24 Manuel Rüger
2017-05-10 21:24 Manuel Rüger
2017-05-10 21:24 Manuel Rüger
2017-04-12  9:53 Manuel Rüger
2017-03-08 15:51 Manuel Rüger
2017-02-20 16:11 Manuel Rüger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1683002121.bbbbc9a245b083d807f54aa6a3a1bf4176ed60a3.zmedico@gentoo \
    --to=zmedico@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox