From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id EFE33139368 for ; Mon, 9 Aug 2021 03:55:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BEE8E08C8; Mon, 9 Aug 2021 03:55:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D4EBDE0894 for ; Mon, 9 Aug 2021 03:55:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E6880340961 for ; Mon, 9 Aug 2021 03:55:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5FFA525 for ; Mon, 9 Aug 2021 03:55:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1628481165.bfcef00e621fbe93cf1ea6511a01d8519568b864.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/grc/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/grc/Manifest app-misc/grc/grc-1.13.ebuild X-VCS-Directories: app-misc/grc/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bfcef00e621fbe93cf1ea6511a01d8519568b864 X-VCS-Branch: master Date: Mon, 9 Aug 2021 03:55:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 692adf63-422a-43de-8b89-09eb035cec0f X-Archives-Hash: 6cd6cd3ff3850fe9eb544f9032dad2f1 commit: bfcef00e621fbe93cf1ea6511a01d8519568b864 Author: Sam James gentoo org> AuthorDate: Mon Aug 9 03:52:02 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 9 03:52:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfcef00e app-misc/grc: add 1.13 Signed-off-by: Sam James gentoo.org> app-misc/grc/Manifest | 1 + app-misc/grc/grc-1.13.ebuild | 60 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/app-misc/grc/Manifest b/app-misc/grc/Manifest index 03a331fdbcf..e828e0ec813 100644 --- a/app-misc/grc/Manifest +++ b/app-misc/grc/Manifest @@ -1,2 +1,3 @@ DIST grc-1.11.3.tar.gz 45205 BLAKE2B 852f58145fe11ceab3e6222b61c18cdb18a09f0666f28df4b8b8a8bc42a22dd01ae7e2bcf6232a6aa0d1f42ac233148f694a0eafbd995fbd5d147e06480f7abf SHA512 abc756a21e039c136bbf9be1ef7c1890aa2415ac21e87fb7377c90ced1def2dcaf9ce5cce22edeac68db20f6d6ccea31a2ec57044a37ba200ff79273bf11d8cf DIST grc-1.12.tar.gz 48744 BLAKE2B dd7ab01739dfe637c4bf8b1d877e606869f9d11fed33112b499f72714ebb383e7dcbf80f160ac87d07bdc079ff7d589b9ad10b2f005c801fd13bb305466f1f8c SHA512 37ada5c7293bd0240c18b60cd7c60990e26e91b93fe9fb3ba1198c9d665647570191e985ab29de2b6554166ef703d81f449b486e83178b35df302836b5abb8c7 +DIST grc-1.13.tar.gz 49224 BLAKE2B d2c32d42ad1bd20c7d2b2aa68da114410e625463d30f0b93644cec4ddc69241d7f3c7a5f7edaed9fe42a1d21e8a0e5668403491d09679995558c94649b9d6fa8 SHA512 d8a7e78f84f5cb925a0205a81a9564ffe3d688eaa1f90d335a6f40e17757866374b6927f223e888a358586830b3feb4779f60faa01097b0c9703793ceea3de43 diff --git a/app-misc/grc/grc-1.13.ebuild b/app-misc/grc/grc-1.13.ebuild new file mode 100644 index 00000000000..5ec1c2f5421 --- /dev/null +++ b/app-misc/grc/grc-1.13.ebuild @@ -0,0 +1,60 @@ +# 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}" +BDEPEND="${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 ${EROOT}/usr/share/grc" + elog "Be sure to symlink one to use grc globally:" + elog + elog " ln -s ${EROOT}/usr/share/grc/grc.SHELL ${EROOT}/etc/profile.d/grc.sh" + elog + elog "Replace 'SHELL' in the above command with one of: bashrc, fish, zsh." + elog "Afterwards, use '. ${EROOT}/etc/profile' to activate grc in existing" + elog "shell sessions." + elog +}