summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2019-08-01 19:19:06 +0200
committerMichał Górny <mgorny@gentoo.org>2019-08-01 20:21:36 +0200
commit0ebd505af7440cd2a4b5b5861f674a964d43dccb (patch)
treec649773612dd3a022edd5b8f43049ba2dc6789a4 /net-misc
parentnet-misc/electrum: Remove invalid L10N usage (diff)
downloadgentoo-0ebd505af7440cd2a4b5b5861f674a964d43dccb.tar.gz
gentoo-0ebd505af7440cd2a4b5b5861f674a964d43dccb.tar.bz2
gentoo-0ebd505af7440cd2a4b5b5861f674a964d43dccb.zip
net-misc/electrum: Remove plugin stripping
Remove plugin stripping, and USE flags that controlled that only. This leaves only USE=qrcode that pulls in the needed dependency. Stripping breaks 3.3.8. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/electrum/electrum-3.3.6-r3.ebuild41
1 files changed, 3 insertions, 38 deletions
diff --git a/net-misc/electrum/electrum-3.3.6-r3.ebuild b/net-misc/electrum/electrum-3.3.6-r3.ebuild
index 1cb1b8b2bbaa..67887803dc4f 100644
--- a/net-misc/electrum/electrum-3.3.6-r3.ebuild
+++ b/net-misc/electrum/electrum-3.3.6-r3.ebuild
@@ -16,20 +16,9 @@ SRC_URI="https://download.electrum.org/${PV}/${MY_P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="audio_modem cli coldcard cosign digitalbitbox email greenaddress_it ncurses qrcode +qt5 safe_t sync revealer trustedcoin_com vkb"
-
-REQUIRED_USE="
- || ( cli ncurses qt5 )
- audio_modem? ( qt5 )
- cosign? ( qt5 )
- digitalbitbox? ( qt5 )
- email? ( qt5 )
- greenaddress_it? ( qt5 )
- qrcode? ( qt5 )
- sync? ( qt5 )
- trustedcoin_com? ( qt5 )
- vkb? ( qt5 )
-"
+IUSE="cli ncurses qrcode +qt5"
+
+REQUIRED_USE="|| ( cli ncurses qt5 )"
RDEPEND="${PYTHON_DEPS}
dev-python/aiohttp-socks[${PYTHON_USEDEP}]
@@ -92,30 +81,6 @@ src_prepare() {
fi
sed -i 's/^\([[:space:]]*\)\(config_options\['\''cwd'\''\] = .*\)$/\1\2\n\1config_options.setdefault("gui", "'"${bestgui}"'")\n/' ${PN}/${PN} || die
- local plugin
- # trezor requires python trezorlib module
- # keepkey requires trezor
- for plugin in \
- $(usex audio_modem '' audio_modem ) \
- $(usex coldcard '' coldcard ) \
- $(usex cosign '' cosigner_pool ) \
- $(usex digitalbitbox '' digitalbitbox ) \
- $(usex email '' email_requests ) \
- $(usex greenaddress_it '' greenaddress_instant ) \
- hw_wallet \
- ledger \
- keepkey \
- $(usex safe_t '' safe_t ) \
- $(usex sync '' labels ) \
- $(usex revealer '' revealer ) \
- trezor \
- $(usex trustedcoin_com '' trustedcoin ) \
- $(usex vkb '' virtualkeyboard ) \
- ; do
- rm -r ${PN}/plugins/"${plugin}"* || die
- sed -i "/${plugin}/d" setup.py || die
- done
-
eapply_user
xdg_environment_reset