sys-cluster/vcluster-bin - 0.33.1 (ace)

Search

Install

Install this version:

emerge -a =sys-cluster/vcluster-bin-0.33.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sys-cluster/vcluster-bin-0.33.1

Or alternatively:

emerge --autounmask-write -a =sys-cluster/vcluster-bin-0.33.1

Package Information

Description:
Create fully functional virtual Kubernetes clusters
Homepage:
https://www.vcluster.com/
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
0.33.1 8 ~amd64 ~arm64 0
View Raw Ebuild
# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit bash-completion-r1

MY_PN="${PN%-bin}"

DESCRIPTION="Create fully functional virtual Kubernetes clusters"
HOMEPAGE="https://www.vcluster.com/"
SRC_URI="
	amd64? ( https://github.com/loft-sh/${MY_PN}/releases/download/v${PV}/${MY_PN}-linux-amd64 -> ${P}-amd64 )
	arm64? ( https://github.com/loft-sh/${MY_PN}/releases/download/v${PV}/${MY_PN}-linux-arm64 -> ${P}-arm64 )
"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE=""

RESTRICT="mirror test"

QA_PREBUILT="
	usr/bin/${MY_PN}"

S="${WORKDIR}"

src_unpack() {
	cp "${DISTDIR}/${A}" "${S}/${MY_PN}"
	chmod +x "${S}/${MY_PN}"
}

src_install() {
	./${MY_PN} completion bash > ${MY_PN}.bash || die
	./${MY_PN} completion zsh > ${MY_PN}.zsh || die
	./${MY_PN} completion fish > ${MY_PN}.fish || die

	dobin ${MY_PN}

	newbashcomp ${MY_PN}.bash ${MY_PN}

	insinto /usr/share/zsh/site-functions
	newins ${MY_PN}.zsh _${MY_PN}

	insinto /usr/share/fish/vendor_completions.d
	doins ${MY_PN}.fish
}

Inherited Eclasses

Manifest for 0.33.1

Type File Size Source URLs
DIST vcluster-bin-0.33.1-amd64 96374968 bytes https://github.com/loft-sh/vcluster/releases/download/v0.33.1/-linux-amd64
DIST vcluster-bin-0.33.1-arm64 90243256 bytes https://github.com/loft-sh/vcluster/releases/download/v0.33.1/-linux-arm64