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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7CB43158089 for ; Thu, 5 Oct 2023 18:42:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD4D32BC01A; Thu, 5 Oct 2023 18:42:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B6F1D2BC01A for ; Thu, 5 Oct 2023 18:42:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E858B335C7A for ; Thu, 5 Oct 2023 18:42:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3BDE99C8 for ; Thu, 5 Oct 2023 18:42:07 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1696531258.d6f28ae1daa76582d2a3d12e1265bef94d48dc19.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/elogv/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/elogv/Manifest app-portage/elogv/elogv-0.8.2.ebuild X-VCS-Directories: app-portage/elogv/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: d6f28ae1daa76582d2a3d12e1265bef94d48dc19 X-VCS-Branch: master Date: Thu, 5 Oct 2023 18:42:07 +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: 2f8ee651-7d4c-45a0-a932-4ae4ba796222 X-Archives-Hash: f62099af01b9c8374f424fbdf1d99957 commit: d6f28ae1daa76582d2a3d12e1265bef94d48dc19 Author: Sebastian Pipping gentoo org> AuthorDate: Thu Oct 5 18:40:58 2023 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Thu Oct 5 18:40:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6f28ae1 app-portage/elogv: 0.8.2 Signed-off-by: Sebastian Pipping gentoo.org> app-portage/elogv/Manifest | 1 + app-portage/elogv/elogv-0.8.2.ebuild | 56 ++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/app-portage/elogv/Manifest b/app-portage/elogv/Manifest index 06ddc5a9aeed..0edad5bf6e90 100644 --- a/app-portage/elogv/Manifest +++ b/app-portage/elogv/Manifest @@ -1,3 +1,4 @@ DIST elogv-0.7.9.tar.gz 19556 BLAKE2B 5d5f1a4adab09cf8b56ca3433b2a1cd0d3572345ff92f34b6b3ad175178161c36531bf9211563f4ad18191c6ff99c2cdcf9c3d188eca293a1698157e0a9f04a2 SHA512 703d1e8f55f5ee17a393f3a331ee38ef1d4e4c918c316055d5e2297b96dbe7de0ca6df864f462520f2087ed1a7bb7f43db56bfd3864a865d349516694522a686 DIST elogv-0.8.0.tar.gz 19563 BLAKE2B 1483f1973f0d18470484f8b4861f9301f5a2cc5e813709c3783127d0ed61db952c7edb1e5c12a3ba2066aa09bfd9c7547bc695ea9b46f106996b3036abc32d2d SHA512 75c1bce6dae36f5720e36a92d08c9469a54b31ff50321cc6fc250aa5a3039f2b4ce7ad518d261acb2d653e20783d375ec2c88bc2b86cc1400b6a49cfbb14647b DIST elogv-0.8.1.tar.gz 19289 BLAKE2B e88e7383661e0a6336ffbb9027ee9d5540f14db7dd00e385afeb732925487a5cf9e73aa56cead2e11c6ae893a92006b3c75231dfb8918d8102af5988c10a480a SHA512 36f4eb237a8811d3720862d0551a84a0abce36cf565c810d25457ec5b1b2735897be69856ab50be2ad08be77b3761435aae87ac377407374c7643d05fe592f27 +DIST elogv-0.8.2.tar.gz 19212 BLAKE2B d37daeccc4b1ed780d943649dd709815b8d2ab69665a9426700501b9266c3cd70ad0d29a828195fb16f9be71692ab1fdb80a503de94a759447dd5540b29e9dc9 SHA512 bc542c1ba941379290159796ede2aed8345c09e050bbbfa65ceb8f1d8c0fc6c33147d716bc685690e6b5d513d66d3aa04c96b28674ba4d83c29348740cb8feb1 diff --git a/app-portage/elogv/elogv-0.8.2.ebuild b/app-portage/elogv/elogv-0.8.2.ebuild new file mode 100644 index 000000000000..11ba9343a3cd --- /dev/null +++ b/app-portage/elogv/elogv-0.8.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} pypy3 ) +PYTHON_REQ_USE="ncurses" +DISTUTILS_USE_PEP517=setuptools + +inherit distutils-r1 + +DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage" +HOMEPAGE="https://gitweb.gentoo.org/proj/elogv.git/" +SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +PLOCALES=( "de" "es" "it" "pl" ) +IUSE="${PLOCALES[*]/#/l10n_}" + +RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +DOCS=( README ) + +src_install() { + distutils-r1_src_install + + elog 'Deleting unwanted language files...' + for i in ${PLOCALES[@]}; do + if use "l10n_${i}"; then + # Keep and fix man page filename (bug #869905) + mv "${ED}"/usr/share/man/${i}/man1/${PN}.1{.${i},} || die + else + rm -r "${ED}"/usr/share/{locale,man}/"${i}" || die + elog "- Language \"${i}\" deleted" + fi + done +} + +pkg_postinst() { + elog "In order to use this software, you need to activate" + elog "Portage's elog features. Required is" + elog " PORTAGE_ELOG_SYSTEM=\"save\" " + elog "and at least one out of " + elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\"" + elog "More information on the elog system can be found" + elog "in ${EPREFIX}/usr/share/portage/config/make.conf.example" + elog + elog "To operate properly this software needs the directory" + elog "${PORT_LOGDIR:-${EPREFIX}/var/log/portage}/elog created, belonging to group portage." + elog "To start the software as a user, add yourself to the portage" + elog "group." + elog +}