commit: c789b98bf7b27d11398575944bb397cfe2b669f8 Author: Gabriel M. Dutra <me <AT> dmdutra <DOT> dev> AuthorDate: Sun Feb 16 02:57:58 2025 +0000 Commit: Gabriel M. Dutra <me <AT> dmdutra <DOT> dev> CommitDate: Sun Feb 16 02:57:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c789b98b
app-containers/kind: new package, add 0.27.0 Signed-off-by: Gabriel M. Dutra <me <AT> dmdutra.dev> app-containers/kind/Manifest | 2 ++ app-containers/kind/kind-0.27.0.ebuild | 31 +++++++++++++++++++++++++++++++ app-containers/kind/metadata.xml | 11 +++++++++++ 3 files changed, 44 insertions(+) diff --git a/app-containers/kind/Manifest b/app-containers/kind/Manifest new file mode 100644 index 000000000..f793ec6f5 --- /dev/null +++ b/app-containers/kind/Manifest @@ -0,0 +1,2 @@ +DIST kind-0.27.0.tar.gz 1938237 BLAKE2B 98155522b1c1d1aa1494efd427d100f53b863bda3750c406ec4add2ab5d5a04d25f526d07538b99ff824e5d86a33766ef562312c7cf955109819dbc79fba9921 SHA512 d80b7ad9a4d5318b33396c7df5fc20f83fdd3eed8d33a1d7ce722d11faacc85b6aeb3142da15390564de1330423a9f5a2670be930b5d95e61efbd2c35b5c6a62 +DIST kind-v0.27.0-vendor.tar.xz 518140 BLAKE2B 2570f5cc127575363643afef8bd5b10dad01662a84b72027610582424d11fbc657b4c277cb2470c72233e25f146f313a7859ceb22d35010d70ed2a999c7e04a3 SHA512 87d6737131261a5c87d2baa4ac5f5c0d313008b84f7d7e116a2d6f81eaa3ccd5e6cfa003d70f8986f3028a6629a7a2239d78c14ca409b82bb99a67af2db8f400 diff --git a/app-containers/kind/kind-0.27.0.ebuild b/app-containers/kind/kind-0.27.0.ebuild new file mode 100644 index 000000000..0d1a819e0 --- /dev/null +++ b/app-containers/kind/kind-0.27.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo go-module shell-completion + +DESCRIPTION="Kind is a tool for running local Kubernetes clusters using Docker" +HOMEPAGE="https://kind.sigs.k8s.io/" +SRC_URI="https://github.com/kubernetes-sigs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://github.com/dmdutra/gentoo-distfiles/raw/refs/heads/main/${PN}-v${PV}-vendor.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv" + +RDEPEND=">=app-containers/docker-cli-23.0.0" + +src_compile() { + ego build -v -x -o ${PN} + edo ./${PN} completion fish > kind.fish + edo ./${PN} completion bash > kind.bash + edo ./${PN} completion zsh > kind.zsh +} + +src_install() { + dobin ${PN} + newbashcomp "${PN}.bash" "${PN}" + dofishcomp "${PN}.fish" + newzshcomp "${PN}.zsh" "_${PN}" +} diff --git a/app-containers/kind/metadata.xml b/app-containers/kind/metadata.xml new file mode 100644 index 000000000..203e188ed --- /dev/null +++ b/app-containers/kind/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Gabriel M. Dutra</name> + </maintainer> + <upstream> + <remote-id type="github">kubernetes-sigs/kind</remote-id> + </upstream> +</pkgmetadata>
