Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/electrum-ltc/
Date: Sat, 06 Jan 2018 12:21:34
Message-Id: 1515240990.c4e0f8f960a1276437c9d80214bde40f329be2db.zmedico@gentoo
1 commit: c4e0f8f960a1276437c9d80214bde40f329be2db
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 6 12:16:30 2018 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 6 12:16:30 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4e0f8f9
7
8 net-misc/electrum-ltc: fix for qt5 disabled
9
10 Package-Manager: Portage-2.3.19, Repoman-2.3.6
11
12 net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild | 8 ++++++--
13 1 file changed, 6 insertions(+), 2 deletions(-)
14
15 diff --git a/net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild b/net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild
16 index 5ddcdc8524e..9fe4e95536d 100644
17 --- a/net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild
18 +++ b/net-misc/electrum-ltc/electrum-ltc-3.0_pre20171218.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2017 Gentoo Foundation
21 +# Copyright 1999-2018 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23
24 EAPI="6"
25 @@ -72,7 +72,11 @@ src_prepare() {
26 # Prevent icon from being installed in the wrong location
27 sed -i '/icons/d' setup.py || die
28
29 - pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
30 + if use qt5; then
31 + pyrcc5 icons.qrc -o gui/qt/icons_rc.py || die
32 + else
33 + sed "s|'electrum_ltc_gui.qt',||" -i setup.py || die
34 + fi
35
36 local wordlist=
37 for wordlist in \