Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Jan 2021 20:26:30 +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: r560589 - head/devel/py-anyio
Message-ID:  <202101062026.106KQU8Z020918@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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