Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jun 2020 08:45:29 +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: r540462 - head/www/py-uvicorn
Message-ID:  <202006260845.05Q8jTOT067895@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Jun 26 08:45:28 2020
New Revision: 540462
URL: https://svnweb.freebsd.org/changeset/ports/540462

Log:
  Add WATCHGODRELOAD option

Modified:
  head/www/py-uvicorn/Makefile

Modified: head/www/py-uvicorn/Makefile
==============================================================================
--- head/www/py-uvicorn/Makefile	Fri Jun 26 08:45:24 2020	(r540461)
+++ head/www/py-uvicorn/Makefile	Fri Jun 26 08:45:28 2020	(r540462)
@@ -20,8 +20,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=7<8:devel/p
 		${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>



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