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 8D14E1382C5 for ; Thu, 10 May 2018 14:49:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BC743E0A8C; Thu, 10 May 2018 14:49:07 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 95876E0A8C for ; Thu, 10 May 2018 14:49:07 +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 9FAA3335C81 for ; Thu, 10 May 2018 14:49:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A07DD43 for ; Thu, 10 May 2018 14:49:04 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1525963721.4c0ae35fb3d4c533fe152a897d246d875d5877f1.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/elogviewer/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-portage/elogviewer/elogviewer-2.7-r2.ebuild X-VCS-Directories: app-portage/elogviewer/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 4c0ae35fb3d4c533fe152a897d246d875d5877f1 X-VCS-Branch: master Date: Thu, 10 May 2018 14:49:04 +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-Archives-Salt: 6a97bc05-3d2c-4f3d-bc02-0cddfdddf8d5 X-Archives-Hash: 674c28b5f6b6474e2d3b073d8d3ade77 commit: 4c0ae35fb3d4c533fe152a897d246d875d5877f1 Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu May 10 11:57:38 2018 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu May 10 14:48:41 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0ae35f app-portage/elogviewer: Drop dev-python/pyside and dev-python/PyQt4 Package-Manager: Portage-2.3.36, Repoman-2.3.9 app-portage/elogviewer/elogviewer-2.7-r2.ebuild | 64 +++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/app-portage/elogviewer/elogviewer-2.7-r2.ebuild b/app-portage/elogviewer/elogviewer-2.7-r2.ebuild new file mode 100644 index 00000000000..cad621a1469 --- /dev/null +++ b/app-portage/elogviewer/elogviewer-2.7-r2.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5} ) + +DISABLE_AUTOFORMATTING=true + +inherit python-single-r1 eutils readme.gentoo-r1 + +DESCRIPTION="Elog viewer for Gentoo" +HOMEPAGE="https://sourceforge.net/projects/elogviewer" +SRC_URI="https://github.com/Synss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~sparc x86 ~x86-fbsd" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + || ( + >=sys-apps/portage-2.1[${PYTHON_USEDEP}] + sys-apps/portage-mgorny[${PYTHON_USEDEP}] + ) + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7) +" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +DOC_CONTENTS="In order to use this software, you need to activate +Portage's elog features. Required is + PORTAGE_ELOG_SYSTEM=\"save\" +and at least one of + PORTAGE_ELOG_CLASSES=\"warn error info log qa\" +More information on the elog system can be found in +/usr/share/portage/config/make.conf.example + +To operate properly this software needs the directory +${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage. +To start the software as a user, add yourself to the portage group." + +src_compile() { + rm -f Makefile +} + +src_install() { + python_newscript elogviewer.py elogviewer + + make_desktop_entry ${PN} ${PN} ${PN} System + + doman elogviewer.1 + readme.gentoo_create_doc +} + +pkg_postinst() { + readme.gentoo_print_elog + + ewarn "The elogviewer's configuration file is now saved in:" + ewarn "~/.config/elogviewer/ (was ~/.config/Mathias\ Laurin/)." + ewarn "Please migrate any user specific settings to the new config file." +}