diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-06-21 17:50:24 +0100 |
commit | feb0daf81d888e9160f9f94502de09b66f2a63fd (patch) | |
tree | b6e5c40ce2abef3da27ed50a023153f475e0ddef /app-misc/grc | |
parent | 9452a6e87b6c2c70513bc47a2470bf9f1168920e (diff) |
gentoo resync : 21.06.2020
Diffstat (limited to 'app-misc/grc')
-rw-r--r-- | app-misc/grc/Manifest | 2 | ||||
-rw-r--r-- | app-misc/grc/grc-1.11.3.ebuild | 62 |
2 files changed, 64 insertions, 0 deletions
diff --git a/app-misc/grc/Manifest b/app-misc/grc/Manifest index dbd7e73c9106..c9026e31d671 100644 --- a/app-misc/grc/Manifest +++ b/app-misc/grc/Manifest @@ -1,3 +1,5 @@ +DIST grc-1.11.3.tar.gz 45205 BLAKE2B 852f58145fe11ceab3e6222b61c18cdb18a09f0666f28df4b8b8a8bc42a22dd01ae7e2bcf6232a6aa0d1f42ac233148f694a0eafbd995fbd5d147e06480f7abf SHA512 abc756a21e039c136bbf9be1ef7c1890aa2415ac21e87fb7377c90ced1def2dcaf9ce5cce22edeac68db20f6d6ccea31a2ec57044a37ba200ff79273bf11d8cf DIST grc-1.11.tar.gz 43224 BLAKE2B 40fe050f1198dadd039ad91fedf279ad5e913e803a669335ee21158f7f9702f3fd65ee5876595b9a4ce46da2f7f3c2cc589bf7ea3e10d84c37b5f20677ed626b SHA512 abaa18aeebf9858369b639975ae6c9a33f3111beb783b4e86463ace70de1d660efc6c17b05020862c3b2f467310f0974443f96d4f91cd322a90731c4be49206c EBUILD grc-1.11-r1.ebuild 1360 BLAKE2B c9a615fdabffcca8a75928d50fa946a7ee00d82e3a8e809cfa7e31e412946c6310d954c7dd2f959fa9878622073d55445b2130159ecf199f6e3777ec5925d47a SHA512 0f47bd7d412ddd273e7d26d8f820a6fc3d0028dac4f8e26003fe323753b7323b2f98cc18a2b95a904ac15951d934dcbf450ba2222949f1b228035012acdd2d3a +EBUILD grc-1.11.3.ebuild 1383 BLAKE2B fa7efd11c0a01be93f69b8575278c5670e2641c8ebfa13461f24445200b8f62d05e439c6de79c85d69e27c323c75a144c063db79e1c77952072eab08c7557adc SHA512 4357cb998c2b221f7ff8521120b4806b954b35e8e628435e8316b7a26b5d5fa48ae9fa178d8b8309d859b826ddb46e1f80479ef0e9e07251575655a1c7d7304f MISC metadata.xml 351 BLAKE2B b542ab1f09e03d0fcd473a1d364c557732f0ebd865398da2bf6b322987c0bf22d916d642dcb73c0c7c72d57f7eb41caa0aff1456b49dedb0895a5f5c31f3721a SHA512 39fabd038b08bc0fb057be0d211272b65d94cd9f1afedfd576138be1ddc1748fd673684b1c407649409f2834024cad324f78564348e9da570cde26be3282bc8b diff --git a/app-misc/grc/grc-1.11.3.ebuild b/app-misc/grc/grc-1.11.3.ebuild new file mode 100644 index 000000000000..a3ff83965e44 --- /dev/null +++ b/app-misc/grc/grc-1.11.3.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python{3_6,3_7,3_8} ) + +inherit eutils python-r1 + +DESCRIPTION="Generic Colouriser beautifies your logfiles or output of commands" +HOMEPAGE="http://kassiopeia.juls.savba.sk/~garabik/software/grc.html" +SRC_URI="https://github.com/garabik/grc/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS}" +DEPEND="${RDEPEND}" + +DOCS=( README.markdown INSTALL TODO debian/changelog CREDITS Regexp.txt ) + +src_prepare() { + sed \ + -e 's:#! :#!:g' \ + -e 's:3$::g' \ + -i grc grcat || die + default +} + +src_install() { + python_foreach_impl python_doscript grc grcat + + einstalldocs + + insinto /usr/share/grc + doins \ + contrib/mrsmith/conf.* \ + colourfiles/conf.* \ + grc.bashrc \ + grc.fish \ + grc.zsh + + insinto /etc + doins grc.conf + doman *.1 +} + +pkg_postinst() { + elog + elog "Shell specific configurations can be found in ${ROOT}/usr/share/grc" + elog "Be sure to symlink one to use grc globally:" + elog + elog " ln -s ${ROOT}/usr/share/grc.SHELL ${ROOT}/etc/profile.d/grc.sh" + elog + elog "Replace 'SHELL' in the above command with one of: bashrc, fish, zsh." + elog "Afterwards, use '. ${ROOT}/etc/profile' to activate grc in existing" + elog "shell sessions." + elog +} |