svn commit: r560589 - head/devel/py-anyio

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Jan 6 20:26:33 UTC 2021


Author: sunpoet
Date: Wed Jan  6 20:26:29 2021
New Revision: 560589
URL: https://svnweb.freebsd.org/changeset/ports/560589

Log:
  Add CURIO and TRIO options

Modified:
  head/devel/py-anyio/Makefile

Modified: head/devel/py-anyio/Makefile
==============================================================================
--- head/devel/py-anyio/Makefile	Wed Jan  6 20:26:25 2021	(r560588)
+++ head/devel/py-anyio/Makefile	Wed Jan  6 20:26:29 2021	(r560589)
@@ -21,6 +21,13 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	CURIO TRIO
+CURIO_DESC=	Use curio as backend
+TRIO_DESC=	Use trio as backend
+
+CURIO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}curio>=1.4:devel/py-curio@${PY_FLAVOR}
+TRIO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}trio>=0.16:net/py-trio@${PY_FLAVOR}
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 3800


More information about the svn-ports-all mailing list