diff --git a/finance/py-python-binance/Makefile b/finance/py-python-binance/Makefile index 223d9af721dc..0a0173138dfd 100644 --- a/finance/py-python-binance/Makefile +++ b/finance/py-python-binance/Makefile @@ -1,33 +1,38 @@ PORTNAME= python-binance -DISTVERSION= 1.0.22 -PORTREVISION= 1 +DISTVERSION= 1.0.36 CATEGORIES= finance python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= python_binance-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Binance REST API python implementation WWW= https://python-binance.readthedocs.io/en/latest/ \ https://github.com/sammchardy/python-binance LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>0:www/py-aiohttp@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}dateparser>0:devel/py-dateparser@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}orjson>0:devel/py-orjson@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}pycryptodome>0:security/py-pycryptodome@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${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 pytest +USE_PYTHON= pep517 autoplist pytest + +TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} +TEST_WRKSRC= ${WRKSRC}/tests NO_ARCH= yes -# tests fail to run: binance.exceptions.BinanceAPIException: APIError(code=0): Service unavailable from a restricted location according to 'b. Eligibility' +# tests as of 1.0.36: 132 passed, 46 skipped, 24 warnings, 545 errors in 15.97s, errirs are due to missing conftest.py that is supposed to define fixtures for the tests .include diff --git a/finance/py-python-binance/distinfo b/finance/py-python-binance/distinfo index 5d46bea981fe..8d402b84d605 100644 --- a/finance/py-python-binance/distinfo +++ b/finance/py-python-binance/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1731265802 -SHA256 (python-binance-1.0.22.tar.gz) = 33c0dead72363d1e7c7982d5c568f93abbb942d6e76712a1084806b5481df422 -SIZE (python-binance-1.0.22.tar.gz) = 89434 +TIMESTAMP = 1780672131 +SHA256 (python_binance-1.0.36.tar.gz) = d7b0668ff1b620b30d95b52f9f61b557748eac2d6c4d5f17fe21c356e5e0c541 +SIZE (python_binance-1.0.36.tar.gz) = 191487