dev-vcs/lazygit: drop old

Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
Sergey Torokhov
2020-07-12 02:48:52 +03:00
parent a00e76111f
commit 2ef8cefbb0
3 changed files with 0 additions and 70 deletions

View File

@@ -1,4 +1,3 @@
DIST lazygit-0.19.tar.gz 9193308 BLAKE2B c07141661387094651cb6137579dea8ab5231b3e08b0733124cc97f1392251db592e01d60297356c8c5df1f1db554bc8a3be86cd07beed158d33b9eabdb015d4 SHA512 6259fdb98ae74ee59f395bd79fcbe3280b679883cbc0c190e64a36464c258597e18a6b70842cb242696536cfea35ea9c83f43b05ad20ead4f5120e436875abad
DIST lazygit-0.20.3.tar.gz 9195508 BLAKE2B e20d6195ace5b36d2f47deaffeb838b547d87868ae7c63a7fc0b6f753648728575060ad90e9bbd3e379b30a6f657eeaf8479669a2f0660cadfae50fa7dd7efdc SHA512 810112ee42c11e9750d68fd3c22047b1bdd79d2fa92ece2cfb959f631c143b1d412756cd4ca8fa81c81a9889d4bc7e37053fd94990ec8f4f0ea7ae9d244a6512
DIST lazygit-0.20.4.tar.gz 9195728 BLAKE2B a662b86bfe142e8d157a1be99718b6c786771088c6417fc5667cf91dd5055f583220efef75d15ee7273b1e73f714b20e9b35cc1a74b47620d42d27f6f050dcb2 SHA512 c9924df0bbd4e22d6dbccefdd5428c92999256f31a73ffcc9603aaab66d3ad572292221b192b519929e232157cd5d297f32e0a45f96e308563f97ad936f5ed81
DIST lazygit-0.20.5.tar.gz 9195869 BLAKE2B 60ff71ebec314e406b8bdee446ec44de708116267b6b0e63db23a775a790c870aba24c7129c9709aeb48b7057e8938bf409b41e626feaf3b33a6da809f4b61da SHA512 e81f3d07ab6846487617589f7892b654fcf32351767329eaa0c78c8c2d0b8ac298ae4be83cc07a5651afc8c609937bc1477180437d41158b25dfccd2757b22b9

View File

@@ -1,32 +0,0 @@
From 7b7f7f0696d94c01852290fa3552caffa0b2af7b Mon Sep 17 00:00:00 2001
From: Glenn Vriesman <glenn.vriesman@gmail.com>
Date: Mon, 6 Apr 2020 19:26:12 +0200
Subject: [PATCH] fix: fixed gpg breaking terminal
Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
---
pkg/commands/commit_list_builder.go | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
diff --git a/src/github.com/jesseduffield/lazygit/pkg/commands/commit_list_builder.go b/pkg/commands/commit_list_builder.go
index 1204b488..f4bbc9dd 100644
--- a/src/github.com/jesseduffield/lazygit/pkg/commands/commit_list_builder.go
+++ b/src/github.com/jesseduffield/lazygit/pkg/commands/commit_list_builder.go
@@ -109,11 +109,12 @@ func (c *CommitListBuilder) GetCommits(options GetCommitsOptions) ([]*Commit, er
cmd := c.getLogCmd(options)
err = RunLineOutputCmd(cmd, func(line string) (bool, error) {
- commit := c.extractCommitFromLine(line)
- _, unpushed := unpushedCommits[commit.ShortSha()]
- commit.Status = map[bool]string{true: "unpushed", false: "pushed"}[unpushed]
- commits = append(commits, commit)
-
+ if strings.Split(line, " ")[0] != "gpg:" {
+ commit := c.extractCommitFromLine(line)
+ _, unpushed := unpushedCommits[commit.ShortSha()]
+ commit.Status = map[bool]string{true: "unpushed", false: "pushed"}[unpushed]
+ commits = append(commits, commit)
+ }
return false, nil
})
if err != nil {

View File

@@ -1,37 +0,0 @@
# 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"
RDEPEND=(
${DEPEND}
dev-vcs/git
)
DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md )
PATCHES=( "${FILESDIR}/${P}-fix-gpg-breaking-terminal.patch" )
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
}