summaryrefslogtreecommitdiff
path: root/finance/py-python-binance
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-11-10 12:13:00 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2024-11-10 12:13:35 -0800
commitb6240a6c8886f2b4d0a3fe0b75b6c6dcdff2da4d (patch)
tree060707c3fcd99dc3ca1661e78a0eb7bbea0711bd /finance/py-python-binance
parentdevel/py-scheduler: update 0.8.5 → 0.8.7 (diff)
finance/py-python-binance: update 1.0.19 → 1.0.22
Diffstat (limited to 'finance/py-python-binance')
-rw-r--r--finance/py-python-binance/Makefile11
-rw-r--r--finance/py-python-binance/distinfo6
2 files changed, 11 insertions, 6 deletions
diff --git a/finance/py-python-binance/Makefile b/finance/py-python-binance/Makefile
index 784fc7ec8346..37032bc92277 100644
--- a/finance/py-python-binance/Makefile
+++ b/finance/py-python-binance/Makefile
@@ -1,12 +1,13 @@
PORTNAME= python-binance
-DISTVERSION= 1.0.19
+DISTVERSION= 1.0.22
CATEGORIES= finance python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Binance REST API python implementation
-WWW= https://python-binance.readthedocs.io/en/latest/
+WWW= https://python-binance.readthedocs.io/en/latest/ \
+ https://github.com/sammchardy/python-binance
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -18,10 +19,14 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ujson>0:devel/py-ujson@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>0:devel/py-websockets@${PY_FLAVOR}
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests-mock>0:www/py-requests-mock@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}aioresponses>0:www/py-aioresponses@${PY_FLAVOR}
USES= python
-USE_PYTHON= distutils autoplist
+USE_PYTHON= distutils autoplist pytest
NO_ARCH= yes
+# tests fail to run: binance.exceptions.BinanceAPIException: APIError(code=0): Service unavailable from a restricted location according to 'b. Eligibility'
+
.include <bsd.port.mk>
diff --git a/finance/py-python-binance/distinfo b/finance/py-python-binance/distinfo
index 3afab95125de..5d46bea981fe 100644
--- a/finance/py-python-binance/distinfo
+++ b/finance/py-python-binance/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692662814
-SHA256 (python-binance-1.0.19.tar.gz) = b58cb5313d4fafbcfab3afe6082fff8ba4ebf7261211e7a322c2137637825e82
-SIZE (python-binance-1.0.19.tar.gz) = 70568
+TIMESTAMP = 1731265802
+SHA256 (python-binance-1.0.22.tar.gz) = 33c0dead72363d1e7c7982d5c568f93abbb942d6e76712a1084806b5481df422
+SIZE (python-binance-1.0.22.tar.gz) = 89434