Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-extras/
Date: Sun, 03 Oct 2021 23:58:14
Message-Id: 1633305470.a7cbdd9c7496e6d350caba7b9a8d63984bef76b9.sam@gentoo
1 commit: a7cbdd9c7496e6d350caba7b9a8d63984bef76b9
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 3 23:57:50 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 3 23:57:50 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7cbdd9c
7
8 dev-vcs/git-extras: add 6.3.0
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-vcs/git-extras/Manifest | 1 +
13 dev-vcs/git-extras/git-extras-6.3.0.ebuild | 55 ++++++++++++++++++++++++++++++
14 2 files changed, 56 insertions(+)
15
16 diff --git a/dev-vcs/git-extras/Manifest b/dev-vcs/git-extras/Manifest
17 index bc3a2cb3de3..41fbcc5026e 100644
18 --- a/dev-vcs/git-extras/Manifest
19 +++ b/dev-vcs/git-extras/Manifest
20 @@ -1,2 +1,3 @@
21 DIST git-extras-6.1.0.tar.gz 153503 BLAKE2B 3450edecb3116e19ffcf918b118aee04f025c06d812e29e8701f35a3c466b13d2578d41c8e1ee93327743d0019bf98bb3f397189e19435f89e3a259ff1b82747 SHA512 098415339177f802299d93947e2979a2fc6c2935eb2d735cd71ad76e035d5489e4c8d9009e2673c109b28e393319745be249cc195814087d59b436f4a56dabab
22 DIST git-extras-6.2.0.tar.gz 156703 BLAKE2B 71e3be3f56ca049d2060c79b8dd52aacf613d9157fc5d6fa76c827b59e9355f16903cce94e09dcf73e0c7c4f81b422a37234dbc8f9eb146ca9925da8778ea2dc SHA512 b2e36f887eb101b56734a824f2a3068c568dfca19172733e9263234c1a0f241440727d79bb37aa22c201fd679f37e87c10e521f68a914ec6345b294964fd3d08
23 +DIST git-extras-6.3.0.tar.gz 159258 BLAKE2B 263e192015e46da7867f131c19ae47243e60355cba02b1860b45abafdc4fc6adf916dffce58b853960d8bb22f5da067e1dca6ed0b02f108953571896d1c981c4 SHA512 2be0a6f3f3907754638ffd975b0b28908e8c9490418fa170f47a73a2cdc9d0b8fd5d11e4734440ffe3114cd63aa7decf8b1cafc78a63d2794d06f7fcd2925ead
24
25 diff --git a/dev-vcs/git-extras/git-extras-6.3.0.ebuild b/dev-vcs/git-extras/git-extras-6.3.0.ebuild
26 new file mode 100644
27 index 00000000000..8076a70196d
28 --- /dev/null
29 +++ b/dev-vcs/git-extras/git-extras-6.3.0.ebuild
30 @@ -0,0 +1,55 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +DESCRIPTION="Git utilities -- repo summary, repl, changelog population, author commit percentages and more"
37 +HOMEPAGE="https://github.com/tj/git-extras"
38 +SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz -> ${P}.tar.gz"
39 +
40 +LICENSE="MIT"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x64-macos"
43 +
44 +RDEPEND="
45 + app-shells/bash
46 + dev-vcs/git
47 +"
48 +
49 +PATCHES=(
50 + "${FILESDIR}"/${PN}-6.1.0-no-bash-completion-install.patch
51 +)
52 +
53 +src_prepare() {
54 + default
55 +
56 + # For now, don't force including the git completion
57 + # sed -i -e "1 i source $(get_bashcompdir)\/git" etc/bash_completion.sh || die
58 +}
59 +
60 +src_configure() {
61 + return
62 +}
63 +
64 +src_compile() {
65 + return
66 +}
67 +
68 +src_install() {
69 + emake \
70 + DESTDIR="${D}" \
71 + PREFIX="${EPREFIX}/usr" \
72 + SYSCONFDIR="${EPREFIX}/etc" \
73 + install
74 +
75 + # TODO: Unfortunately, none of the completion seems to
76 + # actually work for me yet(?)
77 +
78 + #newbashcomp "${S}"/etc/bash_completion.sh ${PN}
79 +
80 + #insinto /usr/share/zsh/site-functions
81 + #newins "${S}"/etc/${PN}-completion.zsh _${PN}
82 +
83 + #insinto /usr/share/fish/vendor_completions.d
84 + #doins "${S}"/etc/${PN}.fish
85 +}