git: 8387a03af5c3 - main - finance/electrum: Update to 4.4.0

From: Emanuel Haupt <ehaupt_at_FreeBSD.org>
Date: Thu, 20 Apr 2023 07:00:11 UTC
The branch main has been updated by ehaupt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8387a03af5c356f911420f2518a91685264558b1

commit 8387a03af5c356f911420f2518a91685264558b1
Author:     Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2023-04-20 06:59:48 +0000
Commit:     Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2023-04-20 07:00:03 +0000

    finance/electrum: Update to 4.4.0
---
 finance/electrum/Makefile                          |  2 +-
 finance/electrum/distinfo                          |  6 +++---
 finance/electrum/files/patch-electrum_ecc__fast.py | 18 ++++++++----------
 3 files changed, 12 insertions(+), 14 deletions(-)

diff --git a/finance/electrum/Makefile b/finance/electrum/Makefile
index 0878b7032e9c..76f4888836b0 100644
--- a/finance/electrum/Makefile
+++ b/finance/electrum/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	electrum
-PORTVERSION=	4.3.4
+PORTVERSION=	4.4.0
 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 72cf8fe9ddb8..2e0a53086814 100644
--- a/finance/electrum/distinfo
+++ b/finance/electrum/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1676021668
-SHA256 (Electrum-4.3.4.tar.gz) = f99e0d64afee9c537a9b10ae3257870710280fe5353f3564dff66765198e3b1a
-SIZE (Electrum-4.3.4.tar.gz) = 13666830
+TIMESTAMP = 1681928633
+SHA256 (Electrum-4.4.0.tar.gz) = 48757e7c20e17e0221eecf0bede0db2a3f1b9074959bb2763cf438090a69e9c2
+SIZE (Electrum-4.4.0.tar.gz) = 14476482
diff --git a/finance/electrum/files/patch-electrum_ecc__fast.py b/finance/electrum/files/patch-electrum_ecc__fast.py
index 05c2d504181b..4f83caa33669 100644
--- a/finance/electrum/files/patch-electrum_ecc__fast.py
+++ b/finance/electrum/files/patch-electrum_ecc__fast.py
@@ -1,13 +1,11 @@
---- electrum/ecc_fast.py.orig	2023-01-14 09:57:57 UTC
+--- electrum/ecc_fast.py.orig	2023-04-20 06:44:28 UTC
 +++ electrum/ecc_fast.py
-@@ -46,8 +46,8 @@ def load_library():
+@@ -43,6 +43,8 @@ def load_library():
+         libnames = ['libsecp256k1-1.dll', 'libsecp256k1-0.dll', ]
      elif 'ANDROID_DATA' in os.environ:
-         library_paths = ('libsecp256k1.so',)
+         libnames = ['libsecp256k1.so', ]
++    elif 'freebsd' in sys.platform:
++        libnames = ['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
+         libnames = ['libsecp256k1.so.1', 'libsecp256k1.so.0', ]
+     library_paths = []