git: d65201402b13 - main - devel/py-pytest-isort: Update to 3.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 07 Mar 2022 18:17:56 UTC
The branch main has been updated by sunpoet:

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

commit d65201402b139641667073f32f93c5b27859eceb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-03-07 17:53:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-03-07 18:11:15 +0000

    devel/py-pytest-isort: Update to 3.0.0
    
    Changes:        https://github.com/stephrdev/pytest-isort/blob/master/CHANGELOG.rst
---
 devel/py-pytest-isort/Makefile | 13 ++++++++++---
 devel/py-pytest-isort/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 6 deletions(-)

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,7 +1,7 @@
 # Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
 
 PORTNAME=	pytest-isort
-PORTVERSION=	2.0.0
+PORTVERSION=	3.0.0
 CATEGORIES=	devel python
 MASTER_SITES=	CHEESESHOP
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,11 +12,18 @@ 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 <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 30800
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
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