Add WATCHGODRELOAD option

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-06-26 08:45:28 +00:00
parent 0897c13803
commit 97612fa1dd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540462

View File

@ -20,8 +20,13 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}click>=7<8:devel/py-click@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}websockets>=8<9:devel/py-websockets@${PY_FLAVOR}
USES= python:3.6+
USE_PYTHON= autoplist distutils
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
OPTIONS_DEFINE= WATCHGODRELOAD
WATCHGODRELOAD_DESC= Reload automatically with watchgod
WATCHGODRELOAD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}watchgod>=0.6<0.7:devel/py-watchgod@${PY_FLAVOR}
.include <bsd.port.mk>