diff --git a/textproc/codespell/Makefile b/textproc/codespell/Makefile index 1e23ba05df7c..e438f256f11a 100644 --- a/textproc/codespell/Makefile +++ b/textproc/codespell/Makefile @@ -1,25 +1,27 @@ PORTNAME= codespell -PORTVERSION= 2.4.1 +PORTVERSION= 2.4.2 CATEGORIES= textproc MASTER_SITES= PYPI MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fix common misspellings in text files WWW= https://github.com/codespell-project/codespell LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} -USES= python +USES= python shebangfix USE_PYTHON= autoplist noflavors pep517 NO_ARCH= yes SUB_FILES= pkg-message SUB_LIST= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR} +SHEBANG_FILES= tools/gen_OX.sh + .include diff --git a/textproc/codespell/distinfo b/textproc/codespell/distinfo index 3f23e96d6448..d407f82b3808 100644 --- a/textproc/codespell/distinfo +++ b/textproc/codespell/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1738606393 -SHA256 (codespell-2.4.1.tar.gz) = 299fcdcb09d23e81e35a671bbe746d5ad7e8385972e65dbb833a2eaac33c01e5 -SIZE (codespell-2.4.1.tar.gz) = 344740 +TIMESTAMP = 1773966774 +SHA256 (codespell-2.4.2.tar.gz) = 3c33be9ae34543807f088aeb4832dfad8cb2dae38da61cac0a7045dd376cfdf3 +SIZE (codespell-2.4.2.tar.gz) = 352058 diff --git a/textproc/codespell/files/patch-pyproject.toml b/textproc/codespell/files/patch-pyproject.toml index 80844948390d..789afb68e59c 100644 --- a/textproc/codespell/files/patch-pyproject.toml +++ b/textproc/codespell/files/patch-pyproject.toml @@ -1,11 +1,28 @@ ---- pyproject.toml.orig 2023-10-02 19:34:35 UTC +--- pyproject.toml.orig 2026-03-05 18:09:51 UTC +++ pyproject.toml -@@ -65,7 +65,7 @@ repository = "https://github.com/codespell-project/cod +@@ -5,7 +5,7 @@ requires-python = ">=3.9" + description = "Fix common misspellings in text files" + readme = { file = "README.rst", content-type = "text/x-rst" } + requires-python = ">=3.9" +-license = "GPL-2.0-only" ++license = { text = "GPL-2.0-only" } + authors = [ + {name = "Lucas De Marchi", email = "lucas.de.marchi@gmail.com"}, + ] +@@ -65,7 +65,7 @@ build-backend = "setuptools.build_meta" [build-system] build-backend = "setuptools.build_meta" --requires = ["setuptools>=64", "setuptools_scm[toml]>=6.2, != 8.0.0"] +-requires = ["setuptools>=77", "setuptools_scm[toml]>=6.2, != 8.0.0"] +requires = ["setuptools>=61", "setuptools_scm[toml]>=6.2, != 8.0.0"] [tool.setuptools_scm] write_to = "codespell_lib/_version.py" +@@ -74,6 +74,7 @@ exclude = [ + exclude = [ + "dist", + "snap", ++ "tools", + ] + + [tool.setuptools.package-data]