Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@××××××××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-vcs/gitahead/
Date: Tue, 29 Dec 2020 15:36:30
Message-Id: 1609256181.c7901f4f1c7e1d3bb5b1514b42992ca2bb07d168.xgqt@gentoo
1 commit: c7901f4f1c7e1d3bb5b1514b42992ca2bb07d168
2 Author: Maciej Barć <xgqt <AT> protonmail <DOT> com>
3 AuthorDate: Tue Dec 29 15:36:21 2020 +0000
4 Commit: Maciej Barć <xgqt <AT> protonmail <DOT> com>
5 CommitDate: Tue Dec 29 15:36:21 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7901f4f
7
8 dev-vcs/gitahead: fetch bundled git only with USE=gnome-keyring
9
10 Package-Manager: Portage-3.0.9, Repoman-3.0.2
11 Signed-off-by: Maciej Barć <xgqt <AT> protonmail.com>
12
13 dev-vcs/gitahead/gitahead-2.6.3.ebuild | 6 ++++--
14 1 file changed, 4 insertions(+), 2 deletions(-)
15
16 diff --git a/dev-vcs/gitahead/gitahead-2.6.3.ebuild b/dev-vcs/gitahead/gitahead-2.6.3.ebuild
17 index 2f3bc890..529f56cb 100644
18 --- a/dev-vcs/gitahead/gitahead-2.6.3.ebuild
19 +++ b/dev-vcs/gitahead/gitahead-2.6.3.ebuild
20 @@ -11,8 +11,10 @@ SRC_URI="
21 https://github.com/gitahead/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
22 https://github.com/stinb/libgit2/archive/90af68bbe2690998f015f18b7c890f5868bcd3ee.tar.gz -> ${P}-dep_libgit2_libgit2.tar.gz
23 https://github.com/libssh2/libssh2/archive/42d37aa63129a1b2644bf6495198923534322d64.tar.gz -> ${P}-dep_libssh2_libssh2.tar.gz
24 - https://github.com/git/git/archive/0d0ac3826a3bbb9247e39e12623bbcfdd722f24c.tar.gz -> ${P}-dep_git_git.tar.gz
25 https://github.com/commonmark/cmark/archive/f0793895eefc8ca14499831a24abee549a5af53e.tar.gz -> ${P}-dep_cmark_cmark.tar.gz
26 + gnome-keyring? (
27 + https://github.com/git/git/archive/0d0ac3826a3bbb9247e39e12623bbcfdd722f24c.tar.gz -> ${P}-dep_git_git.tar.gz
28 + )
29 "
30
31 LICENSE="MIT"
32 @@ -42,9 +44,9 @@ src_unpack() {
33 local i list=(
34 dep_libgit2_libgit2
35 dep_libssh2_libssh2
36 - dep_git_git
37 dep_cmark_cmark
38 )
39 + use gnome-keyring && list+=( dep_git_git )
40 for i in "${list[@]}"; do
41 [ ! -f "${DISTDIR}/${P}-${i}.tar.gz" ] && die "The file ${DISTDIR}/${P}-${i}.tar.gz doesn't exist"
42 tar xf "${DISTDIR}/${P}-${i}.tar.gz" --strip-components 1 -C "${i//_//}" || die "Failed to unpack ${P}-${i}.tar.gz"