From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5B05E1384B4 for ; Wed, 2 Dec 2015 18:23:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 46FD621C015; Wed, 2 Dec 2015 18:23:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8B3021C015 for ; Wed, 2 Dec 2015 18:23:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5CD9F3407E6 for ; Wed, 2 Dec 2015 18:23:33 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80BF599E for ; Wed, 2 Dec 2015 18:23:31 +0000 (UTC) From: "Paul Varner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Paul Varner" Message-ID: <1449080566.0a331e6a19380bc9adf5d7a093093741bc12ecf9.fuzzyray@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.6-r1.ebuild X-VCS-Directories: app-portage/elogviewer/ X-VCS-Committer: fuzzyray X-VCS-Committer-Name: Paul Varner X-VCS-Revision: 0a331e6a19380bc9adf5d7a093093741bc12ecf9 X-VCS-Branch: master Date: Wed, 2 Dec 2015 18:23:31 +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: bf27d67e-d7f2-4512-9d22-ec463daffb41 X-Archives-Hash: 53b2db3ccd145ad3ec0be0afabe72e97 commit: 0a331e6a19380bc9adf5d7a093093741bc12ecf9 Author: Paul Varner gentoo org> AuthorDate: Wed Dec 2 18:22:46 2015 +0000 Commit: Paul Varner gentoo org> CommitDate: Wed Dec 2 18:22:46 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a331e6a app-portage/elogviewer: Revision bump to fix dependencies for bug 567110 Since the elogviewer code will try to use PyQt5, if it is installed, we need to enforce that it is installed with the correct use flags. The only way to do this and keep the any of many dependency is with blockers. Package-Manager: portage-2.2.25 app-portage/elogviewer/elogviewer-2.6-r1.ebuild | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/app-portage/elogviewer/elogviewer-2.6-r1.ebuild b/app-portage/elogviewer/elogviewer-2.6-r1.ebuild new file mode 100644 index 0000000..d7033fb --- /dev/null +++ b/app-portage/elogviewer/elogviewer-2.6-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=(python{2_7,3_3,3_4}) +DISABLE_AUTOFORMATTING=true +inherit distutils-r1 eutils readme.gentoo + +DESCRIPTION="Elog viewer for Gentoo" +HOMEPAGE="https://sourceforge.net/projects/elogviewer" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND="|| ( + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + dev-python/PyQt4[${PYTHON_USEDEP},X] + dev-python/pyside[${PYTHON_USEDEP},X] ) + >=sys-apps/portage-2.1 + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python{2_7,3_3}) + !dev-python/PyQt5[-gui] + !dev-python/PyQt5[-widgets] + " +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 /etc/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_install() { + mv elogviewer.py elogviewer + dobin elogviewer + doman elogviewer.1 + make_desktop_entry ${PN} ${PN} ${PN} System + readme.gentoo_src_install +}