Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-portage/elogviewer/
Date: Thu, 10 May 2018 14:49:08
Message-Id: 1525963721.4c0ae35fb3d4c533fe152a897d246d875d5877f1.asturm@gentoo
1 commit: 4c0ae35fb3d4c533fe152a897d246d875d5877f1
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu May 10 11:57:38 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu May 10 14:48:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c0ae35f
7
8 app-portage/elogviewer: Drop dev-python/pyside and dev-python/PyQt4
9
10 Package-Manager: Portage-2.3.36, Repoman-2.3.9
11
12 app-portage/elogviewer/elogviewer-2.7-r2.ebuild | 64 +++++++++++++++++++++++++
13 1 file changed, 64 insertions(+)
14
15 diff --git a/app-portage/elogviewer/elogviewer-2.7-r2.ebuild b/app-portage/elogviewer/elogviewer-2.7-r2.ebuild
16 new file mode 100644
17 index 00000000000..cad621a1469
18 --- /dev/null
19 +++ b/app-portage/elogviewer/elogviewer-2.7-r2.ebuild
20 @@ -0,0 +1,64 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
27 +
28 +DISABLE_AUTOFORMATTING=true
29 +
30 +inherit python-single-r1 eutils readme.gentoo-r1
31 +
32 +DESCRIPTION="Elog viewer for Gentoo"
33 +HOMEPAGE="https://sourceforge.net/projects/elogviewer"
34 +SRC_URI="https://github.com/Synss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
35 +
36 +LICENSE="GPL-2"
37 +SLOT="0"
38 +KEYWORDS="amd64 ~sparc x86 ~x86-fbsd"
39 +IUSE=""
40 +REQUIRED_USE="${PYTHON_REQUIRED_USE}"
41 +
42 +RDEPEND="${PYTHON_DEPS}
43 + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
44 + || (
45 + >=sys-apps/portage-2.1[${PYTHON_USEDEP}]
46 + sys-apps/portage-mgorny[${PYTHON_USEDEP}]
47 + )
48 + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
49 +"
50 +DEPEND="${RDEPEND}
51 + dev-python/setuptools[${PYTHON_USEDEP}]"
52 +
53 +DOC_CONTENTS="In order to use this software, you need to activate
54 +Portage's elog features. Required is
55 + PORTAGE_ELOG_SYSTEM=\"save\"
56 +and at least one of
57 + PORTAGE_ELOG_CLASSES=\"warn error info log qa\"
58 +More information on the elog system can be found in
59 +/usr/share/portage/config/make.conf.example
60 +
61 +To operate properly this software needs the directory
62 +${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage.
63 +To start the software as a user, add yourself to the portage group."
64 +
65 +src_compile() {
66 + rm -f Makefile
67 +}
68 +
69 +src_install() {
70 + python_newscript elogviewer.py elogviewer
71 +
72 + make_desktop_entry ${PN} ${PN} ${PN} System
73 +
74 + doman elogviewer.1
75 + readme.gentoo_create_doc
76 +}
77 +
78 +pkg_postinst() {
79 + readme.gentoo_print_elog
80 +
81 + ewarn "The elogviewer's configuration file is now saved in:"
82 + ewarn "~/.config/elogviewer/ (was ~/.config/Mathias\ Laurin/)."
83 + ewarn "Please migrate any user specific settings to the new config file."
84 +}