git: 26f06ae67ed8 - main - devel/py-pytest-enabler: Update to 3.1.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 31 Mar 2024 03:40:21 UTC
The branch main has been updated by sunpoet:

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

commit 26f06ae67ed88314e9a9520372055b6981689a51
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-03-31 03:06:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-03-31 03:06:41 +0000

    devel/py-pytest-enabler: Update to 3.1.1
    
    Changes:        https://github.com/jaraco/pytest-enabler/blob/main/NEWS.rst
---
 devel/py-pytest-enabler/Makefile | 13 +++++++++----
 devel/py-pytest-enabler/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/devel/py-pytest-enabler/Makefile b/devel/py-pytest-enabler/Makefile
index 09788b002415..913ba424f449 100644
--- a/devel/py-pytest-enabler/Makefile
+++ b/devel/py-pytest-enabler/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pytest-enabler
-PORTVERSION=	3.0.0
+PORTVERSION=	3.1.1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -14,8 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=3.4.1:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=5.10:devel/py-importlib-resources@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}jaraco.context>=0:devel/py-jaraco.context@${PY_FLAVOR} \
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}jaraco.context>=0:devel/py-jaraco.context@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}jaraco.functools>=0:devel/py-jaraco.functools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-black>=0.3.7:devel/py-pytest-black@${PY_FLAVOR} \
@@ -30,4 +29,10 @@ USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31200
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=5.10:devel/py-importlib-resources@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-pytest-enabler/distinfo b/devel/py-pytest-enabler/distinfo
index 357faff21ba6..a59e8737f6c8 100644
--- a/devel/py-pytest-enabler/distinfo
+++ b/devel/py-pytest-enabler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703495817
-SHA256 (pytest-enabler-3.0.0.tar.gz) = 62376d2fdae65ee967849fa3586f8ce68506988e94c64030c8ff2b038d6422c5
-SIZE (pytest-enabler-3.0.0.tar.gz) = 9428
+TIMESTAMP = 1711466166
+SHA256 (pytest-enabler-3.1.1.tar.gz) = 9ea1157e716801f9ba3f1c3db4474ec2114a0b8e77b909c1eb0f7a630a325483
+SIZE (pytest-enabler-3.1.1.tar.gz) = 9749