forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app-portage/elogviewer: Version bump, bug 601836
Fixes bug 601288 adding python3_5. Package-Manager: Portage-2.3.3_p7, Repoman-2.3.1
- Loading branch information
Showing
2 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST elogviewer-0.6.2.tar.gz 13904 SHA256 27c879a64824dbee50b6f8ddd387047d4bfe80f101fadf24571ba1b12b135dbf SHA512 dccf4dffb87fefb7d9e0609b3312d63b73c1b9c5933819c38b775b049e222687e9da06e63fe8194560f4bb631fa586b4746af9e0a7575eefa782b57d9c1c6e04 WHIRLPOOL 46d04c684b741d337a7c713b3bb375dc78afc99b573a8f229f9970609c6628a5dd6d30e4112c33c19ef7cc24502a5019079a8d70b47a81f199440643926ef80a | ||
DIST elogviewer-2.1.tar.gz 14968 SHA256 12e13c1fec1651e57cf39f66231a2cf27af5110c1b4944ac84f76de7f9cc7fe7 SHA512 27a34ce67e16a51055246b7169c11c248310b2a1d987018938094301b2602839e48909e3224f7d791343bb691de8e2f0ca7b00bd1477e2b3b43d61a24b4e688f WHIRLPOOL c4ab91936d147121d3ab34d04d5c74587d5c4f61f56e2e1c35e0ceed5d92537d29642599b8c5215c2405c892b00f244a30c980da9270b3afab61cd083227e85e | ||
DIST elogviewer-2.6.tar.gz 16093 SHA256 299c58bdf0394a485cda7688e0e668fc028f83730841322a8e41a49902aba558 SHA512 1ca43c0ddc7dcab6a9e753644866b0a8ec8ddb5a56d2b8a25ab06f9ee1fc759910ef7af6257c3c98b886700121f078409931aada67b2aad03a43f440a0b8f233 WHIRLPOOL 77e85cb24a6a43d8068eb1aadbdba61c4addcd686398005181735ae552edbab6e62d4eefad6722dc744b166736c164f66e29e2b4db92014cef622592e0d09f77 | ||
DIST elogviewer-2.7.tar.gz 19936 SHA256 7d4f8326d52f56c5fa50fa423d23ad77e1863c9b01c66e16bd587c7aa31470c4 SHA512 81cf20e8e5509d83634d601f0920bd369e1974c843b600b54faa433dc9927a0df6c9820d2b1f35b241bcd86ea891945f16ec2b0d1b65d08c085a3b245c8b038d WHIRLPOOL 323cfe91af23a3fb95b5305bdba04e28c8ce85aaa479ed264686fea41861de2ca8a3f5a80342d7ea14499e55b0eca7de65039b05156e7f51cd118ab1d842c4c4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
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="" | ||
|
||
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 | ||
$(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}]" | ||
|
||
REQUIRED_USE="${PYTHON_REQUIRED_USE}" | ||
|
||
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_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." | ||
} |