From 1e21d60b9b73994fde795748a472e27fcc2ad34d Mon Sep 17 00:00:00 2001 From: saundersp Date: Sat, 11 Jan 2025 21:23:58 +0100 Subject: [PATCH] Added dev-vcs/lazygit-0.45.0 --- dev-vcs/lazygit/Manifest | 1 + dev-vcs/lazygit/lazygit-0.45.0.ebuild | 32 +++++++++++++++++++++++ metadata/md5-cache/dev-vcs/lazygit-0.45.0 | 14 ++++++++++ 3 files changed, 47 insertions(+) create mode 100644 dev-vcs/lazygit/lazygit-0.45.0.ebuild create mode 100644 metadata/md5-cache/dev-vcs/lazygit-0.45.0 diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest index 7ac7425..dfcae68 100644 --- a/dev-vcs/lazygit/Manifest +++ b/dev-vcs/lazygit/Manifest @@ -1 +1,2 @@ DIST lazygit-0.44.1.tar.gz 4731978 BLAKE2B 97a1f518f61127802ffde18f5c976c0e82af9c7d4fc0739fab5d28b4c5e0ca57237986c9ad63fe26bf4b7a87821a565ed9265f5dbb64b5219328025455d87f75 SHA512 036b17618c9bc4c436a9d08dd62b7553293a414ed3ac852c7a7edb39f20de86fb405d111391856bc4bf542e7d3ac163481e267249433705f40c7bc6eb83805ac +DIST lazygit-0.45.0.tar.gz 4762115 BLAKE2B 0c341599b721a742362919f80c7e75f40b3fd97b238f54b3599f07896f876ad87b971a341eeea954ba840a57dbe0f0e52c6b775c7088238ca7cdaf1dcd22f6d9 SHA512 cf91a32b2d505d36c4e84bfa4d3d98a901845ce9e9f6c1aebaf680d7a861bcabd737fad4119f33881198a63fcee879f534fa597f12ae32e6c689fc60276ccf8c diff --git a/dev-vcs/lazygit/lazygit-0.45.0.ebuild b/dev-vcs/lazygit/lazygit-0.45.0.ebuild new file mode 100644 index 0000000..9dee119 --- /dev/null +++ b/dev-vcs/lazygit/lazygit-0.45.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 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 ~arm64" + +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/metadata/md5-cache/dev-vcs/lazygit-0.45.0 b/metadata/md5-cache/dev-vcs/lazygit-0.45.0 new file mode 100644 index 0000000..26ef2ee --- /dev/null +++ b/metadata/md5-cache/dev-vcs/lazygit-0.45.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 ~arm64 +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.45.0.tar.gz -> lazygit-0.45.0.tar.gz +_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467 +_md5_=0bac9dced99b1fff4702aa6ea02d7791