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 E88FD138350 for ; Thu, 5 Mar 2020 14:46:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09FABE0863; Thu, 5 Mar 2020 14:46:07 +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 E8E39E0863 for ; Thu, 5 Mar 2020 14:46:06 +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 A2E2534E84D for ; Thu, 5 Mar 2020 14:46:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB702145 for ; Thu, 5 Mar 2020 14:46:03 +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: <1583419553.e82bc6711f0ee0c13bc7284510833bcc1db00835.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-r3.ebuild X-VCS-Directories: app-portage/elogv/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: e82bc6711f0ee0c13bc7284510833bcc1db00835 X-VCS-Branch: master Date: Thu, 5 Mar 2020 14:46:03 +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: 216fdd39-a002-4222-a27a-dd5d8e275ea8 X-Archives-Hash: 9df50475ef8e846ac4e313c0cc399ea4 commit: e82bc6711f0ee0c13bc7284510833bcc1db00835 Author: Sebastian Pipping gentoo org> AuthorDate: Thu Mar 5 14:40:42 2020 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Thu Mar 5 14:45:53 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e82bc671 app-portage/elogv: Fix setuptools dependency Closes: https://bugs.gentoo.org/709906 Signed-off-by: Sebastian Pipping gentoo.org> Package-Manager: Portage-2.3.92, Repoman-2.3.20 app-portage/elogv/elogv-0.7.8-r3.ebuild | 57 +++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) diff --git a/app-portage/elogv/elogv-0.7.8-r3.ebuild b/app-portage/elogv/elogv-0.7.8-r3.ebuild new file mode 100644 index 00000000000..9bb9e95bbc7 --- /dev/null +++ b/app-portage/elogv/elogv-0.7.8-r3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="ncurses" +DISTUTILS_USE_SETUPTOOLS=no + +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 +}