git: 3543fbbb2b8d - main - devel/py-pytest-console-scripts: Update to 1.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 23:52:57 UTC
The branch main has been updated by sunpoet:

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

commit 3543fbbb2b8d8b8f8163d97539026d6d991d3144
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 23:23:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 23:44:02 +0000

    devel/py-pytest-console-scripts: Update to 1.4.0
    
    Changes:        https://github.com/kvas-it/pytest-console-scripts/releases
---
 devel/py-pytest-console-scripts/Makefile | 10 ++++++++--
 devel/py-pytest-console-scripts/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/devel/py-pytest-console-scripts/Makefile b/devel/py-pytest-console-scripts/Makefile
index 732e8108ea89..228f0bc52736 100644
--- a/devel/py-pytest-console-scripts/Makefile
+++ b/devel/py-pytest-console-scripts/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pytest-console-scripts
-PORTVERSION=	1.3.1
+PORTVERSION=	1.4.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -19,4 +19,10 @@ USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3.6:devel/py-importlib-metadata@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-pytest-console-scripts/distinfo b/devel/py-pytest-console-scripts/distinfo
index 8b81d8c03663..346f32514852 100644
--- a/devel/py-pytest-console-scripts/distinfo
+++ b/devel/py-pytest-console-scripts/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1665651054
-SHA256 (pytest-console-scripts-1.3.1.tar.gz) = 5c6c3daae9cf9fbed0e655072128938600193dc002a5cf1b187248644ba02857
-SIZE (pytest-console-scripts-1.3.1.tar.gz) = 14238
+TIMESTAMP = 1685162184
+SHA256 (pytest-console-scripts-1.4.0.tar.gz) = 6335679ef013fa20402dfd5b07219877d874bd3f0a198b84b23f17897ccbe50a
+SIZE (pytest-console-scripts-1.4.0.tar.gz) = 19718