summaryrefslogtreecommitdiff
path: root/app-misc/grc
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-15 14:57:03 +0100
commitd18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch)
tree4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /app-misc/grc
parente748ba9741f6540f4675c23e3e37b73e822c13a4 (diff)
gentoo resync : 15.06.2021
Diffstat (limited to 'app-misc/grc')
-rw-r--r--app-misc/grc/Manifest4
-rw-r--r--app-misc/grc/grc-1.11.3.ebuild3
-rw-r--r--app-misc/grc/grc-1.12.ebuild61
3 files changed, 65 insertions, 3 deletions
diff --git a/app-misc/grc/Manifest b/app-misc/grc/Manifest
index f95b4840b5cf..6e4f7f3ae070 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
-EBUILD grc-1.11.3.ebuild 1376 BLAKE2B 1f273c830d3fda83e1d10e29c34c7383513662e7f48ac46a3e7302108df11e08ef475acfb6c55747cc43f2d00c53825df5a52a1e20919b4367bfe98980fea75e SHA512 6b4fdcad9603a2798557ee57e827d0bdd70bc57c1612cdac62e65fef0f6c5ef8aac010315c069f37a2995684d72b8064afc4d89faec22f6654665faa5183fafa
+DIST grc-1.12.tar.gz 48744 BLAKE2B dd7ab01739dfe637c4bf8b1d877e606869f9d11fed33112b499f72714ebb383e7dcbf80f160ac87d07bdc079ff7d589b9ad10b2f005c801fd13bb305466f1f8c SHA512 37ada5c7293bd0240c18b60cd7c60990e26e91b93fe9fb3ba1198c9d665647570191e985ab29de2b6554166ef703d81f449b486e83178b35df302836b5abb8c7
+EBUILD grc-1.11.3.ebuild 1375 BLAKE2B f0d908acc3c543f801ffe84c0c20ef202bc661844c18a07976bb5e4352f2455acb785dd91ac4cec465c2f1dc06fa24d13e63af9fbe6999b5a5df5eeb85819d4c SHA512 18da2c3fa961a819b8ce67dcca33c23f92df1ded61e2eb3cff4df565f4b68ca6cda008f147d0322e38f2bbc1abf4ccc7879787169e77b92e084c46d0314432e2
+EBUILD grc-1.12.ebuild 1372 BLAKE2B fc89b2afafa02b24dbac71c39e2019ca3db87237e9fb79b5719d75458a2e2a9322d3944d93194ee15e56b11cb9fe6a960446bb1e5c599abf44f601b037737099 SHA512 f4a402fcdebed29723c0554b84164fe935c6c5a562392f5af658d2434e7766c40fa9d32be7286fc324c8cf1984af5319aabce39fe9dde7119cebb12af769a5a7
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
index 13d6ac263364..d2532445a53c 100644
--- a/app-misc/grc/grc-1.11.3.ebuild
+++ b/app-misc/grc/grc-1.11.3.ebuild
@@ -3,8 +3,7 @@
EAPI=7
-PYTHON_COMPAT=( python{3_7,3_8} )
-
+PYTHON_COMPAT=( python3_{7,8,9} )
inherit python-r1
DESCRIPTION="Generic Colouriser beautifies your logfiles or output of commands"
diff --git a/app-misc/grc/grc-1.12.ebuild b/app-misc/grc/grc-1.12.ebuild
new file mode 100644
index 000000000000..7b18a5b7a6fe
--- /dev/null
+++ b/app-misc/grc/grc-1.12.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{3..10} )
+inherit 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.sh \
+ 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/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
+}