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 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