commit: 006213954ffed89ba3f9e14331795d309f23d27b Author: Nils Freydank <holgersson <AT> posteo <DOT> de> AuthorDate: Sun Oct 19 09:50:02 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Oct 19 17:57:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00621395
dev-vcs/git-lfs: Housekeeping in live ebuild - use edo.eclass - quote and use curly brackets in the instruction comment block - set the QA_PRESTRIPPED entry Bug: https://bugs.gentoo.org/960246 Signed-off-by: Nils Freydank <holgersson <AT> posteo.de> Part-of: https://github.com/gentoo/gentoo/pull/44241 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-vcs/git-lfs/git-lfs-9999.ebuild | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/dev-vcs/git-lfs/git-lfs-9999.ebuild b/dev-vcs/git-lfs/git-lfs-9999.ebuild index 4c2743167cb3..c0f906928ab3 100644 --- a/dev-vcs/git-lfs/git-lfs-9999.ebuild +++ b/dev-vcs/git-lfs/git-lfs-9999.ebuild @@ -6,7 +6,7 @@ EGO_PN=github.com/git-lfs/git-lfs # Update the ID as it's included in each build. COMMIT_ID="" -inherit go-module shell-completion +inherit edo go-module shell-completion DESCRIPTION="Command line extension and specification for managing large files with git" HOMEPAGE=" @@ -25,9 +25,9 @@ else # pretty constraint systems. # Use something like: # GOMODCACHE="${PWD}"/go-mod go mod download -modcacherw - # tar cf $P-deps.tar go-mod \ + # tar cf "${P}-deps.tar" go-mod \ # --mtime="1970-01-01" --sort=name --owner=portage --group=portage - # xz -k -9eT0 --memlimit-decompress=256M $P-deps.tar + # xz -k -9eT0 --memlimit-decompress=256M "${P}-deps.tar" SRC_URI+=" https://files.holgersson.xyz/gentoo/distfiles/golang-pkg-deps/${P}-deps.tar.xz" fi @@ -42,6 +42,8 @@ BDEPEND=" RDEPEND="dev-vcs/git" RESTRICT+=" !test? ( test )" +# The golang compiler already strips. +QA_PRESTRIPPED="/usr/bin/git-lfs" DOCS=( CHANGELOG.md @@ -66,7 +68,8 @@ src_compile() { if use doc; then for doc in docs/man/*adoc; - do asciidoctor -b manpage ${doc} || die "man building failed" + do + edo asciidoctor -b manpage "${doc}" done fi
