Skip to content

Commit

Permalink
net/py-trio: Add missing dependency
Browse files Browse the repository at this point in the history
Add missing dependency (exceptiongroup), backported from python 3.11.

PR:		267133
Reported by:	parv.0zero9+freebsd@gmail.com
  • Loading branch information
ehaupt committed Nov 14, 2022
1 parent a1d0c28 commit ee1cad9
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion 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}
Expand Down Expand Up @@ -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>

0 comments on commit ee1cad9

Please sign in to comment.