diff options
Diffstat (limited to 'devel/py-isort/Makefile')
| -rw-r--r-- | devel/py-isort/Makefile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/devel/py-isort/Makefile b/devel/py-isort/Makefile index 7d97dcf29d6f..25e09d552d65 100644 --- a/devel/py-isort/Makefile +++ b/devel/py-isort/Makefile @@ -1,5 +1,5 @@ PORTNAME= isort -PORTVERSION= 6.0.1 +PORTVERSION= 6.1.0 CATEGORIES= devel python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatch-vcs>=0:devel/py-hatch-vcs@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}hatchling>=0:devel/py-hatchling@${PY_FLAVOR} -USES= python:3.9+ +USES= python USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes @@ -26,4 +26,10 @@ PLUGINS_DESC= Setuptools integration support COLORS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}colorama>=0.4.6:devel/py-colorama@${PY_FLAVOR} PLUGINS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PYTHON_REL} < 31000 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=4.6.0:devel/py-importlib-metadata@${PY_FLAVOR} +.endif + +.include <bsd.port.post.mk> |
