From 034306ab76d5d8c27d93f3ca7d8b44138b33b4e7 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Wed, 24 Jun 2020 17:38:37 +0000 Subject: Add ASYNC option --- textproc/py-elasticsearch/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'textproc/py-elasticsearch') diff --git a/textproc/py-elasticsearch/Makefile b/textproc/py-elasticsearch/Makefile index 858066b06848..21f443f0eac6 100644 --- a/textproc/py-elasticsearch/Makefile +++ b/textproc/py-elasticsearch/Makefile @@ -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 -- cgit v1.2.3