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 857171382C5 for ; Sun, 21 Jun 2020 07:55:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9A576E0917; Sun, 21 Jun 2020 07:55:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 81565E0917 for ; Sun, 21 Jun 2020 07:55:05 +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 2EEF034F5CB for ; Sun, 21 Jun 2020 07:55:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 598B42AB for ; Sun, 21 Jun 2020 07:55:02 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1592726093.b5c90ab5aff3349352d3359711760f30b4a7e19c.monsieurp@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.11.3.ebuild X-VCS-Directories: app-misc/grc/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: b5c90ab5aff3349352d3359711760f30b4a7e19c X-VCS-Branch: master Date: Sun, 21 Jun 2020 07:55:02 +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: 65940200-fbbc-4b1a-85b5-d109adf6c9d8 X-Archives-Hash: 5015345f6cb0b57fc70db52855297c54 commit: b5c90ab5aff3349352d3359711760f30b4a7e19c Author: Patrice Clement gentoo org> AuthorDate: Sun Jun 21 07:54:42 2020 +0000 Commit: Patrice Clement gentoo org> CommitDate: Sun Jun 21 07:54:53 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5c90ab5 app-misc/grc: version bump. add python{3_7,3_8} to PYTHON_COMPAT whilst at it (tested). Closes: https://bugs.gentoo.org/718228 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrice Clement gentoo.org> app-misc/grc/Manifest | 1 + app-misc/grc/grc-1.11.3.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) diff --git a/app-misc/grc/Manifest b/app-misc/grc/Manifest index 34c8f1ebed7..9dc3f54dfb2 100644 --- a/app-misc/grc/Manifest +++ b/app-misc/grc/Manifest @@ -1 +1,2 @@ +DIST grc-1.11.3.tar.gz 45205 BLAKE2B 852f58145fe11ceab3e6222b61c18cdb18a09f0666f28df4b8b8a8bc42a22dd01ae7e2bcf6232a6aa0d1f42ac233148f694a0eafbd995fbd5d147e06480f7abf SHA512 abc756a21e039c136bbf9be1ef7c1890aa2415ac21e87fb7377c90ced1def2dcaf9ce5cce22edeac68db20f6d6ccea31a2ec57044a37ba200ff79273bf11d8cf DIST grc-1.11.tar.gz 43224 BLAKE2B 40fe050f1198dadd039ad91fedf279ad5e913e803a669335ee21158f7f9702f3fd65ee5876595b9a4ce46da2f7f3c2cc589bf7ea3e10d84c37b5f20677ed626b SHA512 abaa18aeebf9858369b639975ae6c9a33f3111beb783b4e86463ace70de1d660efc6c17b05020862c3b2f467310f0974443f96d4f91cd322a90731c4be49206c 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 00000000000..3c1f47c2970 --- /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 +}