summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2015-02-04 15:35:38 +0800
committerBen de Groot <yngwin@gentoo.org>2015-02-04 15:35:38 +0800
commit99890e53e4050234fe1525a6c3c67443550212eb (patch)
tree57cde860ee49b99f7864f787690b0d5f98368d83
parentcmsgpack version bump and live git ebuilds (diff)
downloadyngwin-99890e53e4050234fe1525a6c3c67443550212eb.tar.gz
yngwin-99890e53e4050234fe1525a6c3c67443550212eb.tar.bz2
yngwin-99890e53e4050234fe1525a6c3c67443550212eb.zip
app-portage/elogviewer: ebuild improvements (bug #515986)
-rw-r--r--app-portage/elogviewer/Manifest1
-rw-r--r--app-portage/elogviewer/elogviewer-2.3.ebuild44
-rw-r--r--app-portage/elogviewer/metadata.xml9
3 files changed, 54 insertions, 0 deletions
diff --git a/app-portage/elogviewer/Manifest b/app-portage/elogviewer/Manifest
new file mode 100644
index 0000000..a4e5315
--- /dev/null
+++ b/app-portage/elogviewer/Manifest
@@ -0,0 +1 @@
+DIST elogviewer-2.3.tar.gz 15531 SHA256 200bc9ba14a5ad20de3cb850fad4a9346cc7396b1f21da2944db4307b3784eb1 SHA512 02629b7e6ccc7b7222fd2dd55a5023bb53bc2cc468ecf2cb098b2e947b047e479450b5a692b07d2beefeaec1c633c05130bfbb06971351cebed0f75622603004 WHIRLPOOL f75e6d3e67a99f8e8dc21701d663f7bccb53791fb61465188a3c33b999deb9879f26fef2ebbe74a98637ff98bc2f0d14123f91cfe65bedd83c54efcb56788c03
diff --git a/app-portage/elogviewer/elogviewer-2.3.ebuild b/app-portage/elogviewer/elogviewer-2.3.ebuild
new file mode 100644
index 0000000..cec7197
--- /dev/null
+++ b/app-portage/elogviewer/elogviewer-2.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-portage/elogviewer/elogviewer-2.3.ebuild,v 1.1 2015/02/03 23:18:03 dolsen Exp $
+
+EAPI=5
+PYTHON_COMPAT=(python{2_7,3_3,3_4})
+DISABLE_AUTOFORMATTING=true
+inherit distutils-r1 eutils readme.gentoo
+
+DESCRIPTION="Elog viewer for Gentoo"
+HOMEPAGE="https://sourceforge.net/projects/elogviewer"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+RDEPEND="|| (
+ dev-python/PyQt5[gui,widgets,${PYTHON_USEDEP}]
+ dev-python/PyQt4[${PYTHON_USEDEP},X]
+ dev-python/pyside[${PYTHON_USEDEP},X] )
+ >=sys-apps/portage-2.1"
+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 /etc/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_install() {
+ mv elogviewer.py elogviewer
+ dobin elogviewer
+ doman elogviewer.1
+ make_desktop_entry ${PN} ${PN} ${PN} System
+ readme.gentoo_src_install
+}
diff --git a/app-portage/elogviewer/metadata.xml b/app-portage/elogviewer/metadata.xml
new file mode 100644
index 0000000..8130019
--- /dev/null
+++ b/app-portage/elogviewer/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>tools-portage</herd>
+ <maintainer>
+ <email>fuzzyray@gentoo.org</email>
+ <name>Paul Varner</name>
+ </maintainer>
+</pkgmetadata>