Added dev-vcs/lazygit-0.50.0

This commit is contained in:
saundersp
2025-05-09 19:21:56 +02:00
parent 22eb4b4b4f
commit 3e808ee357
4 changed files with 67 additions and 0 deletions

3
dev-vcs/lazygit/Manifest Normal file
View File

@ -0,0 +1,3 @@
DIST lazygit-0.50.0.tar.gz 5320489 BLAKE2B 0184cbab4cfe8b7c2560029a7daacb80758a87a428b742de06650294278ca4294a87f1a48edea34eed6b85b7acd70a2111f29bf6afcec5d6e2133e949393b588 SHA512 ac8c3260ead242426d87c544555ff147cec0ab37d482a7abbed05f859cf729edcbf69f0bd60358371c2c76ab48b47296c1068dbf8a34ca1aefa3053e844b913b
EBUILD lazygit-0.50.0.ebuild 643 BLAKE2B 732aa7f4dc97683facc2e2b9bab9b3c86cf420c42857100313cceca7a441f3c724c0f590aa540e9f34d7a46d448346830a77936218e54ff9c21a39254840eb42 SHA512 42817a8ef0af9a7e94dfbbb8036ae7db06e2901b67d7376fbafc760d742eb8acdf07afed02957be3ea921e899977f374383ed18bf50f870c5428a9584b76ef7f
MISC metadata.xml 1352 BLAKE2B db8f0755033ec20415e2c636fc1ecc2d4ab716cfa8bf31380eb2029029e963fdb9f5783d38e48a5120b22939a7b3404b25d0046d9faf309966d21e966d723d06 SHA512 8b08d9c32705e1691d44af8f4963fbaa1728faed53d4fcc6336546cfc8a03610e921a505f9950d6612e1e307fc87fc66a4efb97f3cb624f34d9d9adc5afe1c0a

View File

@ -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
}

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>torokhov-s-a@yandex.ru</email>
<name>Sergey Torokhov</name>
</maintainer>
<longdescription lang="en">
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.
</longdescription>
<upstream>
<remote-id type="github">jesseduffield/lazygit</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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.50.0.tar.gz -> lazygit-0.50.0.tar.gz
_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs f9d71a6efe9d083aec750dd13968e169 flag-o-matic b892042b2667b8ac69ec8a2571dc290a go-env 0e2babf96e7d0b045fc07ad199eb2399 go-module 191a27261275fc3bff7dd7482361b5d6
_md5_=848b57c9b2e3317fdeecf2234d09bfa0