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 D0622138350 for ; Wed, 8 Apr 2020 11:58:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0EF0FE09FB; Wed, 8 Apr 2020 11:58:57 +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 9B0CDE09FB for ; Wed, 8 Apr 2020 11:58:56 +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 00A9334F151 for ; Wed, 8 Apr 2020 11:58:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B3409D for ; Wed, 8 Apr 2020 11:58:52 +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: <1586347077.2fe8d892ef6e3ce9bc25dfa81389e71c5246287a.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-0.19.ebuild X-VCS-Directories: dev-vcs/lazygit/ X-VCS-Committer: SergeyTorokhov X-VCS-Committer-Name: Sergey Torokhov X-VCS-Revision: 2fe8d892ef6e3ce9bc25dfa81389e71c5246287a X-VCS-Branch: dev Date: Wed, 8 Apr 2020 11:58:52 +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: 7f125647-3ba2-4bda-be40-24db3b00202b X-Archives-Hash: f67bf2e224df349dd125c954f1c651fa commit: 2fe8d892ef6e3ce9bc25dfa81389e71c5246287a Author: Sergey Torokhov yandex ru> AuthorDate: Wed Apr 8 11:57:57 2020 +0000 Commit: Sergey Torokhov yandex ru> 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 }