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 DBF00138350 for ; Wed, 8 Apr 2020 12:09:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C4D2E0A8F; Wed, 8 Apr 2020 12:09:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 F396EE0A8F for ; Wed, 8 Apr 2020 12:09:19 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 8F69634DCA4 for ; Wed, 8 Apr 2020 12:09:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F38FB9D for ; Wed, 8 Apr 2020 12:09:15 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1586347077.2fe8d892ef6e3ce9bc25dfa81389e71c5246287a.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-vcs/lazygit/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-vcs/lazygit/lazygit-0.19.ebuild X-VCS-Directories: dev-vcs/lazygit/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: 2fe8d892ef6e3ce9bc25dfa81389e71c5246287a X-VCS-Branch: master Date: Wed, 8 Apr 2020 12:09:15 +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: c65dd369-7a0b-4c38-83b2-379b52684a71 X-Archives-Hash: fb7508d44bece7d9f2a82dc705dae24c commit: 2fe8d892ef6e3ce9bc25dfa81389e71c5246287a Author: Sergey Torokhov yandex ru> AuthorDate: Wed Apr 8 11:57:57 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Apr 8 11:57:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2fe8d892 dev-vcs/lazygit: move DOCS to global, add USE="doc" for additional docs Signed-off-by: Sergey Torokhov yandex.ru> dev-vcs/lazygit/lazygit-0.19.ebuild | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-vcs/lazygit/lazygit-0.19.ebuild b/dev-vcs/lazygit/lazygit-0.19.ebuild index 6181240..3422934 100644 --- a/dev-vcs/lazygit/lazygit-0.19.ebuild +++ b/dev-vcs/lazygit/lazygit-0.19.ebuild @@ -14,7 +14,7 @@ SRC_URI="https://github.com/jesseduffield/${PN}/archive/v${PV}.tar.gz -> ${P}.ta LICENSE="MIT" SLOT="0" KEYWORDS="~amd64" -IUSE="" +IUSE="doc" DEPEND=( sys-libs/glibc ) RDEPEND=( @@ -22,6 +22,8 @@ RDEPEND=( dev-vcs/git ) +DOCS=( src/${EGO_PN}/{CONTRIBUTING,README}.md ) + PATCHES=( "${FILESDIR}/${P}-fix-gpg-breaking-terminal.patch" ) src_compile() { @@ -31,10 +33,6 @@ src_compile() { src_install() { dobin bin/lazygit - local DOCS=( - src/${EGO_PN}/{CONTRIBUTING,README}.md - src/${EGO_PN}/docs/*.md - src/${EGO_PN}/docs/keybindings/*.md - ) + use doc && dodoc -r "src/${EGO_PN}/docs/." einstalldocs }