git: 2701aa70f625 - main - devel/py-black: Add UVLOOP option

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jun 20 11:44:01 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2701aa70f6254324ad8a0db29cc84f0f668418cd

commit 2701aa70f6254324ad8a0db29cc84f0f668418cd
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-20 11:37:20 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-20 11:37:20 +0000

    devel/py-black: Add UVLOOP option
---
 devel/py-black/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/py-black/Makefile b/devel/py-black/Makefile
index 5659cd1083bf..2c2728af0e3f 100644
--- a/devel/py-black/Makefile
+++ b/devel/py-black/Makefile
@@ -23,14 +23,16 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-OPTIONS_DEFINE=	COLORAMA D
+OPTIONS_DEFINE=	COLORAMA D UVLOOP
 OPTIONS_DEFAULT=COLORAMA
 COLORAMA_DESC=	Color support
 D_DESC=		Blackd HTTP server
+UVLOOP_DESC=	Event loop support
 
 COLORAMA_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}colorama>=0.4.3:devel/py-colorama@${PY_FLAVOR}
 D_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}aiohttp>=3.6.0:www/py-aiohttp@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}aiohttp_cors>=0.4.0:www/py-aiohttp_cors@${PY_FLAVOR}
+UVLOOP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uvloop>=0.15.2:devel/py-uvloop@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>
 


More information about the dev-commits-ports-main mailing list