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 21B2A1382C5 for ; Tue, 29 Dec 2020 15:36:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56FBAE0B43; Tue, 29 Dec 2020 15:36:29 +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 3C63BE0B43 for ; Tue, 29 Dec 2020 15:36:29 +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 00372340FD9 for ; Tue, 29 Dec 2020 15:36:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FAEE53 for ; Tue, 29 Dec 2020 15:36:26 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1609256181.c7901f4f1c7e1d3bb5b1514b42992ca2bb07d168.xgqt@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/gitahead/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-vcs/gitahead/gitahead-2.6.3.ebuild X-VCS-Directories: dev-vcs/gitahead/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: c7901f4f1c7e1d3bb5b1514b42992ca2bb07d168 X-VCS-Branch: dev Date: Tue, 29 Dec 2020 15:36:26 +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: cc533484-a6dd-4d8a-a293-4bd01ebdc907 X-Archives-Hash: c2149b2cf271f0e440bdc1facf3e2cd3 commit: c7901f4f1c7e1d3bb5b1514b42992ca2bb07d168 Author: Maciej Barć protonmail com> AuthorDate: Tue Dec 29 15:36:21 2020 +0000 Commit: Maciej Barć protonmail com> CommitDate: Tue Dec 29 15:36:21 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7901f4f dev-vcs/gitahead: fetch bundled git only with USE=gnome-keyring Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Maciej Barć protonmail.com> dev-vcs/gitahead/gitahead-2.6.3.ebuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dev-vcs/gitahead/gitahead-2.6.3.ebuild b/dev-vcs/gitahead/gitahead-2.6.3.ebuild index 2f3bc890..529f56cb 100644 --- a/dev-vcs/gitahead/gitahead-2.6.3.ebuild +++ b/dev-vcs/gitahead/gitahead-2.6.3.ebuild @@ -11,8 +11,10 @@ SRC_URI=" https://github.com/gitahead/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz https://github.com/stinb/libgit2/archive/90af68bbe2690998f015f18b7c890f5868bcd3ee.tar.gz -> ${P}-dep_libgit2_libgit2.tar.gz https://github.com/libssh2/libssh2/archive/42d37aa63129a1b2644bf6495198923534322d64.tar.gz -> ${P}-dep_libssh2_libssh2.tar.gz - https://github.com/git/git/archive/0d0ac3826a3bbb9247e39e12623bbcfdd722f24c.tar.gz -> ${P}-dep_git_git.tar.gz https://github.com/commonmark/cmark/archive/f0793895eefc8ca14499831a24abee549a5af53e.tar.gz -> ${P}-dep_cmark_cmark.tar.gz + gnome-keyring? ( + https://github.com/git/git/archive/0d0ac3826a3bbb9247e39e12623bbcfdd722f24c.tar.gz -> ${P}-dep_git_git.tar.gz + ) " LICENSE="MIT" @@ -42,9 +44,9 @@ src_unpack() { local i list=( dep_libgit2_libgit2 dep_libssh2_libssh2 - dep_git_git dep_cmark_cmark ) + use gnome-keyring && list+=( dep_git_git ) for i in "${list[@]}"; do [ ! -f "${DISTDIR}/${P}-${i}.tar.gz" ] && die "The file ${DISTDIR}/${P}-${i}.tar.gz doesn't exist" tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"