commit: 568e7788407a4599cd1a28d09668605b496c8f56 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> AuthorDate: Sat Dec 26 08:42:39 2020 +0000 Commit: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> CommitDate: Sat Dec 26 08:42:39 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=568e7788
dev-vcs/lazygit: 0.24.2 version bump Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> dev-vcs/lazygit/Manifest | 1 + dev-vcs/lazygit/lazygit-0.24.2.ebuild | 36 +++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest index aabf37b2..dee25348 100644 --- a/dev-vcs/lazygit/Manifest +++ b/dev-vcs/lazygit/Manifest @@ -1,3 +1,4 @@ DIST lazygit-0.20.9.tar.gz 9196030 BLAKE2B 7fd64d06b3036926b00cc64f684d48a3791561e9b48f4bfbc2134e019caf4c96f8a37e2a1d33c79cab9a840b20f212f999f81d1e5a9763e2902332c298ede613 SHA512 d38fd390076a24b914309b6ecb506fc7b21e48c0bfab14aee5ff3bb7bcb591f47bf82051e5442ca4d4d2a0d864eb1554a64c594aefb130ec4f07861128d124dd DIST lazygit-0.22.9.tar.gz 9232631 BLAKE2B 50febf0727dc3fff0e61b158bc37df4128cdc9934a42b113612896a3712fb7cd0ce0a0860eec88cbbde289fd08fb492e851937be549a2036ad993bdeb3a101ae SHA512 9d4dc92762099c141e56bbb386217ea2028ba6a78d6bb5d54ef9c022e447a1b9fa2ce37d6e2813411fe6fa4f5192753beec8b136838aefe067019fd0820225e1 DIST lazygit-0.23.7.tar.gz 2144614 BLAKE2B d18aaa19212ec9e6ed7d3b406d3e1f6413f6c15bf6a8c7c99cb8a2b01b9388db3f1ad04c485782e0823415cec3c6b461cf942583ef0ac744cb18270c8fc943b1 SHA512 ffc827a08a3ba99afa339cee48b9e10267bc4aa27592d43ec1e4be80a7b4f9e628f286b50a1940a59a5cfa96121de6ce4247ec91642a8798dba8ca42232596b9 +DIST lazygit-0.24.2.tar.gz 2155627 BLAKE2B 6ed6c44590f0585935ebdb8374ba7649df84092cf752b17f3ab0791f55eb8516de9530fbc18891aeb9acfb1b743804df87c679f8cebabcbd353d563e23cacd5a SHA512 f380dec647384f0084c4c13b8ca43a8d97411c83c4c66ef02645c785054b3a7e2210d5a1ce98676c6d190beccf51f21ecd38851598f7652ff087ac73addbd097 diff --git a/dev-vcs/lazygit/lazygit-0.24.2.ebuild b/dev-vcs/lazygit/lazygit-0.24.2.ebuild new file mode 100644 index 00000000..df46884b --- /dev/null +++ b/dev-vcs/lazygit/lazygit-0.24.2.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_PN="github.com/jesseduffield/lazygit" + +inherit golang-build golang-vcs-snapshot + +DESCRIPTION="Lazygit, a 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="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc" + +DEPEND=( sys-libs/glibc ) +RDEPEND=( + ${DEPEND} + dev-vcs/git +) + +DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md ) + +src_compile() { + GOPATH="${S}" go build -v -o bin/lazygit src/${EGO_PN}/main.go || die +} + +src_install() { + dobin bin/lazygit + + use doc && dodoc -r "src/${EGO_PN}/docs/." + einstalldocs +}