aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-30 01:14:27 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-30 01:31:22 +0000
commitd29e15ae77799e6ccc6c9a79dafedf56f5eeea25 (patch)
tree8939b375946185015aabfcd46094f5c8acbc6920
parent1faf0e8eea98649345ed9375e1c914c8d57b14cd (diff)
downloadports-d29e15ae77799e6ccc6c9a79dafedf56f5eeea25.tar.gz
ports-d29e15ae77799e6ccc6c9a79dafedf56f5eeea25.zip
devel/py-tox: Fix conditional DEPENDS
These *_DEPENDS are no longer required after the removal of python37.
-rw-r--r--devel/py-tox/Makefile12
1 files changed, 2 insertions, 10 deletions
diff --git a/devel/py-tox/Makefile b/devel/py-tox/Makefile
index d4ad5d607a72..53a42ad1cbac 100644
--- a/devel/py-tox/Makefile
+++ b/devel/py-tox/Makefile
@@ -19,6 +19,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}filelock>=3.0.0<4:sysutils/py-filelock@${PY_
${PYTHON_PKGNAMEPREFIX}py>=1.4.17<2:devel/py-py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.14.0<2:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}toml>=0.9.4:textproc/py-toml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}virtualenv>=16.0.0:devel/py-virtualenv@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}flaky>=3.4.0:devel/py-flaky@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}freezegun>=0.3.11:devel/py-freezegun@${PY_FLAVOR} \
@@ -30,17 +31,8 @@ USE_PYTHON= autoplist concurrent distutils pytest4
NO_ARCH= yes
-.include <bsd.port.pre.mk>
-
-.if ${PYTHON_REL} < 30000
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0.12:devel/py-importlib-metadata@${PY_FLAVOR}
-.endif
-
-.if ${PYTHON_REL} >= 30800
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tomli>0:textproc/py-tomli@${PY_FLAVOR}
-.endif
# tox.ini clobbers our pytest arguments
post-extract:
${RM} ${WRKSRC}/tox.ini
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>