From 75dc126a5649638ae10e2eaa8d3009d43e1ea354 Mon Sep 17 00:00:00 2001 From: Paul Varner Date: Mon, 21 Jul 2014 23:27:36 +0000 Subject: 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) --- app-portage/elogviewer/ChangeLog | 5 ++- app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild | 55 +++++++++++++++++++++++ 2 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 app-portage/elogviewer/elogviewer-0.6.2-r2.ebuild (limited to 'app-portage') 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 +elogviewer-0.6.2-r2.ebuild: + Restore elogviewer-0.6.2-r2 due to user request. Bug #515654 13 Jul 2014; Mikle Kolyada 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 +} -- cgit v1.2.3-65-gdbad