From 3f3a926e1fa39a4c81823e9120d332f0d42a146d Mon Sep 17 00:00:00 2001 From: saundersp Date: Fri, 17 Jan 2025 17:41:46 +0100 Subject: [PATCH] Added dev-vcs/lazygit-0.45.2 --- dev-vcs/lazygit/Manifest | 1 + dev-vcs/lazygit/lazygit-0.45.2.ebuild | 32 +++++++++++++++++++++++ metadata/md5-cache/dev-vcs/lazygit-0.45.2 | 14 ++++++++++ 3 files changed, 47 insertions(+) create mode 100644 dev-vcs/lazygit/lazygit-0.45.2.ebuild create mode 100644 metadata/md5-cache/dev-vcs/lazygit-0.45.2 diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest index 9c21872..81c8c28 100644 --- a/dev-vcs/lazygit/Manifest +++ b/dev-vcs/lazygit/Manifest @@ -1 +1,2 @@ DIST lazygit-0.45.0.tar.gz 4762115 BLAKE2B 0c341599b721a742362919f80c7e75f40b3fd97b238f54b3599f07896f876ad87b971a341eeea954ba840a57dbe0f0e52c6b775c7088238ca7cdaf1dcd22f6d9 SHA512 cf91a32b2d505d36c4e84bfa4d3d98a901845ce9e9f6c1aebaf680d7a861bcabd737fad4119f33881198a63fcee879f534fa597f12ae32e6c689fc60276ccf8c +DIST lazygit-0.45.2.tar.gz 4770243 BLAKE2B b8373edfb5b39d4bacc3e8656bdfb3b02c237654562e223ffeb5d486ded943bd16c3cdc5cd07c134b831c376dd1fe67c37c6baf8d40aa1777e3c7a7a786c935e SHA512 129eeb99de46364361c916d545222b3bd376ac3ca5ec362ebc00c06d08dd450230aed0b797acf8270f20d5e00e9d6f9cb644b94f7fdfa27c617612639913865c diff --git a/dev-vcs/lazygit/lazygit-0.45.2.ebuild b/dev-vcs/lazygit/lazygit-0.45.2.ebuild new file mode 100644 index 0000000..9dee119 --- /dev/null +++ b/dev-vcs/lazygit/lazygit-0.45.2.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.2 b/metadata/md5-cache/dev-vcs/lazygit-0.45.2 new file mode 100644 index 0000000..5aad6d9 --- /dev/null +++ b/metadata/md5-cache/dev-vcs/lazygit-0.45.2 @@ -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.2.tar.gz -> lazygit-0.45.2.tar.gz +_eclasses_=multiprocessing 1e32df7deee68372153dca65f4a7c21f toolchain-funcs 14648d8795f7779e11e1bc7cf08b7536 multilib b2a329026f2e404e9e371097dda47f96 flag-o-matic f14aba975c94ccaa9f357a27e3b17ffe go-env 90efbc8636d2f02d9654183330e84cf7 go-module df32d29550d40a92da723d3b8e17b467 +_md5_=0bac9dced99b1fff4702aa6ea02d7791