Gentoo Archives: gentoo-commits

From: Florian Schmaus <flow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-vcs/lazygit/
Date: Wed, 27 Oct 2021 06:18:14
Message-Id: 1635294145.e42ec0269d99f7aeede294519fa656f84e25e4eb.flow@gentoo
1 commit: e42ec0269d99f7aeede294519fa656f84e25e4eb
2 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
3 AuthorDate: Wed Oct 27 00:22:25 2021 +0000
4 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 27 00:22:25 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e42ec026
7
8 dev-vcs/lazygit: 0.30.1 version bump
9
10 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru>
11
12 dev-vcs/lazygit/Manifest | 1 +
13 dev-vcs/lazygit/lazygit-0.30.1.ebuild | 36 +++++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest
17 index f26ae888a..f323f6143 100644
18 --- a/dev-vcs/lazygit/Manifest
19 +++ b/dev-vcs/lazygit/Manifest
20 @@ -1,2 +1,3 @@
21 DIST lazygit-0.29.tar.gz 3385768 BLAKE2B 4968a45572d85a3af84fc8f459dbab1cfd3a70954c650f16ddd8e937a810b590c974642e94b26614f4b24166b6c4db2fc8dd2538052875d827fdecc8bf8acb18 SHA512 f24d63a01bc64e2704805a20437af7ad0304921c2b4084f64014f9a8d9d9711ef02f4cdcf09ee9955ea5f2ef4f94de58c9ecc55fa7cb05fc59a89c7d8c9237d7
22 DIST lazygit-0.30.tar.gz 3521302 BLAKE2B 4d8bbf02aec124b89e2f05b8fd357aeb9ff75139b753d958ed61f4bd5298563c11736c1cf2dff70c55ff5eb86829a0283bee0ef56ba1327ff48a66e5234efb3c SHA512 16bd4b8fce43354aec9bc4da69e08843346527897fba85aff966a992f4d75b12d731aed9095b9f7d24a7def7f5b017a6dbaa63c44456f06d8dd5fe9760672663
23 +DIST lazygit-0.30.1.tar.gz 3520967 BLAKE2B 442bec8a7ffc7246895966e57aebb0631f774cffacba451e63d0964b72eba307a520a56413c06f2debef61466379b0e94608df6194f9631bbfda0354026dab4d SHA512 428f49511de3c4fb00aaf28c0c095464ee367d64557e355b86c4ab995dd9285fc411f5f981e06a08d8a6cf30c04f9ee305bdc34bdbec46fe048b463d12eee8ab
24
25 diff --git a/dev-vcs/lazygit/lazygit-0.30.1.ebuild b/dev-vcs/lazygit/lazygit-0.30.1.ebuild
26 new file mode 100644
27 index 000000000..233a104b0
28 --- /dev/null
29 +++ b/dev-vcs/lazygit/lazygit-0.30.1.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +EGO_PN="github.com/jesseduffield/lazygit"
37 +
38 +inherit golang-build golang-vcs-snapshot
39 +
40 +DESCRIPTION="Lazygit, a simple terminal UI for git commands"
41 +HOMEPAGE="https://github.com/jesseduffield/lazygit"
42 +SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="MIT"
45 +SLOT="0"
46 +KEYWORDS="~amd64"
47 +IUSE="doc"
48 +
49 +DEPEND=( sys-libs/glibc )
50 +RDEPEND=(
51 + ${DEPEND}
52 + dev-vcs/git
53 +)
54 +
55 +DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md )
56 +
57 +src_compile() {
58 + GOPATH="${S}" go build -v -o bin/lazygit src/${EGO_PN}/main.go || die
59 +}
60 +
61 +src_install() {
62 + dobin bin/lazygit
63 +
64 + use doc && dodoc -r "src/${EGO_PN}/docs/."
65 + einstalldocs
66 +}