git: 0a2841ddeeef - main - devel/py-pytest-enabler: Update to 3.4.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 30 Dec 2025 13:32:26 UTC
The branch main has been updated by sunpoet:

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

commit 0a2841ddeeef7ffb1b8d7e4975bfcbb37911446c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-30 13:22:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-30 13:29:18 +0000

    devel/py-pytest-enabler: Update to 3.4.0
    
    Changes:        https://github.com/jaraco/pytest-enabler/blob/main/NEWS.rst
---
 devel/py-pytest-enabler/Makefile                   | 12 ++++++------
 devel/py-pytest-enabler/distinfo                   |  6 +++---
 devel/py-pytest-enabler/files/patch-pyproject.toml | 22 ++++++++++++++++++++++
 3 files changed, 31 insertions(+), 9 deletions(-)

diff --git a/devel/py-pytest-enabler/Makefile b/devel/py-pytest-enabler/Makefile
index 913ba424f449..bbdd813a40ba 100644
--- a/devel/py-pytest-enabler/Makefile
+++ b/devel/py-pytest-enabler/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	pytest-enabler
-PORTVERSION=	3.1.1
+PORTVERSION=	3.4.0
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	pytest_enabler-${PORTVERSION}
 
 MAINTAINER=	sunpoet@FreeBSD.org
 COMMENT=	Enable installed pytest plugins
@@ -11,17 +12,16 @@ WWW=		https://github.com/jaraco/pytest-enabler
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=56:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61: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}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} \
-		${PYTHON_PKGNAMEPREFIX}pytest-checkdocs>=2.4:devel/py-pytest-checkdocs@${PY_FLAVOR} \
+TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-checkdocs>=2.4:devel/py-pytest-checkdocs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-flake8>=0:devel/py-pytest-flake8@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}pytest-mypy>=0.9.1:devel/py-pytest-mypy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-mypy>=0:devel/py-pytest-mypy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest-ruff>=0.2.1:devel/py-pytest-ruff@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}types-toml>=0:devel/py-types-toml@${PY_FLAVOR}
 
 USES=		python
diff --git a/devel/py-pytest-enabler/distinfo b/devel/py-pytest-enabler/distinfo
index a59e8737f6c8..34c674341974 100644
--- a/devel/py-pytest-enabler/distinfo
+++ b/devel/py-pytest-enabler/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1711466166
-SHA256 (pytest-enabler-3.1.1.tar.gz) = 9ea1157e716801f9ba3f1c3db4474ec2114a0b8e77b909c1eb0f7a630a325483
-SIZE (pytest-enabler-3.1.1.tar.gz) = 9749
+TIMESTAMP = 1766953378
+SHA256 (pytest_enabler-3.4.0.tar.gz) = 45ece0ff22183503804d15307364290bc41fa027c843eb7046ee4f3439c8ba3f
+SIZE (pytest_enabler-3.4.0.tar.gz) = 12106
diff --git a/devel/py-pytest-enabler/files/patch-pyproject.toml b/devel/py-pytest-enabler/files/patch-pyproject.toml
new file mode 100644
index 000000000000..989342dee5f0
--- /dev/null
+++ b/devel/py-pytest-enabler/files/patch-pyproject.toml
@@ -0,0 +1,22 @@
+--- pyproject.toml.orig	2025-05-16 02:04:35 UTC
++++ pyproject.toml
+@@ -1,9 +1,7 @@ requires = [
+ [build-system]
+ requires = [
+-	"setuptools>=77",
++	"setuptools>=61",
+ 	"setuptools_scm[toml]>=3.4.1",
+-	# jaraco/skeleton#174
+-	"coherent.licensed",
+ ]
+ build-backend = "setuptools.build_meta"
+ 
+@@ -22,7 +20,7 @@ requires-python = ">=3.9"
+ 	"Framework :: Pytest",
+ ]
+ requires-python = ">=3.9"
+-license = "MIT"
++license = { text = "MIT" }
+ dependencies = [
+ 	"toml",
+ 	"jaraco.functools",