git: 06877ab042f8 - main - finance/electrum: Update to 4.3.3

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Sun, 15 Jan 2023 09:21:02 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=06877ab042f83376b0a13702a6a908633ad60175

commit 06877ab042f83376b0a13702a6a908633ad60175
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-01-15 09:20:54 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-01-15 09:20:54 +0000

    finance/electrum: Update to 4.3.3
---
 finance/electrum/Makefile                          |  2 +-
 finance/electrum/distinfo                          |  6 +++---
 finance/electrum/files/patch-electrum_ecc__fast.py | 13 +++++++++++++
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/finance/electrum/Makefile b/finance/electrum/Makefile
index 9afbc4248805..a9fbd0564623 100644
--- a/finance/electrum/Makefile
+++ b/finance/electrum/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	electrum
-PORTVERSION=	4.3.2
+PORTVERSION=	4.3.3
 CATEGORIES=	finance python
 MASTER_SITES=	https://download.electrum.org/${PORTVERSION}/ \
 		http://download.electrum.org/${PORTVERSION}/
diff --git a/finance/electrum/distinfo b/finance/electrum/distinfo
index 7df5415c5233..d76f3b4810ef 100644
--- a/finance/electrum/distinfo
+++ b/finance/electrum/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1664567618
-SHA256 (Electrum-4.3.2.tar.gz) = bd3640ad3c1b29c7fafef3d03af8ee6cf79cb20fa1f90959eab75b97aa8d7ecd
-SIZE (Electrum-4.3.2.tar.gz) = 13578146
+TIMESTAMP = 1673690253
+SHA256 (Electrum-4.3.3.tar.gz) = 34f5c67db1234fd97cf199c66c3704dfea06c53853cd6ed87deb01cecb06b1b7
+SIZE (Electrum-4.3.3.tar.gz) = 13665972
diff --git a/finance/electrum/files/patch-electrum_ecc__fast.py b/finance/electrum/files/patch-electrum_ecc__fast.py
new file mode 100644
index 000000000000..05c2d504181b
--- /dev/null
+++ b/finance/electrum/files/patch-electrum_ecc__fast.py
@@ -0,0 +1,13 @@
+--- electrum/ecc_fast.py.orig	2023-01-14 09:57:57 UTC
++++ electrum/ecc_fast.py
+@@ -46,8 +46,8 @@ def load_library():
+     elif 'ANDROID_DATA' in os.environ:
+         library_paths = ('libsecp256k1.so',)
+     else:  # desktop Linux and similar
+-        library_paths = (os.path.join(os.path.dirname(__file__), 'libsecp256k1.so.0'),
+-                         'libsecp256k1.so.0')
++        library_paths = (os.path.join(os.path.dirname(__file__), 'libsecp256k1.so'),
++                         'libsecp256k1.so')
+ 
+     exceptions = []
+     secp256k1 = None