app-admin/stern - 1.34.0 (nest)

Search

Install

Install this version:

emerge -a =app-admin/stern-1.34.0

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

autounmask =app-admin/stern-1.34.0

Or alternatively:

emerge --autounmask-write -a =app-admin/stern-1.34.0

Package Information

Description:
Multi pod and container log tailing for Kubernetes
Homepage:
https://github.com/stern/stern
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
1.34.0 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit edo go-module shell-completion

DESCRIPTION="Multi pod and container log tailing for Kubernetes"
HOMEPAGE="https://github.com/stern/stern"
SRC_URI="https://github.com/stern/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
	https://github.com/SpiderX/portage-overlay/releases/download/${P}/${P}-deps.tar.xz"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"

BDEPEND=">=dev-lang/go-1.26.2"

DOCS=( {CHANGELOG,README}.md )

src_compile() {
	ego build -ldflags="-X github.com/stern/stern/cmd.version=${PV}" -o dist/stern

	local completion
	for completion in bash zsh fish ; do
		edo dist/stern --completion "${completion}" > stern."${completion}"
	done
}

src_test() {
	ego test -work ./...
}

src_install() {
	einstalldocs
	dobin dist/stern

	newbashcomp stern.bash stern
	newfishcomp stern.fish stern
	newzshcomp stern.zsh _stern
}

Inherited Eclasses

edo

Dependencies

BDEPEND

>=dev-lang/go-1.26.2

Manifest for 1.34.0

Type File Size Source URLs
DIST stern-1.34.0-deps.tar.xz 11994844 bytes https://github.com/SpiderX/portage-overlay/releases/download/stern-1.34.0/stern-1.34.0-deps.tar.xz
DIST stern-1.34.0.tar.gz 67279 bytes https://github.com/stern/stern/archive/v1.34.0.tar.gz