Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 2026 17:24:42 +0000
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 42ce2eba5d04 - main - textproc/codespell: Update to 2.4.2
Message-ID:  <69d29ada.198f2.4fa92399@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by sunpoet:

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

commit 42ce2eba5d043164a871e206cdbf0585c6e75c65
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-04-05 16:53:27 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-04-05 17:18:19 +0000

    textproc/codespell: Update to 2.4.2
    
    Changes:        https://github.com/codespell-project/codespell/releases
---
 textproc/codespell/Makefile                   |  6 ++++--
 textproc/codespell/distinfo                   |  6 +++---
 textproc/codespell/files/patch-pyproject.toml | 23 ++++++++++++++++++++---
 3 files changed, 27 insertions(+), 8 deletions(-)

diff --git a/textproc/codespell/Makefile b/textproc/codespell/Makefile
index 1e23ba05df7c..e438f256f11a 100644
--- a/textproc/codespell/Makefile
+++ b/textproc/codespell/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	codespell
-PORTVERSION=	2.4.1
+PORTVERSION=	2.4.2
 CATEGORIES=	textproc
 MASTER_SITES=	PYPI
 
@@ -14,7 +14,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL
 		${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
@@ -22,4 +22,6 @@ NO_ARCH=	yes
 SUB_FILES=	pkg-message
 SUB_LIST=	PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
 
+SHEBANG_FILES=	tools/gen_OX.sh
+
 .include <bsd.port.mk>
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]


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d29ada.198f2.4fa92399>