svn commit: r534750 - head/devel/py-sniffio
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat May 9 13:48:50 UTC 2020
Author: sunpoet
Date: Sat May 9 13:48:48 2020
New Revision: 534750
URL: https://svnweb.freebsd.org/changeset/ports/534750
Log:
Add conditional RUN_DEPENDS
Modified:
head/devel/py-sniffio/Makefile
Modified: head/devel/py-sniffio/Makefile
==============================================================================
--- head/devel/py-sniffio/Makefile Sat May 9 13:48:42 2020 (r534749)
+++ head/devel/py-sniffio/Makefile Sat May 9 13:48:48 2020 (r534750)
@@ -27,4 +27,10 @@ NO_ARCH= yes
do-test:
cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 3700
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}contextvars>=2.1:devel/py-contextvars@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list