mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-portage/elogviewer: drop 3.2-r1
Closes: https://bugs.gentoo.org/965510 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST elogviewer-3.2.tar.gz 29046 BLAKE2B a880fde71df3c688572c33abbc163f3ac10a53c672b01b3139d02effa5e59a05f7ae1df35a4505b1a48d7a0cb6166a21b18d1d969e1eaebab03e3620298d4f38 SHA512 2503482f14e21c7b6f69ac0d6305c7c126fa3ac944b68acef7edec0c464d2e45bc2dc348f8d38033dbc276afc132d75863c737e222f66ad5ebe870b30fec2f39
|
||||
DIST elogviewer-3.3.tar.gz 30246 BLAKE2B 2311849e841425c4790a6e8d31179805af6b9565c591074263ba37070f3f3d2445f8d03e6a07c72a39a87de5756eb60baa18bc8b3ccdd69c5568be1c179dc837 SHA512 96ce50bf3d5b2f130974996d600eeb1778358aff16ce102ef6b9cef7129846e6f707d0c16e53f455ebd68b41ed63f346cb64427456c60901dacc8184d5cd6ac0
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..13} )
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
|
||||
inherit desktop python-single-r1 readme.gentoo-r1 virtualx
|
||||
|
||||
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 ~riscv x86"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyqt5[gui,widgets,${PYTHON_USEDEP}]
|
||||
>=sys-apps/portage-2.1[${PYTHON_USEDEP}]
|
||||
')
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
${RDEPEND}
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/pyfakefs[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-qt[${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_test() {
|
||||
export PYTEST_QT_API=pyqt5
|
||||
virtx epytest
|
||||
}
|
||||
|
||||
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."
|
||||
}
|
||||
Reference in New Issue
Block a user