From 4936b11b9d8a534104af2d6a71c768f271e0289a Mon Sep 17 00:00:00 2001 From: Benjamin Neff Date: Tue, 20 Feb 2024 22:40:23 +0100 Subject: [PATCH] sys-cluster/kustomize-bin: new package, add 5.3.0 This is probably only a temporary ebuild until kubectl includes at least kustomize 5.3.0. --- README.md | 3 ++ .../md5-cache/sys-cluster/kustomize-bin-5.3.0 | 11 +++++++ sys-cluster/kustomize-bin/Manifest | 1 + .../kustomize-bin/kustomize-bin-5.3.0.ebuild | 33 +++++++++++++++++++ sys-cluster/kustomize-bin/metadata.xml | 11 +++++++ 5 files changed, 59 insertions(+) create mode 100644 metadata/md5-cache/sys-cluster/kustomize-bin-5.3.0 create mode 100644 sys-cluster/kustomize-bin/Manifest create mode 100644 sys-cluster/kustomize-bin/kustomize-bin-5.3.0.ebuild create mode 100644 sys-cluster/kustomize-bin/metadata.xml diff --git a/README.md b/README.md index 3b95a363..0f7b6d08 100644 --- a/README.md +++ b/README.md @@ -169,6 +169,9 @@ The following packages are available in this overlay: * sys-apps/zenmonitor3 * Monitoring software for AMD Zen-based CPUs with Zen 3 support * https://github.com/Ta180m/zenmonitor3 +* sys-cluster/kustomize-bin + * Customization of kubernetes YAML configurations + * https://github.com/kubernetes-sigs/kustomize * sys-cluster/open-lens * Open Source IDE for Kubernetes * https://github.com/MuhammedKalkan/OpenLens diff --git a/metadata/md5-cache/sys-cluster/kustomize-bin-5.3.0 b/metadata/md5-cache/sys-cluster/kustomize-bin-5.3.0 new file mode 100644 index 00000000..dae91998 --- /dev/null +++ b/metadata/md5-cache/sys-cluster/kustomize-bin-5.3.0 @@ -0,0 +1,11 @@ +DEFINED_PHASES=compile install +DESCRIPTION=Customization of kubernetes YAML configurations +EAPI=8 +HOMEPAGE=https://github.com/kubernetes-sigs/kustomize +INHERIT=shell-completion +KEYWORDS=~amd64 +LICENSE=Apache-2.0 +SLOT=0 +SRC_URI=https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv5.3.0/kustomize_v5.3.0_linux_amd64.tar.gz +_eclasses_=toolchain-funcs e56c7649b804f051623c8bc1a1c44084 multilib c19072c3cd7ac5cb21de013f7e9832e0 bash-completion-r1 f5e7a020fd9c741740756aac61bf75ff shell-completion bb7eb6bc232cd6c4bf8af739cdd2ee14 +_md5_=083da8c2f4f4270e2bbb4937feb935d3 diff --git a/sys-cluster/kustomize-bin/Manifest b/sys-cluster/kustomize-bin/Manifest new file mode 100644 index 00000000..2acfbc5b --- /dev/null +++ b/sys-cluster/kustomize-bin/Manifest @@ -0,0 +1 @@ +DIST kustomize_v5.3.0_linux_amd64.tar.gz 5953114 BLAKE2B b3ee72c64036ad88a5f6cf736cbaf39018223ad450acbb4bc76863e1dcf87954f7315d74927694679cdf9ff92f00c1d204e6431627338d4cc3c550901656321d SHA512 fb5f1661c820216538e7a3e5f5a8ba01518f72ad6574487f73946e419b8272902083ab9a9cf8c3561c85322c6664a7d9729ad6a04bd563334cb7bc97e85086c1 diff --git a/sys-cluster/kustomize-bin/kustomize-bin-5.3.0.ebuild b/sys-cluster/kustomize-bin/kustomize-bin-5.3.0.ebuild new file mode 100644 index 00000000..372b5118 --- /dev/null +++ b/sys-cluster/kustomize-bin/kustomize-bin-5.3.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PN="${PN%-bin}" + +inherit shell-completion + +DESCRIPTION="Customization of kubernetes YAML configurations" +HOMEPAGE="https://github.com/kubernetes-sigs/kustomize" +SRC_URI="https://github.com/kubernetes-sigs/${MY_PN}/releases/download/${MY_PN}%2Fv${PV}/kustomize_v${PV}_linux_amd64.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" + +S="${WORKDIR}" + +QA_FLAGS_IGNORED="usr/bin/${MY_PN}" +QA_PRESTRIPPED="${QA_FLAGS_IGNORED}" + +src_compile() { + ./${MY_PN} completion bash > bash-completion.sh + ./${MY_PN} completion zsh > zsh-completion.zsh +} + +src_install() { + dobin ${MY_PN} + + newbashcomp bash-completion.sh ${MY_PN} + newzshcomp zsh-completion.zsh _${MY_PN} +} diff --git a/sys-cluster/kustomize-bin/metadata.xml b/sys-cluster/kustomize-bin/metadata.xml new file mode 100644 index 00000000..5a1d959d --- /dev/null +++ b/sys-cluster/kustomize-bin/metadata.xml @@ -0,0 +1,11 @@ + + + + + Benjamin Neff + gentoo@benjaminneff.ch + + + kubernetes-sigs/kustomize + +