Skip to content

Commit

Permalink
devel/py-tox: Runtime fix
Browse files Browse the repository at this point in the history
Add missing dependency for python >= 3.7

Reported by:	[email protected]
MFH:		2023Q1
  • Loading branch information
5u623l20 committed Jan 17, 2023
1 parent 1fa3bd0 commit 4c16895
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions devel/py-tox/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
PORTNAME= tox
PORTVERSION= 3.28.0
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Expand Down Expand Up @@ -35,6 +36,9 @@ NO_ARCH= yes
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.12:devel/py-importlib-metadata@${PY_FLAVOR}
.endif

.if ${PYTHON_REL} >= 30700
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR}
.endif
# tox.ini clobbers our pytest arguments
post-extract:
${RM} ${WRKSRC}/tox.ini
Expand Down

0 comments on commit 4c16895

Please sign in to comment.