From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 78E19138359 for ; Sat, 10 Oct 2020 13:34:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9672E0871; Sat, 10 Oct 2020 13:34:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8EE8EE0871 for ; Sat, 10 Oct 2020 13:34:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3B123340B57 for ; Sat, 10 Oct 2020 13:34:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B639838E for ; Sat, 10 Oct 2020 13:34:12 +0000 (UTC) From: "Sergey Torokhov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergey Torokhov" Message-ID: <1602336823.a62fc24657f9219e10d268704fca2416d988314a.SergeyTorokhov@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/lazygit/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-vcs/lazygit/lazygit-9999.ebuild X-VCS-Directories: dev-vcs/lazygit/ X-VCS-Committer: SergeyTorokhov X-VCS-Committer-Name: Sergey Torokhov X-VCS-Revision: a62fc24657f9219e10d268704fca2416d988314a X-VCS-Branch: dev Date: Sat, 10 Oct 2020 13:34:12 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 72e04b6f-94df-4236-90a5-2fba6692bd68 X-Archives-Hash: 77b4659e16b60a739160dc9da6f5b8e7 commit: a62fc24657f9219e10d268704fca2416d988314a Author: Sergey Torokhov yandex ru> AuthorDate: Sat Oct 10 13:31:19 2020 +0000 Commit: Sergey Torokhov yandex ru> CommitDate: Sat Oct 10 13:33:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a62fc246 dev-vcs/lazygit: add live ebuild Signed-off-by: Sergey Torokhov yandex.ru> dev-vcs/lazygit/lazygit-9999.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/dev-vcs/lazygit/lazygit-9999.ebuild b/dev-vcs/lazygit/lazygit-9999.ebuild new file mode 100644 index 00000000..1ffebb9d --- /dev/null +++ b/dev-vcs/lazygit/lazygit-9999.ebuild @@ -0,0 +1,37 @@ +# 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 git-r3 golang-build golang-vcs + +DESCRIPTION="Lazygit, a simple terminal UI for git commands" +HOMEPAGE="https://github.com/jesseduffield/lazygit" +EGIT_REPO_URI="https://github.com/jesseduffield/lazygit.git" +SRC_URI="" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +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 +}