Skip to content

Commit

Permalink
finance/electrum: Update to 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ehaupt committed Apr 20, 2023
1 parent d170324 commit 8387a03
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
2 changes: 1 addition & 1 deletion 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}/
Expand Down
6 changes: 3 additions & 3 deletions 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
18 changes: 8 additions & 10 deletions 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 = []

0 comments on commit 8387a03

Please sign in to comment.