Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 Dec 2020 22:20:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r558029 - head/devel/py-python-engineio
Message-ID:  <202012132220.0BDMKZR8042230@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Dec 13 22:20:35 2020
New Revision: 558029
URL: https://svnweb.freebsd.org/changeset/ports/558029

Log:
  Add ASYNCIO_CLIENT and CLIENT options
  
  - Update USES=python: www/py-aiohttp requires Python 3.5+
  - Bump PORTREVISION for dependency change

Modified:
  head/devel/py-python-engineio/Makefile

Modified: head/devel/py-python-engineio/Makefile
==============================================================================
--- head/devel/py-python-engineio/Makefile	Sun Dec 13 22:20:30 2020	(r558028)
+++ head/devel/py-python-engineio/Makefile	Sun Dec 13 22:20:35 2020	(r558029)
@@ -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 realti
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012132220.0BDMKZR8042230>