aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-01-17 15:55:07 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-01-17 15:58:01 +0000
commit4c16895da3deefe644343c65cd54033a6899adb4 (patch)
tree5f8d7fde8ec5309132c6fa09e3ae7a8d649320ab
parent1fa3bd0eb5ab52745152cdcd0586117f772a9232 (diff)
downloadports-4c16895da3deefe644343c65cd54033a6899adb4.tar.gz
ports-4c16895da3deefe644343c65cd54033a6899adb4.zip
devel/py-tox: Runtime fix
Add missing dependency for python >= 3.7 Reported by: abravalheri@hey.com MFH: 2023Q1
-rw-r--r--devel/py-tox/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/py-tox/Makefile b/devel/py-tox/Makefile
index 89567a8dd6ba..149f7f61edc8 100644
--- a/devel/py-tox/Makefile
+++ b/devel/py-tox/Makefile
@@ -1,5 +1,6 @@
PORTNAME= tox
PORTVERSION= 3.28.0
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -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