git: 693f3fba1a80 - main - finance/py-python-binance: update 1.0.22 → 1.0.36
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Jun 2026 17:17:43 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=693f3fba1a802a66b875730b2240a631acb4a6d6
commit 693f3fba1a802a66b875730b2240a631acb4a6d6
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-06-05 16:11:01 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-06-05 17:17:39 +0000
finance/py-python-binance: update 1.0.22 → 1.0.36
---
finance/py-python-binance/Makefile | 15 ++++++++++-----
finance/py-python-binance/distinfo | 6 +++---
2 files changed, 13 insertions(+), 8 deletions(-)
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,9 +1,9 @@
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
@@ -13,21 +13,26 @@ WWW= https://python-binance.readthedocs.io/en/latest/ \
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 <bsd.port.mk>
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