summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-27 15:58:51 +0000
committerSam James <sam@gentoo.org>2021-03-27 16:02:19 +0000
commit93a5ebb58de6c3c533aac10d9d56bb0e98f21c33 (patch)
treed23481e16a2b3141bfec25e71e494ec4f4a11b96 /dev-vcs/git-extras
parentdev-util/pkgdev: drop 0.1.1 (diff)
downloadgentoo-93a5ebb58de6c3c533aac10d9d56bb0e98f21c33.tar.gz
gentoo-93a5ebb58de6c3c533aac10d9d56bb0e98f21c33.tar.bz2
gentoo-93a5ebb58de6c3c533aac10d9d56bb0e98f21c33.zip
dev-vcs/git-extras: add 6.2.0
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-vcs/git-extras')
-rw-r--r--dev-vcs/git-extras/Manifest1
-rw-r--r--dev-vcs/git-extras/git-extras-6.2.0.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/dev-vcs/git-extras/Manifest b/dev-vcs/git-extras/Manifest
index 47bb99cfa0a5..bc3a2cb3de39 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 000000000000..8076a70196d7
--- /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
+}