Skip to content
Snippets Groups Projects
Verified Commit fca7d656 authored by sunpoet's avatar sunpoet
Browse files

devel/py-matrix-common: Remove outdated PYTHON_REL check after lang/python37 removal

Approved by:	portmgr (blanket)
With hat:	python
parent e7268a88
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,6 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}attrs>19.2.0:devel/py-attrs@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=18.9.0:devel/py-twisted@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}tox>=2.3.1:devel/py-tox@${PY_FLAVOR}
......@@ -21,17 +20,10 @@ USES= python
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.pre.mk>
# Dependency required by Python < 3.8
.if (${PYTHON_REL} < 30800)
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=1.4:devel/py-importlib-metadata@${PY_FLAVOR}
.endif
post-extract:
@${CP} ${FILESDIR}/setup.py ${WRKSRC}/
do-test:
cd ${WRKSRC} && PYTHONPATH="." trial-${PYTHON_VER} tests
.include <bsd.port.post.mk>
.include <bsd.port.mk>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment