From 1677d159ba635c2fa973ac2b60766215f51ed278 Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Fri, 16 Oct 2026 12:58:37 +0200 Subject: sys-cluster/kubie: add 0.28.0, drop 0.26.0 --- sys-cluster/kubie/kubie-0.28.0.ebuild | 40 +++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 sys-cluster/kubie/kubie-0.28.0.ebuild (limited to 'sys-cluster/kubie/kubie-0.28.0.ebuild') diff --git a/sys-cluster/kubie/kubie-0.28.0.ebuild b/sys-cluster/kubie/kubie-0.28.0.ebuild new file mode 100644 index 0000000..410b2fa --- /dev/null +++ b/sys-cluster/kubie/kubie-0.28.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +RUST_MIN_VER="1.88.0" +CRATES=" " +inherit cargo shell-completion + +DESCRIPTION="A more powerful alternative to kubectx and kubens" +HOMEPAGE="https://github.com/kubie-org/kubie" +SRC_URI="https://github.com/kubie-org/kubie/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" +SRC_URI+=" https://share.terinstock.com/${P}-vendor.tar.xz " + +LICENSE="ZLIB" +# Dependent crate licenses +LICENSE+=" MIT Apache-2.0 Unicode-DFS-2016 0BSD Apache-2.0-with-LLVM-exceptions" +LICENSE+=" Boost-1.0 ISC BSD Unlicense MPL-2.0" + +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" sys-cluster/kubectl" + +src_unpack() { + cargo_src_unpack + ln -s "${WORKDIR}/vendor/"* "${CARGO_HOME}/gentoo/" || die +} + +src_configure() { + cargo_gen_config + cargo_src_configure --no-default-features --bin kubie +} + +src_install() { + cargo_src_install + + newbashcomp completion/kubie.bash kubie + newfishcomp completion/kubie.fish kubie +} -- cgit v1.3