1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

Add ASYNCIO_CLIENT and CLIENT options

- Update USES=python: devel/py-websockets requires Python 3.6+
- Bump PORTREVISION for dependency change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-12-13 22:20:39 +00:00
parent d6907964a8
commit 234bb4204e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558030

View File

@ -2,6 +2,7 @@
PORTNAME= python-socketio
PORTVERSION= 4.6.1
PORTREVISION= 1
CATEGORIES= devel python net
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,9 +16,19 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-engineio>=3.13.0<4:devel/py-python-engineio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR}
USES= python
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= ASYNCIO_CLIENT CLIENT
OPTIONS_DEFAULT=ASYNCIO_CLIENT CLIENT
CLIENT_DESC= Standard client support
ASYNCIO_CLIENT_DESC= Asynchronous client support
ASYNCIO_CLIENT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=3.4:www/py-aiohttp@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>=7.0:devel/py-websockets@${PY_FLAVOR}
CLIENT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=2.21.0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websocket-client>=0.54.0:www/py-websocket-client@${PY_FLAVOR}
.include <bsd.port.mk>