mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 04:23:16 -04:00
dev-util/kubetail: add 0.9.1-r1 with build from vendored source tarball
Signed-off-by: Andres Morey <andres@kubetail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST kubetail-0.9.0.tar.gz 618012 BLAKE2B 7948912708565d8170e90b8e79c5982bf88af0a07cc6742b7b04cf0be904d8c9ab8d7cb9d710092f34aa4ed51c1dc6cae9b9adc7e18d2c290a47d0d02cc6c27d SHA512 c76605dc3ddca95aebe0cacfa0eef0e602781850fba0c23ceff84e1b35c770364d9daca2c5073a70eb87c8e81f51d7b25a309e466a32d873d5fdbd3fc4db109e
|
||||
DIST kubetail_0.9.0.orig.tar.xz 12070328 BLAKE2B b6b6b3530200ac8990e902c343f982f555bde32404ea649bd7d5d4100e3b710e7192ef23f72be4684b52df051fde61b9c8da020a34bdb72cdec51936ae3b1390 SHA512 6f8fd21a62ed85426c77162f86152884a81dec16317fa40cd0a961ddab3097a63c595f6115c9ffb420bb27c2a61a89c4f2dcdef55c340ee9576493f1ed2e4d0a
|
||||
|
||||
51
dev-util/kubetail/kubetail-0.9.0-r1.ebuild
Normal file
51
dev-util/kubetail/kubetail-0.9.0-r1.ebuild
Normal file
@@ -0,0 +1,51 @@
|
||||
# Copyright 2021-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit shell-completion
|
||||
|
||||
DESCRIPTION="Real-time logging dashboard for Kubernetes"
|
||||
|
||||
HOMEPAGE="https://github.com/kubetail-org/kubetail"
|
||||
|
||||
SRC_URI="https://github.com/kubetail-org/kubetail/releases/download/cli%2Fv${PV}/kubetail_${PV}.orig.tar.xz"
|
||||
|
||||
S="${WORKDIR}/kubetail-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-lang/go-1.24.7
|
||||
"
|
||||
|
||||
RDEPEND="sys-cluster/kubectl"
|
||||
|
||||
QA_PREBUILT="usr/bin/kubetail"
|
||||
|
||||
src_compile() {
|
||||
(
|
||||
cd modules/cli || die
|
||||
GOWORK=off go build \
|
||||
-mod=vendor \
|
||||
-ldflags "-s -w -X github.com/kubetail-org/kubetail/modules/cli/cmd.version=${PV}" \
|
||||
-o ../../bin/kubetail \
|
||||
. || die
|
||||
)
|
||||
|
||||
./bin/kubetail completion bash > "kubetail.bash" || die
|
||||
./bin/kubetail completion zsh > "kubetail.zsh" || die
|
||||
./bin/kubetail completion fish > "kubetail.fish" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/kubetail || die
|
||||
|
||||
newbashcomp "kubetail.bash" kubetail
|
||||
newzshcomp "kubetail.zsh" "_kubetail"
|
||||
dofishcomp "kubetail.fish"
|
||||
}
|
||||
Reference in New Issue
Block a user