commit:     fd5caa49038e8bd9d89fa1ffdea4105bde589c87
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 18 20:37:08 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 18 20:37:27 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5caa49

net-misc/electrum: Strip runtime aiorpcX version check

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 net-misc/electrum/{electrum-4.1.2.ebuild => electrum-4.1.2-r1.ebuild} | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-misc/electrum/electrum-4.1.2.ebuild 
b/net-misc/electrum/electrum-4.1.2-r1.ebuild
similarity index 96%
rename from net-misc/electrum/electrum-4.1.2.ebuild
rename to net-misc/electrum/electrum-4.1.2-r1.ebuild
index 434ffec4d5b..8299571face 100644
--- a/net-misc/electrum/electrum-4.1.2.ebuild
+++ b/net-misc/electrum/electrum-4.1.2-r1.ebuild
@@ -55,8 +55,10 @@ src_prepare() {
        eapply "${FILESDIR}/3.3.2-desktop.patch"
 
        # unbind aiorpcX dep
-       sed -e '/aiorpcX/s:,<0.19::' \
+       sed -e '/aiorpcx/s:,<0.19::' \
                -i contrib/requirements/requirements.txt || die
+       sed -e '/aiorpcx/s:raise.*:pass:' \
+               -i run_electrum || die
 
        # Prevent icon from being installed in the wrong location
        sed -i '/icons_dirname/d' setup.py || die

Reply via email to