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 3004A138334 for ; Sun, 13 Oct 2019 20:29:54 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 733D1E07B3; Sun, 13 Oct 2019 20:29:52 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 56659E07B3 for ; Sun, 13 Oct 2019 20:29:52 +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 221FF34BCBE for ; Sun, 13 Oct 2019 20:29:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AA2A583F for ; Sun, 13 Oct 2019 20:29:49 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1570998568.7b930ee18e9514fd1c67f22fb4564b37cbf76c9a.zmedico@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/elogv/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/elogv/elogv-0.7.8-r1.ebuild X-VCS-Directories: app-portage/elogv/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 7b930ee18e9514fd1c67f22fb4564b37cbf76c9a X-VCS-Branch: master Date: Sun, 13 Oct 2019 20:29:49 +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: d3df0ea2-9a55-40ba-a9ce-3e0bd9251c0a X-Archives-Hash: da2bda481c864e452c66bc3529e02f41 commit: 7b930ee18e9514fd1c67f22fb4564b37cbf76c9a Author: Craig Andrews gentoo org> AuthorDate: Sun Oct 13 20:07:09 2019 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Oct 13 20:29:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b930ee1 app-portage/elogv: EAPI=7 Closes: https://github.com/gentoo/gentoo/pull/13283 Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Craig Andrews gentoo.org> Signed-off-by: Zac Medico gentoo.org> app-portage/elogv/elogv-0.7.8-r1.ebuild | 52 +++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) diff --git a/app-portage/elogv/elogv-0.7.8-r1.ebuild b/app-portage/elogv/elogv-0.7.8-r1.ebuild new file mode 100644 index 00000000000..e5004bc33c8 --- /dev/null +++ b/app-portage/elogv/elogv-0.7.8-r1.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) +PYTHON_REQ_USE="ncurses" +inherit distutils-r1 + +DESCRIPTION="Curses based utility to parse the contents of elogs created by Portage" +HOMEPAGE="https://github.com/gentoo/elogv" +SRC_URI="https://github.com/gentoo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + +DOCS=( README ) + +src_install() { + distutils-r1_src_install + + # unset LINGUAS => install all languages + # empty LINGUAS => install none + local i + if [[ -n "${LINGUAS+x}" ]] ; then + for i in $(ls "${ED}"/usr/share/locale/) ; do + if ! has ${i} ${LINGUAS} ; then + rm -rf "${ED}"/usr/share/{locale,man}/${i} + fi + done + fi +} + +pkg_postinst() { + elog "Optional dependencies:" + elog " dev-python/pyliblzma (for xz compressed elog files)" + elog + 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 +}