From 083aa8a78ebe1308edc9231782f7893b4d5de9e6 Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 25 Apr 2022 04:00:56 +0100 Subject: dev-vcs/git-extras: add 6.4.0 Signed-off-by: Sam James --- dev-vcs/git-extras/Manifest | 1 + dev-vcs/git-extras/git-extras-6.4.0.ebuild | 55 ++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 dev-vcs/git-extras/git-extras-6.4.0.ebuild (limited to 'dev-vcs/git-extras') diff --git a/dev-vcs/git-extras/Manifest b/dev-vcs/git-extras/Manifest index 7ea512d9e657..4f05ba27114b 100644 --- a/dev-vcs/git-extras/Manifest +++ b/dev-vcs/git-extras/Manifest @@ -1 +1,2 @@ DIST git-extras-6.3.0.tar.gz 159258 BLAKE2B 263e192015e46da7867f131c19ae47243e60355cba02b1860b45abafdc4fc6adf916dffce58b853960d8bb22f5da067e1dca6ed0b02f108953571896d1c981c4 SHA512 2be0a6f3f3907754638ffd975b0b28908e8c9490418fa170f47a73a2cdc9d0b8fd5d11e4734440ffe3114cd63aa7decf8b1cafc78a63d2794d06f7fcd2925ead +DIST git-extras-6.4.0.tar.gz 163508 BLAKE2B bffbc8efcf1cf030bceb20b953e1cbbc067c8383ced38b786c21eb9bd9b7d3febd3d8aae652c0dd731de688d3cfa225c3aec91d6b9c590459b576db113ca0af0 SHA512 1b28d09d294f6d060b7639401e56c8d5e762614b5f6928ee6267e49af943e349e2399558ebac60008e8240218c13f00f8aea7dc07b71fec1e2dc25487bc847a3 diff --git a/dev-vcs/git-extras/git-extras-6.4.0.ebuild b/dev-vcs/git-extras/git-extras-6.4.0.ebuild new file mode 100644 index 000000000000..5cf7cb509f5a --- /dev/null +++ b/dev-vcs/git-extras/git-extras-6.4.0.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Git utilities -- repo summary, repl, changelog population, and many 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 +} -- cgit v1.2.3-65-gdbad