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: www/py-aiohttp requires Python 3.5+
- Bump PORTREVISION for dependency change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-12-13 22:20:35 +00:00
parent 3c3a09b982
commit d6907964a8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558029

View File

@ -2,6 +2,7 @@
PORTNAME= python-engineio
PORTVERSION= 3.14.2
PORTREVISION= 1
CATEGORIES= devel python net
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -12,9 +13,18 @@ COMMENT= Python implementation of the Engine.IO realtime client and server
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python
USES= python:3.5+
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}
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>