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"],