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 623FE138239 for ; Sat, 30 Nov 2019 18:59:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 96EB0E0872; Sat, 30 Nov 2019 18:59:58 +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 6E909E0872 for ; Sat, 30 Nov 2019 18:59:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 6828D34D51F for ; Sat, 30 Nov 2019 18:59:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5F7BCA8 for ; Sat, 30 Nov 2019 18:59:55 +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: <1575140197.aa8d33ba7b5b83a6dd5cdb2ea0bec36b0c2c108a.sping@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-r2.ebuild X-VCS-Directories: app-portage/elogv/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: aa8d33ba7b5b83a6dd5cdb2ea0bec36b0c2c108a X-VCS-Branch: master Date: Sat, 30 Nov 2019 18:59:55 +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: a0c710f5-8d97-4028-999b-2fd090269ac9 X-Archives-Hash: 5272cdb11342b321b5a07e84401eb459 commit: aa8d33ba7b5b83a6dd5cdb2ea0bec36b0c2c108a Author: Sebastian Pipping gentoo org> AuthorDate: Sat Nov 30 18:56:37 2019 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Nov 30 18:56:37 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa8d33ba app-portage/elogv: py38 + missing dependency Closes: https://bugs.gentoo.org/701584 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-2.3.80, Repoman-2.3.19 app-portage/elogv/elogv-0.7.8-r2.ebuild | 55 +++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/app-portage/elogv/elogv-0.7.8-r2.ebuild b/app-portage/elogv/elogv-0.7.8-r2.ebuild new file mode 100644 index 00000000000..04a1a84d43f --- /dev/null +++ b/app-portage/elogv/elogv-0.7.8-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7,8} ) +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" + +RDEPEND="sys-apps/portage[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND}" + +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 +}