mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-portage/elogviewer: Drop 2.7-r1
Bug: https://bugs.gentoo.org/656040 Package-Manager: Portage-2.3.40, Repoman-2.3.9
This commit is contained in:
@@ -1,70 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
|
||||
inherit python-single-r1 eutils 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 ~sparc x86 ~x86-fbsd"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
|| (
|
||||
dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP},X]
|
||||
dev-python/pyside[${PYTHON_USEDEP},X]
|
||||
)
|
||||
|| (
|
||||
>=sys-apps/portage-2.1[${PYTHON_USEDEP}]
|
||||
sys-apps/portage-mgorny[${PYTHON_USEDEP}]
|
||||
)
|
||||
$(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' python2_7)
|
||||
!dev-python/PyQt5[-gui]
|
||||
!dev-python/PyQt5[-widgets]
|
||||
"
|
||||
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."
|
||||
}
|
||||
Reference in New Issue
Block a user