summaryrefslogtreecommitdiff
path: root/sys-cluster/minikube
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-02 11:22:32 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-02 11:22:32 +0100
commit4f39f95b585c2bd23d646439b444a8738b01d37e (patch)
tree8abf010bdcb38f9a1da39c44b2484bf2b91ccb90 /sys-cluster/minikube
parentf20a854a6189579b2cc296900c479d9b6b5b595e (diff)
gentoo auto-resync : 02:05:2023 - 11:22:31
Diffstat (limited to 'sys-cluster/minikube')
-rw-r--r--sys-cluster/minikube/Manifest2
-rw-r--r--sys-cluster/minikube/minikube-1.30.1.ebuild75
2 files changed, 77 insertions, 0 deletions
diff --git a/sys-cluster/minikube/Manifest b/sys-cluster/minikube/Manifest
index 95198c583046..947b6e79072a 100644
--- a/sys-cluster/minikube/Manifest
+++ b/sys-cluster/minikube/Manifest
@@ -1,5 +1,7 @@
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
EBUILD minikube-1.26.1.ebuild 2297 BLAKE2B f5f3f4b595803d92e0c7e3ddb38537a7d726793518a2463a6cb1b889221dc4103d65ed5d14a22196f76b939848be64930a09b4141274b7a6f2f66825a55f523e SHA512 c9ec7a8179a60ce1f24185457dd66c224520df0dd9e17e6999e394f26efa1970e7bad6d0dff368cc4ce420255c465b206f52ef680f8731f4b49adf83b28d0dde
EBUILD minikube-1.27.1.ebuild 2297 BLAKE2B ce17f2f7add789348e408b725214237d2f2887b962043cf1e85f9baf37ab296a7df9431d724d4f57dbe8b3fb3a4a33a8317a4c6088ce16c2a61194cad352dd33 SHA512 04d7b25da5f213e32c839c4c58b37546d667d8c705fa6227dcb88223c2487d9afb3a87d81888ee69302ef20c1dc4a239562cfe4763d75952db445408967994c5
+EBUILD minikube-1.30.1.ebuild 2295 BLAKE2B 5977f79134ddfde0cef4e56248c1e37018884e58c00121adf233b96d409fdf1504379f761ed0cd6e56a505f518f157df4088a9fd2d3c53b5d1e0b86a5a638142 SHA512 e16cce8b9282143bc6e93f0e610fc97523fe70d84109024a005d962b920b3703d86591568cc1e13be5424f77e0609a9f90e32b1f1bfd03522f6115f756ba1c9f
MISC metadata.xml 394 BLAKE2B fafba25060bc4bb387492659132b39d8b4fd7fbc2136de870eaa87ab9ee3ecaea732093904a3c580b80150da5c47f445fe3b5f85716c343904684dd1fbda2b94 SHA512 da62983710576f02082e75cd84648e47e97d1aae6b25e862fc0c4379b07976ac2838684760b7aebc77e775ff631fc9a57fabfd7997831d2112b58ad010dcd31f
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"
+}