diff options
author | Ben Kohler <bkohler@gentoo.org> | 2020-01-07 11:02:18 -0600 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2020-01-07 11:02:18 -0600 |
commit | 8974d7a3fad74dab685511fc4ea4ca40f6fecdbc (patch) | |
tree | fb5d9e3e4ea48153f5d7bab5ec0c497d7e5d3f8a /app-portage/elogviewer | |
parent | x11-misc/arandr: update PYTHON_COMPAT (diff) | |
download | gentoo-8974d7a3fad74dab685511fc4ea4ca40f6fecdbc.tar.gz gentoo-8974d7a3fad74dab685511fc4ea4ca40f6fecdbc.tar.bz2 gentoo-8974d7a3fad74dab685511fc4ea4ca40f6fecdbc.zip |
app-portage/elogviewer: bump to 3.0 & update PYTHON_COMPAT
Also replace eutils inherit with desktop
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'app-portage/elogviewer')
-rw-r--r-- | app-portage/elogviewer/Manifest | 1 | ||||
-rw-r--r-- | app-portage/elogviewer/elogviewer-3.0.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/app-portage/elogviewer/Manifest b/app-portage/elogviewer/Manifest index a29cc33dfb41..d782e287505a 100644 --- a/app-portage/elogviewer/Manifest +++ b/app-portage/elogviewer/Manifest @@ -1 +1,2 @@ DIST elogviewer-2.9.tar.gz 24157 BLAKE2B ff527c0198e86f7be15fce3f25f0e9677b6911cef72cfdc1f582c62f534fc15adac8c2cf612475f174561dd46b489dcaf819c8ccd1b5893adeb7a6c085ce11c2 SHA512 e5781eeaf663fafa680b0620c4a6aec63afffd05c1cb4cb5362e9eca3a35c85550ee295a6b753155b0392d69442068cf155c3ead872c457e5a3cdbcd59b1ab2e +DIST elogviewer-3.0.tar.gz 28349 BLAKE2B 44f3ca5b28d075bb8349450cc817fd8ccdd1d1dc7eb948a9d65ab3b423191eca04cc479b2d6bec0bf6bc7f1120eccd257fdf61bb736919129ee756c2f4bd4366 SHA512 7eb59849a06632053ee0f7d1d76d9848220dbb8ad48d04c80fea5e64304f86c1a99987f525c6df682c832bd8453e07781a5c95ad2dee0539e954400730f47e36 diff --git a/app-portage/elogviewer/elogviewer-3.0.ebuild b/app-portage/elogviewer/elogviewer-3.0.ebuild new file mode 100644 index 000000000000..40533d03c311 --- /dev/null +++ b/app-portage/elogviewer/elogviewer-3.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7,8} ) + +DISABLE_AUTOFORMATTING=true + +inherit desktop python-single-r1 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 ~ppc ~x86" +IUSE="" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}] + >=sys-apps/portage-2.1[${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." +} |