commit:     93a5ebb58de6c3c533aac10d9d56bb0e98f21c33
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 27 15:58:51 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Mar 27 16:02:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93a5ebb5

dev-vcs/git-extras: add 6.2.0

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-vcs/git-extras/Manifest                |  1 +
 dev-vcs/git-extras/git-extras-6.2.0.ebuild | 55 ++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-vcs/git-extras/Manifest b/dev-vcs/git-extras/Manifest
index 47bb99cfa0a..bc3a2cb3de3 100644
--- a/dev-vcs/git-extras/Manifest
+++ b/dev-vcs/git-extras/Manifest
@@ -1 +1,2 @@
 DIST git-extras-6.1.0.tar.gz 153503 BLAKE2B 
3450edecb3116e19ffcf918b118aee04f025c06d812e29e8701f35a3c466b13d2578d41c8e1ee93327743d0019bf98bb3f397189e19435f89e3a259ff1b82747
 SHA512 
098415339177f802299d93947e2979a2fc6c2935eb2d735cd71ad76e035d5489e4c8d9009e2673c109b28e393319745be249cc195814087d59b436f4a56dabab
+DIST git-extras-6.2.0.tar.gz 156703 BLAKE2B 
71e3be3f56ca049d2060c79b8dd52aacf613d9157fc5d6fa76c827b59e9355f16903cce94e09dcf73e0c7c4f81b422a37234dbc8f9eb146ca9925da8778ea2dc
 SHA512 
b2e36f887eb101b56734a824f2a3068c568dfca19172733e9263234c1a0f241440727d79bb37aa22c201fd679f37e87c10e521f68a914ec6345b294964fd3d08

diff --git a/dev-vcs/git-extras/git-extras-6.2.0.ebuild 
b/dev-vcs/git-extras/git-extras-6.2.0.ebuild
new file mode 100644
index 00000000000..8076a70196d
--- /dev/null
+++ b/dev-vcs/git-extras/git-extras-6.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Git utilities -- repo summary, repl, changelog population, author 
commit percentages and more"
+HOMEPAGE="https://github.com/tj/git-extras";
+SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x64-macos"
+
+RDEPEND="
+       app-shells/bash
+       dev-vcs/git
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-6.1.0-no-bash-completion-install.patch
+)
+
+src_prepare() {
+       default
+
+       # For now, don't force including the git completion
+       # sed -i -e "1 i source $(get_bashcompdir)\/git" etc/bash_completion.sh 
|| die
+}
+
+src_configure() {
+       return
+}
+
+src_compile() {
+       return
+}
+
+src_install() {
+       emake \
+               DESTDIR="${D}" \
+               PREFIX="${EPREFIX}/usr" \
+               SYSCONFDIR="${EPREFIX}/etc" \
+               install
+
+       # TODO: Unfortunately, none of the completion seems to
+       # actually work for me yet(?)
+
+       #newbashcomp "${S}"/etc/bash_completion.sh ${PN}
+
+       #insinto /usr/share/zsh/site-functions
+       #newins "${S}"/etc/${PN}-completion.zsh _${PN}
+
+       #insinto /usr/share/fish/vendor_completions.d
+       #doins "${S}"/etc/${PN}.fish
+}

Reply via email to