diff options
author | William Hubbs <williamh@gentoo.org> | 2024-01-08 23:29:10 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2024-01-08 23:29:26 -0600 |
commit | 1e095dc510c3c490538a064f4472ae277a4a3797 (patch) | |
tree | 80cc5cdbb093944f2d273321bb4a28dc2cfad060 /sys-cluster | |
parent | media-libs/libva: add missing build dependency (diff) | |
download | gentoo-1e095dc510c3c490538a064f4472ae277a4a3797.tar.gz gentoo-1e095dc510c3c490538a064f4472ae277a4a3797.tar.bz2 gentoo-1e095dc510c3c490538a064f4472ae277a4a3797.zip |
sys-cluster/k9scli: add 0.31.0
Closes: https://bugs.gentoo.org/919574
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/k9scli/Manifest | 2 | ||||
-rw-r--r-- | sys-cluster/k9scli/k9scli-0.31.0.ebuild | 34 |
2 files changed, 36 insertions, 0 deletions
diff --git a/sys-cluster/k9scli/Manifest b/sys-cluster/k9scli/Manifest index ae61ffb5be1e..4669bd9e8a97 100644 --- a/sys-cluster/k9scli/Manifest +++ b/sys-cluster/k9scli/Manifest @@ -2,3 +2,5 @@ DIST k9scli-0.27.3-deps.tar.xz 180543948 BLAKE2B bcd3d26a799d4ab2ac43b854e278c67 DIST k9scli-0.27.3.tar.gz 6395143 BLAKE2B 2b9db72656cac4798909c84732f1be1c43628c24e6442d2e100c235cd315d741be610a91b38bd22463e06716f4c1bcd4b44bdd3b598e8cbb7be2339407df1197 SHA512 ce42e49ae40ddb57e0105637a58f47c91b0efe284151da460f4bf74a52bdb3a6572c4ff7859430677dbd1aad715d132a4b92ac71abbd76a97135fdb3fdd3f3f8 DIST k9scli-0.27.4-deps.tar.xz 209301324 BLAKE2B 863ca246c2bd621c5990f202a4a4ca1afc1961e28b48d811149c35bd44994abb8d0e5462193d10aeb32b30d098d6cd7fab7e738de90bdd8bd77d175b89a1d75c SHA512 abe53d9a6bdaf3fb6f421bf8193eee0b062fdf29dd9964c3e14e3efb06bf2f128e10347a4bf6201f949323e05416ee77b4bc221990da401c063a7b4cffb5db71 DIST k9scli-0.27.4.tar.gz 6400972 BLAKE2B bf8c45f21198ab838648f2cea9ddd18393c74b61b96b46cab899bc09dfff9b8b84a799b577670cbd60fb19a2e99f749639e6f5410e83492267e7dfc84df7798b SHA512 a56a0cf185a2c902c5b1bdc9d7bcea108189fb1cc2aa1d4aaa907982acd7532607a5f9a703d0fd8880f50d0a6e1b1971f0319418ed47f9fe6306528e8141f35c +DIST k9scli-0.31.0-deps.tar.xz 658131588 BLAKE2B 83fb8953fbd49def99c6ac10d65f7699b65d26446f4f7f246e9fd2a98342b40f641bc43832387cfe8ae128e44498011b44b31f9c085527f1d1437dcd3dd5661a SHA512 ca91066be69787766523f6d8fc08516323c9f3e65b1aee90e6841dc3573300854d90a642f0803599ac813891ca98d43f44ae789e384c4f41894ee86ebd158f94 +DIST k9scli-0.31.0.tar.gz 6733632 BLAKE2B 815f884cdd395a0e07f3d64810c51feefed8a945775dbd5526578ea6f38d11e85a5fdf99f00119a618f5a1a06a6cfc38199b44ceff645fe6e4887213720a3149 SHA512 3387b1341ba9ab060f7bd1a2407d776c98f9d3b2810a490b9dba66ed9256f4859c6de1ac6217fe6ac19ef890eeeca6311d59bf3e24b55f777d97cb78db92d88b diff --git a/sys-cluster/k9scli/k9scli-0.31.0.ebuild b/sys-cluster/k9scli/k9scli-0.31.0.ebuild new file mode 100644 index 000000000000..10401b8909f1 --- /dev/null +++ b/sys-cluster/k9scli/k9scli-0.31.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module + +# update this on every bump +GIT_COMMIT=f8397a81 + +DESCRIPTION="terminal based UI to manage kubernetes clusters" +HOMEPAGE="https://k9scli.io" +SRC_URI="https://github.com/derailed/k9s/archive/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +S="${WORKDIR}/k9s-${PV}" + +src_prepare() { + default + # I will look into opening an upstream PR to do this. + sed -i -e 's/-w -s -X/-X/' Makefile || die +} + +src_compile() { + emake GIT_REV=${GIT_COMMIT} VERSION=v${PV} build +} + +src_install() { + dobin execs/k9s + dodoc -r change_logs plugins skins README.md +} |