pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/finance/electrum



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Nov 25 19:52:43 UTC 2021

Modified Files:
        pkgsrc/finance/electrum: Makefile distinfo
Added Files:
        pkgsrc/finance/electrum/patches: patch-electrum_electrum

Log Message:
electrum: do not check version of aiorpcX


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/finance/electrum/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/finance/electrum/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/finance/electrum/patches/patch-electrum_electrum

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/finance/electrum/Makefile
diff -u pkgsrc/finance/electrum/Makefile:1.9 pkgsrc/finance/electrum/Makefile:1.10
--- pkgsrc/finance/electrum/Makefile:1.9        Thu Nov 25 08:51:23 2021
+++ pkgsrc/finance/electrum/Makefile    Thu Nov 25 19:52:43 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2021/11/25 08:51:23 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2021/11/25 19:52:43 adam Exp $
 
 VERSION=       4.1.5
 DISTNAME=      Electrum-${VERSION}
@@ -23,7 +23,7 @@ DEPENDS+=     ${PYPKGPREFIX}-dns<2.0:../../n
 # Seems to work without qdarkstyle? Commented out as it's currently not packaged
 #DEPENDS+=     ${PYPKGPREFIX}-qdarkstyle<2.9:../../
 DEPENDS+=      ${PYPKGPREFIX}-aiorpcX>0.18:../../net/py-aiorpcX
-DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.3.0<4.0.0:../../www/py-aiohttp
+DEPENDS+=      ${PYPKGPREFIX}-aiohttp>=3.3.0:../../www/py-aiohttp
 DEPENDS+=      ${PYPKGPREFIX}-aiohttp-socks>=0.3:../../www/py-aiohttp-socks
 DEPENDS+=      ${PYPKGPREFIX}-certifi-[0-9]*:../../security/py-certifi
 DEPENDS+=      ${PYPKGPREFIX}-bitstring-[0-9]*:../../devel/py-bitstring
@@ -33,6 +33,9 @@ DEPENDS+=     libsecp256k1>=0.1:../../securi
 REPLACE_PYTHON+=       electrum/electrum
 REPLACE_PYTHON+=       electrum/scripts/*.py
 
+post-install:
+       ${RM} -f ${DESTDIR}${PREFIX}/${PYSITELIB}/electrum/electrum.orig
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"

Index: pkgsrc/finance/electrum/distinfo
diff -u pkgsrc/finance/electrum/distinfo:1.7 pkgsrc/finance/electrum/distinfo:1.8
--- pkgsrc/finance/electrum/distinfo:1.7        Mon Nov  8 16:37:04 2021
+++ pkgsrc/finance/electrum/distinfo    Thu Nov 25 19:52:43 2021
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.7 2021/11/08 16:37:04 cirnatdan Exp $
+$NetBSD: distinfo,v 1.8 2021/11/25 19:52:43 adam Exp $
 
 BLAKE2s (Electrum-4.1.5.tar.gz) = f9a35a7671bb8dfae3e04d9cbbda657cc2919595bc1b2923f87bab883df11580
 SHA512 (Electrum-4.1.5.tar.gz) = fbffd2366c8521e37da21dce0a59ca140f63635df5a2f31d5faafbc1267384bc6c76f66502a19cdcb4d4100f249c12bc336a54795a8b840bf299b5fda4bc1c8e
 Size (Electrum-4.1.5.tar.gz) = 12066769 bytes
 SHA1 (patch-electrum-ecc_fast.py) = 3e500f6b8fda61ae757a1ae6072b66449ab55883
+SHA1 (patch-electrum_electrum) = 3e5bdea8f1af7d3ce72e4043a9d0439c45de6694
 SHA1 (patch-setup.py) = 7f6472a2278073c15cdfe4c25f911871165b085f

Added files:

Index: pkgsrc/finance/electrum/patches/patch-electrum_electrum
diff -u /dev/null pkgsrc/finance/electrum/patches/patch-electrum_electrum:1.1
--- /dev/null   Thu Nov 25 19:52:43 2021
+++ pkgsrc/finance/electrum/patches/patch-electrum_electrum     Thu Nov 25 19:52:43 2021
@@ -0,0 +1,15 @@
+$NetBSD: patch-electrum_electrum,v 1.1 2021/11/25 19:52:43 adam Exp $
+
+Allow newer py-aiorpcX.
+
+--- electrum/electrum.orig     2021-11-25 08:44:10.000000000 +0000
++++ electrum/electrum
+@@ -63,8 +63,6 @@ def check_imports():
+         import aiorpcx
+     except ImportError as e:
+         sys.exit(f"Error: {str(e)}. Try 'sudo python3 -m pip install <module-name>'")
+-    if not ((0, 18, 7) <= aiorpcx._version < (0, 19)):
+-        raise RuntimeError(f'aiorpcX version {aiorpcx._version} does not match required: 0.18.7<=ver<0.19')
+     # the following imports are for pyinstaller
+     from google.protobuf import descriptor
+     from google.protobuf import message



Home | Main Index | Thread Index | Old Index