aboutsummaryrefslogtreecommitdiff
path: root/sysutils/py-python-consul2
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-02-06 20:47:27 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-02-06 20:47:27 +0000
commit2beb613eb3d363ad5941d86ac6d031291e7ef0e5 (patch)
treebd8c5d125bcc11482edc814fc3e89db69ad81678 /sysutils/py-python-consul2
parentf2b3437276956e840077c088425567c3228b22cd (diff)
Notes
Diffstat (limited to 'sysutils/py-python-consul2')
-rw-r--r--sysutils/py-python-consul2/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/py-python-consul2/Makefile b/sysutils/py-python-consul2/Makefile
index 8c41174e5a3a..cb341799d7f0 100644
--- a/sysutils/py-python-consul2/Makefile
+++ b/sysutils/py-python-consul2/Makefile
@@ -23,4 +23,14 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+OPTIONS_DEFINE= ASYNCIO TORNADO TWISTED
+ASYNCIO_DESC= Async I/O support
+TORNADO_DESC= Tornado support
+TWISTED_DESC= Twisted support
+
+ASYNCIO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aiohttp>=0:www/py-aiohttp@${PY_FLAVOR}
+TORNADO_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tornado>=0:www/py-tornado@${PY_FLAVOR}
+TWISTED_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}treq>=0:www/py-treq@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}twisted>=0:devel/py-twisted@${PY_FLAVOR}
+
.include <bsd.port.mk>