git: ee1cad90ea24 - main - net/py-trio: Add missing dependency
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 14 Nov 2022 15:11:02 UTC
The branch main has been updated by ehaupt: URL: https://cgit.FreeBSD.org/ports/commit/?id=ee1cad90ea2430c6148eed8c11e841a4360b5e03 commit ee1cad90ea2430c6148eed8c11e841a4360b5e03 Author: Emanuel Haupt <ehaupt@FreeBSD.org> AuthorDate: 2022-11-14 15:09:51 +0000 Commit: Emanuel Haupt <ehaupt@FreeBSD.org> CommitDate: 2022-11-14 15:09:57 +0000 net/py-trio: Add missing dependency Add missing dependency (exceptiongroup), backported from python 3.11. PR: 267133 Reported by: parv.0zero9+freebsd@gmail.com --- net/py-trio/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/net/py-trio/Makefile b/net/py-trio/Makefile index d25644936b4d..9f876308b10e 100644 --- a/net/py-trio/Makefile +++ b/net/py-trio/Makefile @@ -1,5 +1,6 @@ PORTNAME= trio PORTVERSION= 0.22.0 +PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -33,7 +34,14 @@ USE_PYTHON= autoplist distutils NO_ARCH= yes +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31100 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=1.0.0rc9:devel/py-exceptiongroup@${PY_FLAVOR} +TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}exceptiongroup>=1.0.0rc9:devel/py-exceptiongroup@${PY_FLAVOR} +.endif + do-test: @cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} ${PYTHON_CMD} -m pytest -v -rs -.include <bsd.port.mk> +.include <bsd.port.post.mk>