diff --git a/devel/py-pytest-isort/Makefile b/devel/py-pytest-isort/Makefile index 639302376af8..78cc349d66d7 100644 --- a/devel/py-pytest-isort/Makefile +++ b/devel/py-pytest-isort/Makefile @@ -1,22 +1,29 @@ # Created by: Po-Chuan Hsieh PORTNAME= pytest-isort -PORTVERSION= 2.0.0 +PORTVERSION= 3.0.0 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= py.test plugin to check import ordering using isort LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.rst -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isort>=4.0:devel/py-isort@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}isort>=4.0:devel/py-isort@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pytest>=4.0:devel/py-pytest@${PY_FLAVOR} USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes -.include +.include + +.if ${PYTHON_REL} < 30800 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include diff --git a/devel/py-pytest-isort/distinfo b/devel/py-pytest-isort/distinfo index ccef95eed2b1..6f2836fdaf26 100644 --- a/devel/py-pytest-isort/distinfo +++ b/devel/py-pytest-isort/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1619725353 -SHA256 (pytest-isort-2.0.0.tar.gz) = 821a8c5c9c4f3a3c52cfa9c541fbe89ac9e28728125125af53724c4c3f129117 -SIZE (pytest-isort-2.0.0.tar.gz) = 7637 +TIMESTAMP = 1646058026 +SHA256 (pytest-isort-3.0.0.tar.gz) = 4fe4b26ead2af776730ec23f5870d7421f35aace22a41c4e938586ef4d8787cb +SIZE (pytest-isort-3.0.0.tar.gz) = 6197