2023-04-09 11:55:35 -07:00
PORTNAME = python-binance
2024-11-10 12:13:00 -08:00
DISTVERSION = 1.0.22
2025-03-07 21:33:49 -05:00
PORTREVISION = 1
2023-04-09 11:55:35 -07:00
CATEGORIES = finance python
MASTER_SITES = PYPI
PKGNAMEPREFIX = ${ PYTHON_PKGNAMEPREFIX }
MAINTAINER = yuri@FreeBSD.org
COMMENT = Binance REST API python implementation
2024-11-10 12:13:00 -08:00
WWW = https://python-binance.readthedocs.io/en/latest/ \
https://github.com/sammchardy/python-binance
2023-04-09 11:55:35 -07:00
LICENSE = MIT
LICENSE_FILE = ${ WRKSRC } /LICENSE
2023-08-09 22:07:41 -07:00
RUN_DEPENDS = ${ PYTHON_PKGNAMEPREFIX } aiohttp>0:www/py-aiohttp@${ PY_FLAVOR } \
2023-04-09 11:55:35 -07:00
${ PYTHON_PKGNAMEPREFIX } dateparser>0:devel/py-dateparser@${ 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 }
2024-11-10 12:13:00 -08:00
TEST_DEPENDS = ${ PYTHON_PKGNAMEPREFIX } requests-mock>0:www/py-requests-mock@${ PY_FLAVOR } \
${ PYTHON_PKGNAMEPREFIX } aioresponses>0:www/py-aioresponses@${ PY_FLAVOR }
2023-04-09 11:55:35 -07:00
2023-06-15 00:00:28 +02:00
USES = python
2024-11-10 12:13:00 -08:00
USE_PYTHON = distutils autoplist pytest
2023-04-09 11:55:35 -07:00
NO_ARCH = yes
2024-11-10 12:13:00 -08:00
# tests fail to run: binance.exceptions.BinanceAPIException: APIError(code=0): Service unavailable from a restricted location according to 'b. Eligibility'
2023-04-09 11:55:35 -07:00
.include <bsd.port.mk>