commit:     cf2202a96c9afffa1c4e35f4d3e766fd9e7b95d5
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 24 03:12:45 2022 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Jan 24 03:13:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2202a9

sys-cluster/minikube: Bump to version 1.25.1

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

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

diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest
index 59b50dba433e..7ac4c8cb2350 100644
--- a/sys-cluster/minikube/Manifest
+++ b/sys-cluster/minikube/Manifest
@@ -2364,6 +2364,7 @@ DIST minikube-1.19.0.tar.gz 85929986 BLAKE2B 
c5a26d4fdc7b807f7d06f66ef73ad1d5162
 DIST minikube-1.23.2.tar.gz 86377710 BLAKE2B 
901c423b3c8f7e95c3fa6dabd52c8b10bd35b323e4b5e31952ce2dbf42500cd4b785da668cebc0ae2df2809728ec9838d369a0af947c61b74294c0bd4ec39811
 SHA512 
be2c99b6570fff9597f22082a05fd292c81801fb0632c69b5e0670d8cc09e99c9b13f9aa6a760b9dbdffdbcff96090adaf5f9330d9739d43aae2e4fe142ef314
 DIST minikube-1.24.0-vendor.tar.gz 104103829 BLAKE2B 
ff38483b65854ec1756b3f880621a0e187b92e16bc38452b61f1fa1f0db0acc10bb48d1dae6698c84aa41c69d5a08c012ae7e309dbb543baf5b22a04151db251
 SHA512 
7b4be1c3850a7a24cd8c97afbd31a0c1283e0b30d2ef4de9f54f918e749e08e7496307ca6c685e21c5a608e272b873cec0a25de7f8707c0ef26aad4767300ec3
 DIST minikube-1.25.0-vendor.tar.gz 104662120 BLAKE2B 
ed717fdd3770b5b71b4a38b8a81ea86060c0c2eeb0d846adafd856b861a3974862267f9ad224f8cec09fb0933cedb8b434fd5a708cbefea0d7403ff53ab519f3
 SHA512 
3836a5d297ec9fc1b031fa170583253fe11031b8337290fcff3a20fb3c392f6259c1f1144909b1172c5cfcb308942fedbea5a10bde623c2b00f7299ed278b8ce
+DIST minikube-1.25.1-vendor.tar.gz 104698545 BLAKE2B 
2402594f1a876e16f36f4341136b71a84a8848c90d61789c85b1b962848e029363ec1efa051b0a08a28d38e82ee5fd52ceb0f2836078102a22de0d9cff4cc041
 SHA512 
661cd0261535728a119d5a0fa5f15c535092ae870f094e85dd03cbb5449ccef89c64dacec02373a7097f0a81bf2c23a91254f2257c09db54cb48249a785d06a5
 DIST modernc.org%2Fcc%2F@v%2Fv1.0.0.mod 22 BLAKE2B 
26488aa7e4d0339d58279e663998091c24b5a6d4d026ea71166c06695034ffb5011d20f49c151c6a41481c6cb5648806ae5201bffcf4e2e49b6e7ec9375d9469
 SHA512 
22847329a9a431f222a2bde9c743aa5d76e737e2535b53273c31cb641c89fa4b73e51de12f84fb6da532b060a1daa084c5150502e3ab4e311eaff351f10617fa
 DIST modernc.org%2Fgolex%2F@v%2Fv1.0.0.mod 25 BLAKE2B 
5ae90f4bebc5486b84fbad78cbb9e747a2b1710805a35eefb93fb5f860c7850242067bf79c38a7a076f9f5823995cb4a2fa0120491258cfee9e87fd5996cbbf2
 SHA512 
764e7459060a8e7e90c8b8714926cb8b1eeb130789d1d89eb52e4dec5be83298bfe03647720c0e84d5aa9cf293a38f041e1696ccfe60a87cd1ef7316190b41ac
 DIST modernc.org%2Fmathutil%2F@v%2Fv1.0.0.mod 28 BLAKE2B 
d93ac859fd33dd8b36dcb992876edf1470206d4a455f6dbfc3a8be76aa84cd3b1a16a12e23d857b090ee5b18ba51441c90bc5d6a4bb35430193d7f99d61a3725
 SHA512 
53b0f0324ef1cc51f322d535b2199362be3962aa8e2d1c32b0c58da2fd4f65f8f19450089d78fc58aa89ff5903500ae2cb60ba38d89373c9f58f075db0ba80fa

diff --git a/sys-cluster/minikube/minikube-1.25.1.ebuild 
b/sys-cluster/minikube/minikube-1.25.1.ebuild
new file mode 100644
index 000000000000..e51cece9f682
--- /dev/null
+++ b/sys-cluster/minikube/minikube-1.25.1.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=3e64b11ed75e56e4898ea85f96b2e4af0301f43d
+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 via email to