Сравнение kubeadm-1.34.3 с kubeadm-1.35.0

/usr/portage/sys-cluster/kubeadm/kubeadm-1.35.0.ebuild 2026-03-03 11:46:18.693652107 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit go-module toolchain-funcs shell-completion
6
inherit go-env go-module shell-completion sysroot
7 7

  
8 8
DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
9 9
HOMEPAGE="https://kubernetes.io"
......
20 20

  
21 21
RDEPEND="app-containers/cri-tools
22 22
	selinux? ( sec-policy/selinux-kubernetes )"
23
BDEPEND=">=dev-lang/go-1.24.6"
23
BDEPEND=">=dev-lang/go-1.25.4"
24 24

  
25 25
QA_PRESTRIPPED=usr/bin/kubeadm
26 26

  
27 27
src_compile() {
28
	FORCE_HOST_GO=yes emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
28
	local GOOS=$(go-env_goos)
29 29

  
30
	if ! tc-is-cross-compiler; then
31
		einfo "generating shell completion files"
32
		_output/bin/${PN} completion bash > ${PN}.bash || die
33
		_output/bin/${PN} completion zsh > ${PN}.zsh || die
34
	fi
30
	emake -j1 GOFLAGS="${GOFLAGS}" GOLDFLAGS="" LDFLAGS="" FORCE_HOST_GO=yes \
31
		KUBE_BUILD_PLATFORMS="${GOOS}/${GOARCH}" KUBE_${GOOS@U}_${GOARCH@U}_CC="${CC}" \
32
		WHAT=cmd/${PN}
33

  
34
	bin=_output/local/bin/${GOOS}/${GOARCH}/${PN}
35

  
36
	einfo "generating shell completion files"
37
	sysroot_try_run_prefixed ${bin} completion bash > ${PN}.bash || die
38
	sysroot_try_run_prefixed ${bin} completion zsh > ${PN}.zsh || die
35 39
}
36 40

  
37 41
src_install() {
38
	dobin _output/bin/${PN}
42
	dobin ${bin}
39 43

  
40
	if ! tc-is-cross-compiler; then
41
		newbashcomp ${PN}.bash ${PN}
42
		newzshcomp ${PN}.zsh _${PN}
43
	else
44
		ewarn "Shell completion files not installed! Install them manually with '${PN} completion --help'"
45
	fi
44
	[[ -s ${PN}.bash ]] && newbashcomp ${PN}.bash ${PN}
45
	[[ -s ${PN}.zsh ]] && newzshcomp ${PN}.zsh _${PN}
46 46
}
Спасибо!