Gentoo Archives: gentoo-commits

From: Sergey Torokhov <torokhov-s-a@××××××.ru>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/lazygit/
Date: Sun, 20 Feb 2022 19:21:25
Message-Id: 1645384772.d5be54af21ec729531a2fd9d964640056199aea1.SergeyTorokhov@gentoo
1 commit: d5be54af21ec729531a2fd9d964640056199aea1
2 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
3 AuthorDate: Sun Feb 20 19:19:32 2022 +0000
4 Commit: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru>
5 CommitDate: Sun Feb 20 19:19:32 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d5be54af
7
8 dev-vcs/lazygit: 0.33 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.33.ebuild | 36 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-vcs/lazygit/Manifest b/dev-vcs/lazygit/Manifest
17 index cc3bd3b1e..ab15986ab 100644
18 --- a/dev-vcs/lazygit/Manifest
19 +++ b/dev-vcs/lazygit/Manifest
20 @@ -1,2 +1,3 @@
21 DIST lazygit-0.31.3.tar.gz 3541696 BLAKE2B ba4131162f8aa187f9c1de9c301e47520d410320e36d56dcc3ed41d2432950a6b0e5b4482872c1400e8cec548a4454fdf5feebf442742df4debee37dd3e855f2 SHA512 045d09ea105d4f5493e93a0ca4472e1a35fafff0a98a5294d12f0cb1c94b6d9918746d4c2cc2f047af2e9b162fdfa3e00fc94bde45e70bcdf182eeef3db80d12
22 DIST lazygit-0.31.4.tar.gz 3540918 BLAKE2B 58f07b6f4c6fafe787c6e5dcd9e0bf4fa4133be34f893b5c1429021c8308953e0486442e563e99f19be4c51aa2c100067de6b7bf244fd0f932cd54e9d56a06d7 SHA512 2fb4f312ca4c4803f49cebf2487203e73f8d6b2c58f0ca477ff7857a5fc91f422c5942b7ab7b7e820cd95a205f270ba4d09075a1395dc4cf23531151fdb623e2
23 +DIST lazygit-0.33.tar.gz 3729628 BLAKE2B 1cd9a081e5c0b5bd1248404771ed0d2617ef07ce1257a14ebaa13eab785d70ead908d3151fa6019fbc5149d24f7d69a351e7137c2c3878e38cd0630751197e9d SHA512 e878ef0eb64a8d3fb536767f33787dbf06fd27deb2a292e9658f1c97073b5c30d95f3390215bf973e90acc136bcddb839024fddcd4bf25e6dab5f2762a2db379
24
25 diff --git a/dev-vcs/lazygit/lazygit-0.33.ebuild b/dev-vcs/lazygit/lazygit-0.33.ebuild
26 new file mode 100644
27 index 000000000..7e93aa089
28 --- /dev/null
29 +++ b/dev-vcs/lazygit/lazygit-0.33.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 1999-2022 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 +}