Skip to content

Commit

Permalink
sys-cluster/kustomize-bin: new package, add 5.3.0
Browse files Browse the repository at this point in the history
This is probably only a temporary ebuild until kubectl includes at least
kustomize 5.3.0.
  • Loading branch information
SuperTux88 committed Feb 20, 2024
1 parent d150e65 commit 4936b11
Show file tree
Hide file tree
Showing 5 changed files with 59 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 11 additions & 0 deletions metadata/md5-cache/sys-cluster/kustomize-bin-5.3.0
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions sys-cluster/kustomize-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST kustomize_v5.3.0_linux_amd64.tar.gz 5953114 BLAKE2B b3ee72c64036ad88a5f6cf736cbaf39018223ad450acbb4bc76863e1dcf87954f7315d74927694679cdf9ff92f00c1d204e6431627338d4cc3c550901656321d SHA512 fb5f1661c820216538e7a3e5f5a8ba01518f72ad6574487f73946e419b8272902083ab9a9cf8c3561c85322c6664a7d9729ad6a04bd563334cb7bc97e85086c1
33 changes: 33 additions & 0 deletions sys-cluster/kustomize-bin/kustomize-bin-5.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -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}
}
11 changes: 11 additions & 0 deletions sys-cluster/kustomize-bin/metadata.xml
Original file line number Diff line number Diff line change
@@ -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">
<name>Benjamin Neff</name>
<email>[email protected]</email>
</maintainer>
<upstream>
<remote-id type="github">kubernetes-sigs/kustomize</remote-id>
</upstream>
</pkgmetadata>

0 comments on commit 4936b11

Please sign in to comment.