app-portage/elogviewer: Drop 3.0-r2 and 3.1, EAPI6--
Closes: https://bugs.gentoo.org/788010 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
2ebc4fb1e7
commit
1eab4e8a06
|
@ -1,3 +1 @@
|
||||||
DIST elogviewer-3.0.tar.gz 28349 BLAKE2B 44f3ca5b28d075bb8349450cc817fd8ccdd1d1dc7eb948a9d65ab3b423191eca04cc479b2d6bec0bf6bc7f1120eccd257fdf61bb736919129ee756c2f4bd4366 SHA512 7eb59849a06632053ee0f7d1d76d9848220dbb8ad48d04c80fea5e64304f86c1a99987f525c6df682c832bd8453e07781a5c95ad2dee0539e954400730f47e36
|
|
||||||
DIST elogviewer-3.1.tar.gz 28650 BLAKE2B b15d94095def5fb7fdcf77ad1e7bf1fc35af6bbd999d89b7f90bed8ef9739182c8e4af0033aee92453d6b0731ac5d8c168e3900abe0a4466d584bfd9bc64917a SHA512 b99bc165ab08755273ead73fdd3602c9266a9bb243c46d99805c1f8b07f7e8ea9b0583aedb9b7ab717461f2ed3bd27dcf0a5677f2d908d3fcc03769794a64d5b
|
|
||||||
DIST elogviewer-3.2.tar.gz 29046 BLAKE2B a880fde71df3c688572c33abbc163f3ac10a53c672b01b3139d02effa5e59a05f7ae1df35a4505b1a48d7a0cb6166a21b18d1d969e1eaebab03e3620298d4f38 SHA512 2503482f14e21c7b6f69ac0d6305c7c126fa3ac944b68acef7edec0c464d2e45bc2dc348f8d38033dbc276afc132d75863c737e222f66ad5ebe870b30fec2f39
|
DIST elogviewer-3.2.tar.gz 29046 BLAKE2B a880fde71df3c688572c33abbc163f3ac10a53c672b01b3139d02effa5e59a05f7ae1df35a4505b1a48d7a0cb6166a21b18d1d969e1eaebab03e3620298d4f38 SHA512 2503482f14e21c7b6f69ac0d6305c7c126fa3ac944b68acef7edec0c464d2e45bc2dc348f8d38033dbc276afc132d75863c737e222f66ad5ebe870b30fec2f39
|
||||||
|
|
|
@ -1,68 +0,0 @@
|
||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_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 ~arm64 ~ppc x86"
|
|
||||||
IUSE=""
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
|
||||||
>=sys-apps/portage-2.1[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
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."
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/elogviewer-3.0-segfault.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
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."
|
|
||||||
}
|
|
|
@ -1,68 +0,0 @@
|
||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8,9} )
|
|
||||||
|
|
||||||
DISABLE_AUTOFORMATTING=true
|
|
||||||
|
|
||||||
inherit desktop python-single-r1 readme.gentoo-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Elog viewer for Gentoo"
|
|
||||||
HOMEPAGE="https://github.com/Synss/elogviewer"
|
|
||||||
SRC_URI="https://github.com/Synss/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~arm64 ~ppc ~x86"
|
|
||||||
IUSE=""
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
|
||||||
>=sys-apps/portage-2.1[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
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."
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/elogviewer-3.0-segfault.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
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."
|
|
||||||
}
|
|
|
@ -1,34 +0,0 @@
|
||||||
--- a/elogviewer.py 2020-05-08 20:23:04.419257166 -0700
|
|
||||||
+++ b/elogviewer.py 2020-05-08 20:23:30.436359552 -0700
|
|
||||||
@@ -255,15 +255,22 @@
|
|
||||||
return "</h2>"
|
|
||||||
|
|
||||||
def parse(self, line):
|
|
||||||
- eclass, stage = line.split(":")
|
|
||||||
- self.context.eclass = {
|
|
||||||
- "ERROR": EClass.Error,
|
|
||||||
- "WARN": EClass.Warning,
|
|
||||||
- "LOG": EClass.Log,
|
|
||||||
- "INFO": EClass.Info,
|
|
||||||
- "QA": EClass.QA,
|
|
||||||
- }[eclass]
|
|
||||||
- return "{}: {}".format(self.context.eclass.name, stage)
|
|
||||||
+ if not line:
|
|
||||||
+ return
|
|
||||||
+ parts = line.split(":")
|
|
||||||
+ if len(parts) == 2:
|
|
||||||
+ eclass, stage = parts[0:2]
|
|
||||||
+ self.context.eclass = {
|
|
||||||
+ "ERROR": EClass.Error,
|
|
||||||
+ "WARN": EClass.Warning,
|
|
||||||
+ "LOG": EClass.Log,
|
|
||||||
+ "INFO": EClass.Info,
|
|
||||||
+ "QA": EClass.QA,
|
|
||||||
+ }[eclass]
|
|
||||||
+ return "{}: {}".format(self.context.eclass.name, stage)
|
|
||||||
+ elif len(parts) > 2:
|
|
||||||
+ # Return an empty string, eclass and stage are populated anyway
|
|
||||||
+ return ""
|
|
||||||
|
|
||||||
|
|
||||||
class BodyState(AbstractState):
|
|
Loading…
Reference in New Issue