svn commit: r540093 - head/textproc/py-elasticsearch

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Jun 24 17:38:39 UTC 2020


Author: sunpoet
Date: Wed Jun 24 17:38:37 2020
New Revision: 540093
URL: https://svnweb.freebsd.org/changeset/ports/540093

Log:
  Add ASYNC option

Modified:
  head/textproc/py-elasticsearch/Makefile

Modified: head/textproc/py-elasticsearch/Makefile
==============================================================================
--- head/textproc/py-elasticsearch/Makefile	Wed Jun 24 17:38:32 2020	(r540092)
+++ head/textproc/py-elasticsearch/Makefile	Wed Jun 24 17:38:37 2020	(r540093)
@@ -27,10 +27,13 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	REQUESTS
+OPTIONS_DEFINE=	ASYNC REQUESTS
 OPTIONS_DEFAULT=REQUESTS
+ASYNC_DESC=	Asynchronous support
 REQUESTS_DESC=	Enable requests support
 
+ASYNC_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aiohttp>=3<4:www/py-aiohttp@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}yarl>=0:www/py-yarl@${PY_FLAVOR}
 REQUESTS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=2.4.0<3.0.0:www/py-requests@${PY_FLAVOR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list