git: 6d8d469a36e3 - main - devel/py-isort: Update to 6.1.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 Oct 2025 00:03:08 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6d8d469a36e30ed544be29fc782c4579a5d8acf8

commit 6d8d469a36e30ed544be29fc782c4579a5d8acf8
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-18 23:52:03 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-18 23:52:03 +0000

    devel/py-isort: Update to 6.1.0
    
    Changes:        https://github.com/PyCQA/isort/releases
---
 devel/py-isort/Makefile | 12 +++++++++---
 devel/py-isort/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 6 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>
diff --git a/devel/py-isort/distinfo b/devel/py-isort/distinfo
index 6d07b5b15779..61ef084cdc10 100644
--- a/devel/py-isort/distinfo
+++ b/devel/py-isort/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1740836122
-SHA256 (isort-6.0.1.tar.gz) = 1cb5df28dfbc742e490c5e41bad6da41b805b0a8be7bc93cd0fb2a8a890ac450
-SIZE (isort-6.0.1.tar.gz) = 821955
+TIMESTAMP = 1759774609
+SHA256 (isort-6.1.0.tar.gz) = 9b8f96a14cfee0677e78e941ff62f03769a06d412aabb9e2a90487b3b7e8d481
+SIZE (isort-6.1.0.tar.gz) = 824325