diff --git a/textproc/py-regex/Makefile b/textproc/py-regex/Makefile index 93a0729b17cd..a2f2041c7882 100644 --- a/textproc/py-regex/Makefile +++ b/textproc/py-regex/Makefile @@ -1,24 +1,24 @@ PORTNAME= regex -DISTVERSION= 2024.11.6 +DISTVERSION= 2025.11.3 CATEGORIES= textproc python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= fax@nohik.ee COMMENT= Alternative regular expression module, to replace re WWW= https://github.com/mrabarnett/mrab-regex LICENSE= PSFL BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} USES= python USE_PYTHON= autoplist pep517 pytest # 1 test fails, see https://github.com/mrabarnett/mrab-regex/issues/482 TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/regex/_regex*.so .include diff --git a/textproc/py-regex/distinfo b/textproc/py-regex/distinfo index 9ac7ca657d9c..ef8ec3ac80b0 100644 --- a/textproc/py-regex/distinfo +++ b/textproc/py-regex/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1746521205 -SHA256 (regex-2024.11.6.tar.gz) = 7ab159b063c52a0333c884e4679f8d7a85112ee3078fe3d9004b2dd875585519 -SIZE (regex-2024.11.6.tar.gz) = 399494 +TIMESTAMP = 1762432070 +SHA256 (regex-2025.11.3.tar.gz) = 1fedc720f9bb2494ce31a58a1631f9c82df6a09b49c19517ea5cc280b4541e01 +SIZE (regex-2025.11.3.tar.gz) = 414669 diff --git a/textproc/py-regex/files/patch-pyproject.toml b/textproc/py-regex/files/patch-pyproject.toml new file mode 100644 index 000000000000..23501426594a --- /dev/null +++ b/textproc/py-regex/files/patch-pyproject.toml @@ -0,0 +1,19 @@ +--- pyproject.toml.orig 2025-10-28 19:24:41 UTC ++++ pyproject.toml +@@ -1,5 +1,5 @@ + [build-system] +-requires = ["setuptools > 77.0.3"] ++requires = ["setuptools > 61.0"] + build-backend = "setuptools.build_meta" + + [project] +@@ -10,8 +10,7 @@ readme = "README.rst" + authors = [ + {name = "Matthew Barnett", email = "regex@mrabarnett.plus.com"}, + ] +-license = "Apache-2.0 AND CNRI-Python" +-license-files = ["LICENSE.txt"] ++license = {file = "LICENSE.txt"} + + classifiers = [ + "Development Status :: 5 - Production/Stable",