mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
electrum-ltc: update to 3.3.8.1.
This commit is contained in:
parent
cdb0adae5d
commit
e354345255
2 changed files with 33 additions and 41 deletions
|
@ -1,25 +1,16 @@
|
||||||
diff --git contrib/requirements/requirements.txt contrib/requirements/requirements.txt
|
diff --git a/electrum_ltc/interface.py b/electrum_ltc/interface.py
|
||||||
index 4ca2422..ac60e57 100644
|
index b5eac439c..14bbd7ab9 100644
|
||||||
--- contrib/requirements/requirements.txt
|
--- a/electrum_ltc/interface.py
|
||||||
+++ contrib/requirements/requirements.txt
|
+++ b/electrum_ltc/interface.py
|
||||||
@@ -8,4 +8,3 @@ qdarkstyle<3.0
|
@@ -40,7 +40,6 @@ from aiorpcx import RPCSession, Notification, NetAddress
|
||||||
aiorpcx>=0.17,<0.18
|
|
||||||
aiohttp>=3.3.0
|
|
||||||
aiohttp_socks
|
|
||||||
-certifi
|
|
||||||
diff --git electrum_ltc/interface.py electrum_ltc/interface.py
|
|
||||||
index 8a019af..7a5a7e7 100644
|
|
||||||
--- electrum_ltc/interface.py
|
|
||||||
+++ electrum_ltc/interface.py
|
|
||||||
@@ -38,7 +38,6 @@ import aiorpcx
|
|
||||||
from aiorpcx import RPCSession, Notification, NetAddress
|
|
||||||
from aiorpcx.curio import timeout_after, TaskTimeout
|
from aiorpcx.curio import timeout_after, TaskTimeout
|
||||||
from aiorpcx.jsonrpc import JSONRPC
|
from aiorpcx.jsonrpc import JSONRPC, CodeMessageError
|
||||||
|
from aiorpcx.rawsocket import RSClient
|
||||||
-import certifi
|
-import certifi
|
||||||
|
|
||||||
from .util import ignore_exceptions, log_exceptions, bfh, SilentTaskGroup
|
from .util import ignore_exceptions, log_exceptions, bfh, SilentTaskGroup
|
||||||
from . import util
|
from . import util
|
||||||
@@ -55,7 +54,7 @@ if TYPE_CHECKING:
|
@@ -57,7 +56,7 @@ if TYPE_CHECKING:
|
||||||
from .network import Network
|
from .network import Network
|
||||||
|
|
||||||
|
|
||||||
|
@ -28,19 +19,19 @@ index 8a019af..7a5a7e7 100644
|
||||||
|
|
||||||
BUCKET_NAME_OF_ONION_SERVERS = 'onion'
|
BUCKET_NAME_OF_ONION_SERVERS = 'onion'
|
||||||
|
|
||||||
diff --git electrum_ltc/paymentrequest.py electrum_ltc/paymentrequest.py
|
diff --git a/electrum_ltc/paymentrequest.py b/electrum_ltc/paymentrequest.py
|
||||||
index 205eda7..1ab1df2 100644
|
index 149065bf3..9580c8d48 100644
|
||||||
--- electrum_ltc/paymentrequest.py
|
--- a/electrum_ltc/paymentrequest.py
|
||||||
+++ electrum_ltc/paymentrequest.py
|
+++ b/electrum_ltc/paymentrequest.py
|
||||||
@@ -28,7 +28,6 @@ import time
|
@@ -29,7 +29,6 @@ import traceback
|
||||||
import traceback
|
|
||||||
import json
|
import json
|
||||||
|
from typing import Optional
|
||||||
|
|
||||||
-import certifi
|
-import certifi
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
import aiohttp
|
import aiohttp
|
||||||
|
|
||||||
@@ -53,7 +52,7 @@ _logger = get_logger(__name__)
|
@@ -54,7 +53,7 @@ _logger = get_logger(__name__)
|
||||||
REQUEST_HEADERS = {'Accept': 'application/litecoin-paymentrequest', 'User-Agent': 'Electrum'}
|
REQUEST_HEADERS = {'Accept': 'application/litecoin-paymentrequest', 'User-Agent': 'Electrum'}
|
||||||
ACK_HEADERS = {'Content-Type':'application/litecoin-payment','Accept':'application/litecoin-paymentack','User-Agent':'Electrum'}
|
ACK_HEADERS = {'Content-Type':'application/litecoin-payment','Accept':'application/litecoin-paymentack','User-Agent':'Electrum'}
|
||||||
|
|
||||||
|
@ -49,10 +40,10 @@ index 205eda7..1ab1df2 100644
|
||||||
ca_list = None
|
ca_list = None
|
||||||
ca_keyID = None
|
ca_keyID = None
|
||||||
|
|
||||||
diff --git electrum_ltc/util.py electrum_ltc/util.py
|
diff --git a/electrum_ltc/util.py b/electrum_ltc/util.py
|
||||||
index 0df8786..607e043 100644
|
index bc69800dc..9c32a195a 100644
|
||||||
--- electrum_ltc/util.py
|
--- a/electrum_ltc/util.py
|
||||||
+++ electrum_ltc/util.py
|
+++ b/electrum_ltc/util.py
|
||||||
@@ -44,7 +44,6 @@ import ssl
|
@@ -44,7 +44,6 @@ import ssl
|
||||||
import aiohttp
|
import aiohttp
|
||||||
from aiohttp_socks import SocksConnector, SocksVer
|
from aiohttp_socks import SocksConnector, SocksVer
|
||||||
|
@ -70,10 +61,10 @@ index 0df8786..607e043 100644
|
||||||
|
|
||||||
|
|
||||||
base_units = {'LTC':8, 'mLTC':5, 'uLTC':2, 'sat':0}
|
base_units = {'LTC':8, 'mLTC':5, 'uLTC':2, 'sat':0}
|
||||||
diff --git electrum_ltc/x509.py electrum_ltc/x509.py
|
diff --git a/electrum_ltc/x509.py b/electrum_ltc/x509.py
|
||||||
index c38edc7..e745e48 100644
|
index c38edc77a..e745e4878 100644
|
||||||
--- electrum_ltc/x509.py
|
--- a/electrum_ltc/x509.py
|
||||||
+++ electrum_ltc/x509.py
|
+++ b/electrum_ltc/x509.py
|
||||||
@@ -343,7 +343,6 @@ def load_certificates(ca_path):
|
@@ -343,7 +343,6 @@ def load_certificates(ca_path):
|
||||||
|
|
||||||
|
|
||||||
|
@ -83,11 +74,11 @@ index c38edc7..e745e48 100644
|
||||||
- ca_path = certifi.where()
|
- ca_path = certifi.where()
|
||||||
+ ca_path = '/etc/ssl/certs/ca-certificates.crt'
|
+ ca_path = '/etc/ssl/certs/ca-certificates.crt'
|
||||||
ca_list, ca_keyID = load_certificates(ca_path)
|
ca_list, ca_keyID = load_certificates(ca_path)
|
||||||
diff --git run_electrum run_electrum
|
diff --git a/run_electrum b/run_electrum
|
||||||
index b10462c..805dc8f 100755
|
index 978e5fb2f..e8fc3888c 100755
|
||||||
--- run_electrum
|
--- a/run_electrum
|
||||||
+++ run_electrum
|
+++ b/run_electrum
|
||||||
@@ -55,7 +55,6 @@ def check_imports():
|
@@ -58,7 +58,6 @@ def check_imports():
|
||||||
import dns
|
import dns
|
||||||
import pyaes
|
import pyaes
|
||||||
import ecdsa
|
import ecdsa
|
||||||
|
@ -95,7 +86,7 @@ index b10462c..805dc8f 100755
|
||||||
import qrcode
|
import qrcode
|
||||||
import google.protobuf
|
import google.protobuf
|
||||||
import jsonrpclib
|
import jsonrpclib
|
||||||
@@ -69,7 +68,7 @@ def check_imports():
|
@@ -72,7 +71,7 @@ def check_imports():
|
||||||
from google.protobuf import descriptor_pb2
|
from google.protobuf import descriptor_pb2
|
||||||
from jsonrpclib import SimpleJSONRPCServer
|
from jsonrpclib import SimpleJSONRPCServer
|
||||||
# make sure that certificates are here
|
# make sure that certificates are here
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'electrum-ltc'
|
# Template file for 'electrum-ltc'
|
||||||
pkgname=electrum-ltc
|
pkgname=electrum-ltc
|
||||||
version=3.3.6.1
|
version=3.3.8.1
|
||||||
revision=2
|
revision=1
|
||||||
archs=noarch
|
archs=noarch
|
||||||
build_style=python3-module
|
build_style=python3-module
|
||||||
hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
|
hostmakedepends="python3-setuptools python3-PyQt5-devel-tools"
|
||||||
|
@ -13,7 +13,8 @@ maintainer="Young Jin Park <youngjinpark20@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://electrum-ltc.org/"
|
homepage="https://electrum-ltc.org/"
|
||||||
distfiles="https://github.com/pooler/electrum-ltc/archive/${version}.tar.gz"
|
distfiles="https://github.com/pooler/electrum-ltc/archive/${version}.tar.gz"
|
||||||
checksum="8c5ab5f496bc0dcedb6efcf7dee4c936dcf6fddbea58ebb081b4aa4bb2faf624"
|
checksum="6f4049abacfdb125b968e841ec9bc01e386e475f3fac8534103ffea1257b0f0f"
|
||||||
|
patch_args="-Np1"
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vlicense LICENCE
|
vlicense LICENCE
|
||||||
|
|
Loading…
Add table
Reference in a new issue