diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest new file mode 100644 index 0000000..ced0048 --- /dev/null +++ b/dev-vcs/lazygit/Manifest @@ -0,0 +1,3 @@ +DIST lazygit-0.53.0.tar.gz 5360932 BLAKE2B c1484fe9ac7a39463ddb766d62ce91c9576b681928eca52fd5ab6d65316970416d7fbe4f9c14783b7bd0c1d5eb2cca81602a3522b36814d199895b86908cb0b3 SHA512 98cb4bf8df07133c677cd977d80b8e3a3f6e53c15505dd2a0241903752188f634ce7cc70a3030a33d9676bafc3c5838e7fd5768a2152b25bb2e74444ae194173 +EBUILD lazygit-0.53.0.ebuild 643 BLAKE2B 732aa7f4dc97683facc2e2b9bab9b3c86cf420c42857100313cceca7a441f3c724c0f590aa540e9f34d7a46d448346830a77936218e54ff9c21a39254840eb42 SHA512 42817a8ef0af9a7e94dfbbb8036ae7db06e2901b67d7376fbafc760d742eb8acdf07afed02957be3ea921e899977f374383ed18bf50f870c5428a9584b76ef7f +MISC metadata.xml 1352 BLAKE2B db8f0755033ec20415e2c636fc1ecc2d4ab716cfa8bf31380eb2029029e963fdb9f5783d38e48a5120b22939a7b3404b25d0046d9faf309966d21e966d723d06 SHA512 8b08d9c32705e1691d44af8f4963fbaa1728faed53d4fcc6336546cfc8a03610e921a505f9950d6612e1e307fc87fc66a4efb97f3cb624f34d9d9adc5afe1c0a diff --git a/dev-vcs/lazygit/lazygit-0.53.0.ebuild b/dev-vcs/lazygit/lazygit-0.53.0.ebuild new file mode 100644 index 0000000..3937e7e --- /dev/null +++ b/dev-vcs/lazygit/lazygit-0.53.0.ebuild @@ -0,0 +1,32 @@ +# 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" +SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0 BSD ISC MIT Unlicense" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-vcs/git" + +DOCS=( {CODE-OF-CONDUCT,CONTRIBUTING,README}.md docs ) + +src_compile() { + ego build -o bin/lazygit \ + -ldflags "-X main.version=${PV}" +} + +src_test() { + ego test ./... -short +} + +src_install() { + dobin bin/lazygit + einstalldocs +} diff --git a/dev-vcs/lazygit/metadata.xml b/dev-vcs/lazygit/metadata.xml new file mode 100644 index 0000000..3d8e106 --- /dev/null +++ b/dev-vcs/lazygit/metadata.xml @@ -0,0 +1,18 @@ + + + + + torokhov-s-a@yandex.ru + Sergey Torokhov + + +A simple terminal UI for git commands, written in Go with the gocui library. + +Rant time: You've heard it before, git is powerful, but what good is that power when everything is so damn hard to do? Interactive rebasing requires you to edit a goddamn TODO file in your editor? Are you kidding me? To stage part of a file you need to use a command line program to step through each hunk and if a hunk can't be split down any further but contains code you don't want to stage, you have to edit an arcane patch file by hand? Are you KIDDING me?! Sometimes you get asked to stash your changes when switching branches only to realise that after you switch and unstash that there weren't even any conflicts and it would have been fine to just checkout the branch directly? YOU HAVE GOT TO BE KIDDING ME! + +If you're a mere mortal like me and you're tired of hearing how powerful git is when in your daily life it's a powerful pain in your ass, lazygit might be for you. + + + jesseduffield/lazygit + + diff --git a/metadata/md5-cache/dev-vcs/lazygit-0.53.0 b/metadata/md5-cache/dev-vcs/lazygit-0.53.0 new file mode 100644 index 0000000..3261ea0 --- /dev/null +++ b/metadata/md5-cache/dev-vcs/lazygit-0.53.0 @@ -0,0 +1,14 @@ +BDEPEND=>=dev-lang/go-1.20:= app-arch/unzip +DEFINED_PHASES=compile install test unpack +DESCRIPTION=Simple terminal UI for git commands +EAPI=8 +HOMEPAGE=https://github.com/jesseduffield/lazygit +INHERIT=go-module +KEYWORDS=~amd64 +LICENSE=Apache-2.0 BSD ISC MIT Unlicense +RDEPEND=dev-vcs/git +RESTRICT=strip +SLOT=0 +SRC_URI=https://github.com/jesseduffield/lazygit/archive/v0.53.0.tar.gz -> lazygit-0.53.0.tar.gz +_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs a6df79c1e9bc84369dbf3d44206ac772 flag-o-matic a7afe42e95fb46ce9691605acfb24672 go-env 0e2babf96e7d0b045fc07ad199eb2399 go-module 191a27261275fc3bff7dd7482361b5d6 +_md5_=848b57c9b2e3317fdeecf2234d09bfa0