git: b6240a6c8886 - main - finance/py-python-binance: update 1.0.19 → 1.0.22
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Nov 2024 20:13:48 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=b6240a6c8886f2b4d0a3fe0b75b6c6dcdff2da4d
commit b6240a6c8886f2b4d0a3fe0b75b6c6dcdff2da4d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 20:13:00 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 20:13:35 +0000
finance/py-python-binance: update 1.0.19 → 1.0.22
---
finance/py-python-binance/Makefile | 11 ++++++++---
finance/py-python-binance/distinfo | 6 +++---
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