commit:     85d09f0002155df9eeaf8890674f10cf84f96ed0
Author:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Tue Dec  9 18:31:23 2025 +0000
Commit:     Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
CommitDate: Tue Dec  9 18:31:23 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=85d09f00

dev-vcs/lazygit: 0.57.0 version bump

Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>

 dev-vcs/lazygit/Manifest              |  1 +
 dev-vcs/lazygit/lazygit-0.57.0.ebuild | 44 +++++++++++++++++++++++++++++++++++
 2 files changed, 45 insertions(+)

diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest
index 032afe0ef1..92db5ac96d 100644
--- a/dev-vcs/lazygit/Manifest
+++ b/dev-vcs/lazygit/Manifest
@@ -2,3 +2,4 @@ DIST lazygit-0.54.2.tar.gz 5363291 BLAKE2B 
dc5827488cb84ca0f91516005ca18e1a5dd9b
 DIST lazygit-0.55.0.tar.gz 5366970 BLAKE2B 
23bd83bc370da61bab29e6844df21b03328a5eacb06cc029b0124e1f88cc0df65f8cb62a5dc6e021576a4000e9abc5044d3250caba695aeffd2e7af2d36d9130
 SHA512 
471f97e4f27591459809a06ad5163bbfcd25f9a648f4ddcd167c09f0e68aff503b700cc08a49c44a506e26b67e43b3c383d2d2a7337c88774d7230dda005bf54
 DIST lazygit-0.55.1.tar.gz 5366730 BLAKE2B 
bd3857719df9969727fa5845975018749e0d8073576dd8cc5f49afcaa7413792565ba070ae9e0c2fa38ddb11be1568fdad798ffc23a8b99ff65d103dd8d83373
 SHA512 
2595e917abb7510bfb9840a7d88864710f18005ab4d7bae13be9054633eff73a0b2726f0b152e8481262086e759ca1ec1bea62e4051e700c760564c4e7eae088
 DIST lazygit-0.56.0.tar.gz 5136790 BLAKE2B 
76d0eca73391ce73be6c76abfd5c7de0b88f6152f1735cbaf7615b9d5e1a818dec08b976467c00d56fdd8dd4b979843f8a707f445d85cf6ef36f19e2e4540f6d
 SHA512 
4a346491e6b0ec0df1a94d749d61b77ae708c516dccabd5c8bfee3b4551c6c96ef7688ad5b46de2ffa246368d02e4f9e0a3c957f6088fa403d0c04a8760c8f6e
+DIST lazygit-0.57.0.tar.gz 5218072 BLAKE2B 
760dab6e1641ba0d2303bc9b1d8f258ed19f23a8b8c39af94a1518fb7354cd8e8493f55a361bfaa7f5a9b9b78a384cde6e6422c6576c2a923537062d64b19093
 SHA512 
4d931971ad4e96e54f08598b63cef36bc5f07bb2810d0ae24746a9da52c7c512d38dafa8d2a122edc1d4a14802ce2a11fb39a15b5520d431c1048510c94635ea

diff --git a/dev-vcs/lazygit/lazygit-0.57.0.ebuild 
b/dev-vcs/lazygit/lazygit-0.57.0.ebuild
new file mode 100644
index 0000000000..8dd8579927
--- /dev/null
+++ b/dev-vcs/lazygit/lazygit-0.57.0.ebuild
@@ -0,0 +1,44 @@
+# 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";
+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_unpack() {
+       if [[ "$PV" == *9999* ]];then
+               git-r3_src_unpack
+       else
+               default
+       fi
+}
+
+src_compile() {
+       ego build -o "bin/${PN}" \
+               -ldflags "-X main.version=${PV}"
+}
+
+src_test() {
+       ego test ./... -short
+}
+
+src_install() {
+       dobin "bin/${PN}"
+       einstalldocs
+}

Reply via email to