commit: 0e1db6b14a8fea0ca77f9cd64d21c7d4dd277e35 Author: Kenton Groombridge <concord <AT> gentoo <DOT> org> AuthorDate: Sun Apr 6 02:08:16 2025 +0000 Commit: Kenton Groombridge <concord <AT> gentoo <DOT> org> CommitDate: Sun Apr 6 02:08:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e1db6b1
sys-cluster/flux: fix QA warnings for 0.41.2 Signed-off-by: Kenton Groombridge <concord <AT> gentoo.org> sys-cluster/flux/flux-0.41.2.ebuild | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/sys-cluster/flux/flux-0.41.2.ebuild b/sys-cluster/flux/flux-0.41.2.ebuild index 3e8f5b0393f5..8f006196fa03 100644 --- a/sys-cluster/flux/flux-0.41.2.ebuild +++ b/sys-cluster/flux/flux-0.41.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 2023 Gentoo Authors +# Copyright 2023-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit bash-completion-r1 go-module +inherit go-module shell-completion DESCRIPTION="Flux is a tool for keeping Kubernetes clusters in sync" HOMEPAGE="https://fluxcd.io https://github.com/fluxcd/flux2" @@ -10,6 +10,8 @@ SRC_URI="https://github.com/fluxcd/flux2/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/flux2-${PV}-deps.tar.xz" SRC_URI+=" https://dev.gentoo.org/~concord/distfiles/flux2-${PV}-manifests.tar.xz" +S="${WORKDIR}/flux2-${PV}" + LICENSE="Apache-2.0 BSD BSD-2 ISC MIT MPL-2.0" SLOT="0" KEYWORDS="~amd64" @@ -18,7 +20,6 @@ IUSE="hardened" BDEPEND=">=dev-lang/go-1.19" RESTRICT+=" test" -S="${WORKDIR}/flux2-${PV}" src_compile() { mv "${WORKDIR}"/manifests cmd/"${PN}" || die @@ -31,6 +32,5 @@ src_install() { bin/${PN} completion bash > ${PN}.bash || die bin/${PN} completion zsh > ${PN}.zsh || die newbashcomp ${PN}.bash ${PN} - insinto /usr/share/zsh/site-functions - newins ${PN}.zsh _${PN} + newzshcomp ${PN}.zsh _${PN} }
