commit: 6754bf6cb9ad03901614d8f7be672e61afc1260a Author: ingenarel <ingenarelitems <AT> gmail <DOT> com> AuthorDate: Wed Aug 6 04:28:51 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Wed Aug 6 04:28:51 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6754bf6c
dev-vcs/lazygit: add 0.54.0 Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com> dev-vcs/lazygit/Manifest | 1 + dev-vcs/lazygit/lazygit-0.54.0.ebuild | 39 +++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest index 1bb70ac968..5ebfe4c4af 100644 --- a/dev-vcs/lazygit/Manifest +++ b/dev-vcs/lazygit/Manifest @@ -2,3 +2,4 @@ DIST lazygit-0.50.0.tar.gz 5320489 BLAKE2B 0184cbab4cfe8b7c2560029a7daacb80758a8 DIST lazygit-0.51.1.tar.gz 5329099 BLAKE2B 04a1fee358f6f90c27ccddd5352956ddaddfe6f9e4e608032bfe5563ab69bd12a8d9f5f7ab25724ec9a489fa3e45fb9865cde00500cecba5ce1b0cf927387a4e SHA512 1300a8b697209981d89e8c1d6eb3e1f39f6a8113dfaeebc5eb29c210044ccfa688865c275a408eaf7f8a697384b5b6e9f817fd55a1a8c70133bf6db0eeadfed2 DIST lazygit-0.52.0.tar.gz 5328915 BLAKE2B 3a9200f9e8cecf8a4fba920768cef3f531e190f3996cb947e7034d2d146d88787d5634f9b524320b295504f8c543a0bf956dacbfbde621a95435d0b548201c52 SHA512 aacb8d9a36c919b273c4a448e80fc9c13df581331b6e4cba8dc4af20b8e78f0f7546ffa51e789bd3595f770e46c65906c266e72ae4355d72c7fde36758f7d8f4 DIST lazygit-0.53.0.tar.gz 5360932 BLAKE2B c1484fe9ac7a39463ddb766d62ce91c9576b681928eca52fd5ab6d65316970416d7fbe4f9c14783b7bd0c1d5eb2cca81602a3522b36814d199895b86908cb0b3 SHA512 98cb4bf8df07133c677cd977d80b8e3a3f6e53c15505dd2a0241903752188f634ce7cc70a3030a33d9676bafc3c5838e7fd5768a2152b25bb2e74444ae194173 +DIST lazygit-0.54.0.tar.gz 5362017 BLAKE2B 03ba95a4074db88a2ede507e646812a4f8c9caa721199aab90c62790248cf5a6f8da824cdf1c91e22641749ce8a13649b0a3d2081da9ba5ac5bf928a2fa6e979 SHA512 0a2416ad5593fef07c546180d9ce046d2a0a571cb7d587c6c202ac277852d66c425b13146142d1ca609d13d0249917a9ad112826c32359f483c9dc766fb46119 diff --git a/dev-vcs/lazygit/lazygit-0.54.0.ebuild b/dev-vcs/lazygit/lazygit-0.54.0.ebuild new file mode 100644 index 0000000000..398916c00d --- /dev/null +++ b/dev-vcs/lazygit/lazygit-0.54.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Simple terminal UI for git commands" +HOMEPAGE="https://github.com/jesseduffield/lazygit" +if [[ "${PV}" == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/jesseduffield/${PN}.git" + src_unpack() { + git-r3_src_unpack + } +else + KEYWORDS="~amd64" + SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +fi + +LICENSE="Apache-2.0 BSD ISC MIT Unlicense" +SLOT="0" +RDEPEND="dev-vcs/git" + +DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs ) + +src_compile() { + ego build -o "bin/${PN}" \ + -ldflags "-X main.version=${PV}" +} + +src_test() { + ego test ./... -short +} + +src_install() { + dobin "bin/${PN}" + einstalldocs +}
