commit: c7901f4f1c7e1d3bb5b1514b42992ca2bb07d168 Author: Maciej Barć <xgqt <AT> protonmail <DOT> com> AuthorDate: Tue Dec 29 15:36:21 2020 +0000 Commit: Maciej Barć <xgqt <AT> protonmail <DOT> 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ć <xgqt <AT> 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"