diff options
Diffstat (limited to 'dev-vcs/git-extras')
| -rw-r--r-- | dev-vcs/git-extras/Manifest | 4 | ||||
| -rw-r--r-- | dev-vcs/git-extras/git-extras-6.1.0.ebuild | 47 | ||||
| -rw-r--r-- | dev-vcs/git-extras/git-extras-9999.ebuild | 47 | ||||
| -rw-r--r-- | dev-vcs/git-extras/metadata.xml | 7 |
4 files changed, 105 insertions, 0 deletions
diff --git a/dev-vcs/git-extras/Manifest b/dev-vcs/git-extras/Manifest new file mode 100644 index 000000000000..5fd7ab648a4f --- /dev/null +++ b/dev-vcs/git-extras/Manifest @@ -0,0 +1,4 @@ +DIST 6.1.0.tar.gz 153503 BLAKE2B 3450edecb3116e19ffcf918b118aee04f025c06d812e29e8701f35a3c466b13d2578d41c8e1ee93327743d0019bf98bb3f397189e19435f89e3a259ff1b82747 SHA512 098415339177f802299d93947e2979a2fc6c2935eb2d735cd71ad76e035d5489e4c8d9009e2673c109b28e393319745be249cc195814087d59b436f4a56dabab +EBUILD git-extras-6.1.0.ebuild 944 BLAKE2B cd73b20e4c7dd32788fe0c3b0a064920dc05b8ccc24a846a19786d082df34a859852d5b3f20c97645b4ad4dde24edcfa7ef3e4c6c60efb4d543980a54fc99645 SHA512 c6631d01abb7bf29488330021eaee892e48b1091b64d147aa7338aefd31a7ed7300cab84306631509eba6cd694b6ddd707facf8ebdbc8b90a5bd007e5a629b63 +EBUILD git-extras-9999.ebuild 944 BLAKE2B cd73b20e4c7dd32788fe0c3b0a064920dc05b8ccc24a846a19786d082df34a859852d5b3f20c97645b4ad4dde24edcfa7ef3e4c6c60efb4d543980a54fc99645 SHA512 c6631d01abb7bf29488330021eaee892e48b1091b64d147aa7338aefd31a7ed7300cab84306631509eba6cd694b6ddd707facf8ebdbc8b90a5bd007e5a629b63 +MISC metadata.xml 227 BLAKE2B dd2ac5f8e910fdcd398041e812b41ae620497e9506eb716f37a685632b152087ca6e3e8b8ad0c40fc235dddbb383c7dd091e6d12ac767607cec031c1e98f3692 SHA512 ba8bbc456d19901db460bec6512ffb1e3ab905978e7f4bda11f9dd0ec8761faacde2c9487771b30ff5863febe20ccea294bc1731763eab2f8a2bb2af5d6e1ae2 diff --git a/dev-vcs/git-extras/git-extras-6.1.0.ebuild b/dev-vcs/git-extras/git-extras-6.1.0.ebuild new file mode 100644 index 000000000000..6946fc65e6aa --- /dev/null +++ b/dev-vcs/git-extras/git-extras-6.1.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 2020-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" + +if [ ${PV} = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/tj/git-extras.git" +else + SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="zsh-completion" + +RDEPEND=" + dev-vcs/git +" + +DEPEND=" + ${RDEPEND} + zsh-completion? ( app-shells/zsh ) +" + +src_compile() { + # ebuild will attempt to run make without the install command + # so just bypass this step. + true +} + +src_install() { + emake DESTDIR="${D}" \ + PREFIX=/usr \ + MANPREFIX=/usr/share/man/man1 \ + SYSCONFDIR=/etc \ + install + + if use zsh-completion; then + insinto /usr/share/zsh/site-functions + doins etc/git-extras-completion.zsh + fi +} diff --git a/dev-vcs/git-extras/git-extras-9999.ebuild b/dev-vcs/git-extras/git-extras-9999.ebuild new file mode 100644 index 000000000000..6946fc65e6aa --- /dev/null +++ b/dev-vcs/git-extras/git-extras-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 2020-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" + +if [ ${PV} = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/tj/git-extras.git" +else + SRC_URI="https://github.com/tj/git-extras/archive/${PV}.tar.gz" +fi + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="zsh-completion" + +RDEPEND=" + dev-vcs/git +" + +DEPEND=" + ${RDEPEND} + zsh-completion? ( app-shells/zsh ) +" + +src_compile() { + # ebuild will attempt to run make without the install command + # so just bypass this step. + true +} + +src_install() { + emake DESTDIR="${D}" \ + PREFIX=/usr \ + MANPREFIX=/usr/share/man/man1 \ + SYSCONFDIR=/etc \ + install + + if use zsh-completion; then + insinto /usr/share/zsh/site-functions + doins etc/git-extras-completion.zsh + fi +} diff --git a/dev-vcs/git-extras/metadata.xml b/dev-vcs/git-extras/metadata.xml new file mode 100644 index 000000000000..dd23ea1018d0 --- /dev/null +++ b/dev-vcs/git-extras/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>jmcclain2020@protonmail.com</email> + </maintainer> +</pkgmetadata> |
