Gentoo Archives: gentoo-commits

From: Paul Varner <fuzzyray@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/elogviewer/
Date: Wed, 02 Dec 2015 18:23:40
Message-Id: 1449080566.0a331e6a19380bc9adf5d7a093093741bc12ecf9.fuzzyray@gentoo
1 commit: 0a331e6a19380bc9adf5d7a093093741bc12ecf9
2 Author: Paul Varner <fuzzyray <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 2 18:22:46 2015 +0000
4 Commit: Paul Varner <fuzzyray <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 2 18:22:46 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a331e6a
7
8 app-portage/elogviewer: Revision bump to fix dependencies for bug 567110
9
10 Since the elogviewer code will try to use PyQt5, if it is installed, we need
11 to enforce that it is installed with the correct use flags. The only way to
12 do this and keep the any of many dependency is with blockers.
13
14 Package-Manager: portage-2.2.25
15
16 app-portage/elogviewer/elogviewer-2.6-r1.ebuild | 48 +++++++++++++++++++++++++
17 1 file changed, 48 insertions(+)
18
19 diff --git a/app-portage/elogviewer/elogviewer-2.6-r1.ebuild b/app-portage/elogviewer/elogviewer-2.6-r1.ebuild
20 new file mode 100644
21 index 0000000..d7033fb
22 --- /dev/null
23 +++ b/app-portage/elogviewer/elogviewer-2.6-r1.ebuild
24 @@ -0,0 +1,48 @@
25 +# Copyright 1999-2015 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=5
30 +PYTHON_COMPAT=(python{2_7,3_3,3_4})
31 +DISABLE_AUTOFORMATTING=true
32 +inherit distutils-r1 eutils readme.gentoo
33 +
34 +DESCRIPTION="Elog viewer for Gentoo"
35 +HOMEPAGE="https://sourceforge.net/projects/elogviewer"
36 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
37 +
38 +LICENSE="GPL-2"
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
41 +IUSE=""
42 +
43 +RDEPEND="|| (
44 + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
45 + dev-python/PyQt4[${PYTHON_USEDEP},X]
46 + dev-python/pyside[${PYTHON_USEDEP},X] )
47 + >=sys-apps/portage-2.1
48 + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python{2_7,3_3})
49 + !dev-python/PyQt5[-gui]
50 + !dev-python/PyQt5[-widgets]
51 + "
52 +DEPEND="${RDEPEND}
53 + dev-python/setuptools[${PYTHON_USEDEP}]"
54 +
55 +DOC_CONTENTS="In order to use this software, you need to activate
56 +Portage's elog features. Required is
57 + PORTAGE_ELOG_SYSTEM=\"save\"
58 +and at least one of
59 + PORTAGE_ELOG_CLASSES=\"warn error info log qa\"
60 +More information on the elog system can be found in /etc/make.conf.example
61 +
62 +To operate properly this software needs the directory
63 +${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage.
64 +To start the software as a user, add yourself to the portage group."
65 +
66 +src_install() {
67 + mv elogviewer.py elogviewer
68 + dobin elogviewer
69 + doman elogviewer.1
70 + make_desktop_entry ${PN} ${PN} ${PN} System
71 + readme.gentoo_src_install
72 +}