aboutsummaryrefslogtreecommitdiff
path: root/finance/electrum/Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2021-04-06 21:07:45 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2021-04-06 21:07:54 +0000
commit8956ecd6dfc052566bed66a953cce94282f4bb41 (patch)
tree963a35f20f32796a9db7612eeac00b2670f9211a /finance/electrum/Makefile
parente59ca7765340b225373bc6337536fc456c4729d3 (diff)
downloadports-8956ecd6dfc052566bed66a953cce94282f4bb41.tar.gz
ports-8956ecd6dfc052566bed66a953cce94282f4bb41.zip
finance/electrum: Update to 4.1.1
Diffstat (limited to 'finance/electrum/Makefile')
-rw-r--r--finance/electrum/Makefile38
1 files changed, 19 insertions, 19 deletions
diff --git a/finance/electrum/Makefile b/finance/electrum/Makefile
index 1bc596e2b5ca..2f39b85e564c 100644
--- a/finance/electrum/Makefile
+++ b/finance/electrum/Makefile
@@ -1,7 +1,7 @@
# Created by: Neil Booth
PORTNAME= electrum
-PORTVERSION= 4.0.9
+PORTVERSION= 4.1.1
CATEGORIES= finance python
MASTER_SITES= https://download.electrum.org/${PORTVERSION}/ \
http://download.electrum.org/${PORTVERSION}/
@@ -16,7 +16,9 @@ LICENSE_FILE= ${WRKSRC}/LICENCE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp-socks>=0.3:net/py-aiohttp-socks@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}aiohttp>=3.3.0:www/py-aiohttp@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}aiorpcX>=0.18:devel/py-aiorpcX@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}aiorpcX>=0.18.7:devel/py-aiorpcX@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}bitstring>0:devel/py-bitstring@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}certifi>0:security/py-certifi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cryptography>=2.6:security/py-cryptography@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}dnspython<2.0:dns/py-dnspython@${PY_FLAVOR} \
@@ -24,40 +26,38 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp-socks>=0.3:net/py-aiohttp-socks@${PY
${PYTHON_PKGNAMEPREFIX}jsonrpclib-pelix>0:devel/py-jsonrpclib-pelix@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pbkdf2>=1.3:security/py-pbkdf2@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}protobuf>=3.12:devel/py-protobuf@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}QDarkStyle<2.9:textproc/py-QDarkStyle@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}QDarkStyle==2.8.1:textproc/py-QDarkStyle@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}qrcode>0:textproc/py-qrcode@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=2.4.3:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}secp256k1>0:math/py-secp256k1@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}secp256k1>0:math/py-secp256k1@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}bitstring>0:devel/py-bitstring@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}attrs>=19.2.0:devel/py-attrs@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlite3>=3.7.9:databases/py-sqlite3@${PY_FLAVOR}
-USES= python:3.7+
+USES= python:3.7+ shebangfix
USE_PYTHON= autoplist concurrent distutils
PYDISTUTILS_PKGNAME= Electrum
-NO_ARCH= yes
-OPTIONS_SUB= yes
-OPTIONS_DEFINE= GUI HARDWARE
-OPTIONS_DEFAULT=GUI HARDWARE
+SHEBANG_FILES= electrum/electrum
+SHEBANG_GLOB= *.py
-GUI_USES= desktop-file-utils pyqt:5
-GUI_USE= PYQT=gui_run,sip,widgets
+NO_ARCH= yes
+
+OPTIONS_DEFINE= GUI HARDWARE
+OPTIONS_DEFAULT= GUI HARDWARE
+OPTIONS_SUB= yes
-HARDWARE_USE= PYTHON=cython
HARDWARE_DESC= Enable Bitcoin hardware wallet support
+GUI_USES= desktop-file-utils pyqt:5
+GUI_USE= PYQT=sip,widgets,gui_run
HARDWARE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}btchip-python>=0.1.30:security/py-btchip-python@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}trezor>=0.12.0:security/py-trezor@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}ckcc-protocol>=0.7.7:security/py-ckcc-protocol@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hidapi>=0:comms/py-hidapi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}keepkey>=6.3.1:security/py-keepkey@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}ckcc-protocol>=0.7.7:security/py-ckcc-protocol@${PY_FLAVOR}
-
-HARDWARE_PLIST_FILES= "@sample etc/devd/hardware_wallet.conf.sample"
-
+ ${PYTHON_PKGNAMEPREFIX}trezor>=0.12.0:security/py-trezor@${PY_FLAVOR}
+HARDWARE_USE= PYTHON=cython
HARDWARE_SUB_FILES= pkg-message-hwwallet
+HARDWARE_PLIST_FILES= "@sample etc/devd/hardware_wallet.conf.sample"
post-patch-GUI-off:
@${REINPLACE_CMD} -e '/electrum\.desktop/d' ${WRKSRC}/setup.py