git: d21b9a0a6679 - main - textproc/py-mwparserfromhell: Remove unnecessary dependency

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 16 Mar 2025 23:48:17 UTC
The branch main has been updated by yuri:

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

commit d21b9a0a667916ed4eec61fd6224c667a24061de
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-03-16 20:35:28 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-03-16 23:48:12 +0000

    textproc/py-mwparserfromhell: Remove unnecessary dependency
---
 textproc/py-mwparserfromhell/Makefile             |  4 ----
 textproc/py-mwparserfromhell/files/patch-setup.py | 11 +++++++++++
 2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/textproc/py-mwparserfromhell/Makefile b/textproc/py-mwparserfromhell/Makefile
index 48affae3761b..b36bd8431c17 100644
--- a/textproc/py-mwparserfromhell/Makefile
+++ b/textproc/py-mwparserfromhell/Makefile
@@ -12,10 +12,6 @@ WWW=		https://github.com/earwig/mwparserfromhell
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-DEPRECATED=	Depends on expired devel/py-pytest-runner
-EXPIRATION_DATE=2025-03-31
-
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest-runner>0:devel/py-pytest-runner@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR}
 
 USES=		python
diff --git a/textproc/py-mwparserfromhell/files/patch-setup.py b/textproc/py-mwparserfromhell/files/patch-setup.py
new file mode 100644
index 000000000000..c5ca89daaf4f
--- /dev/null
+++ b/textproc/py-mwparserfromhell/files/patch-setup.py
@@ -0,0 +1,11 @@
+--- setup.py.orig	2025-03-16 19:50:17 UTC
++++ setup.py
+@@ -82,7 +82,7 @@ setup(
+     packages=find_packages("src"),
+     package_dir={"": "src"},
+     ext_modules=[tokenizer] if use_extension else [],
+-    setup_requires=["pytest-runner"]
++    setup_requires=[]
+     if "test" in sys.argv or "pytest" in sys.argv
+     else [],
+     tests_require=["pytest"],