summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Varner <fuzzyray@gentoo.org>2014-07-21 23:27:36 +0000
committerPaul Varner <fuzzyray@gentoo.org>2014-07-21 23:27:36 +0000
commit75dc126a5649638ae10e2eaa8d3009d43e1ea354 (patch)
tree6abfe5917c4a26e3799ed25d64b864674073c047 /app-portage
parentdon't inject -Werror and keyworded ~x86-macos ~amd64-linux ~arm (tested by me) (diff)
downloadgentoo-2-75dc126a5649638ae10e2eaa8d3009d43e1ea354.tar.gz
gentoo-2-75dc126a5649638ae10e2eaa8d3009d43e1ea354.tar.bz2
gentoo-2-75dc126a5649638ae10e2eaa8d3009d43e1ea354.zip
Restore elogviewer-0.6.2-r2 due to user request. Bug #515654
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xDCB4A7FF)
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/elogviewer/ChangeLog5
-rw-r--r--app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild55
2 files changed, 59 insertions, 1 deletions
diff --git a/app-portage/elogviewer/ChangeLog b/app-portage/elogviewer/ChangeLog
index 3638e2e8d67c..fb5eb258df52 100644
--- a/app-portage/elogviewer/ChangeLog
+++ b/app-portage/elogviewer/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-portage/elogviewer
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v 1.49 2014/07/13 10:54:45 zlogene Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/ChangeLog,v 1.50 2014/07/21 23:27:36 fuzzyray Exp $
+
+ 21 Jul 2014; Paul Varner <fuzzyray@gentoo.org> +elogviewer-0.6.2-r2.ebuild:
+ Restore elogviewer-0.6.2-r2 due to user request. Bug #515654
13 Jul 2014; Mikle Kolyada <zlogene@gentoo.org> elogviewer-2.1-r1.ebuild:
sparc stable wrt bug #510560
diff --git a/app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild b/app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild
new file mode 100644
index 000000000000..11446990ade3
--- /dev/null
+++ b/app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild,v 1.3 2014/07/21 23:27:36 fuzzyray Exp $
+
+EAPI=3
+PYTHON_DEPEND=2
+
+inherit eutils python
+
+DESCRIPTION="GTK+ based utility to parse the contents of elogs created by Portage"
+HOMEPAGE="http://sourceforge.net/projects/elogviewer/"
+
+SRC_URI="mirror://sourceforge/elogviewer/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND=">=sys-apps/portage-2.1
+ >=dev-python/pygtk-2.0"
+
+src_prepare() {
+ # Apply patch from Bug 349071 to restore missing newline
+ epatch "${FILESDIR}/${P}-missing_newline.patch"
+ # Fix bug #453016
+ sed -e 's|is not ""|!= ""|' -i elogviewer || die
+}
+
+src_install() {
+ dobin "${WORKDIR}"/elogviewer || die "dobin failed"
+ dodoc "${WORKDIR}"/CHANGELOG
+ doman "${WORKDIR}"/elogviewer.1
+ make_desktop_entry elogviewer Elogviewer "" "System" ||
+ die "Couldn't make desktop entry"
+ python_convert_shebangs -r 2 "${ED}"
+}
+
+pkg_postinst() {
+ elog
+ elog "In order to use this software, you need to activate"
+ elog "Portage's elog features. Required is"
+ elog " PORTAGE_ELOG_SYSTEM=\"save\" "
+ elog "and at least one out of "
+ elog " PORTAGE_ELOG_CLASSES=\"warn error info log qa\""
+ elog "More information on the elog system can be found"
+ elog "in /etc/make.conf.example"
+ elog
+ elog "To operate properly this software needs the directory"
+ elog "${PORT_LOGDIR:-/var/log/portage}/elog created, belonging to group portage."
+ elog "To start the software as a user, add yourself to the portage"
+ elog "group."
+ elog
+}