git: 44f2066f7589 - main - devel/py-commoncode: update to 32.2.1

From: Philippe Audeoud <jadawin_at_FreeBSD.org>
Date: Tue, 03 Mar 2026 10:27:31 UTC
The branch main has been updated by jadawin:

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

commit 44f2066f7589d6ae68a80f4145cdf4700aef7c34
Author:     Philippe Audeoud <jadawin@FreeBSD.org>
AuthorDate: 2026-03-03 10:26:28 +0000
Commit:     Philippe Audeoud <jadawin@FreeBSD.org>
CommitDate: 2026-03-03 10:27:11 +0000

    devel/py-commoncode: update to 32.2.1
    
    PR:             293080
---
 devel/py-commoncode/Makefile                     |  6 ++--
 devel/py-commoncode/distinfo                     |  6 ++--
 devel/py-commoncode/files/patch-PKG-INFO         | 11 +++++++
 devel/py-commoncode/files/patch-requirements.txt | 38 ++++++++++++++++++++++++
 devel/py-commoncode/files/patch-setup.cfg        | 11 +++++++
 5 files changed, 66 insertions(+), 6 deletions(-)

diff --git a/devel/py-commoncode/Makefile b/devel/py-commoncode/Makefile
index 52ea50163887..1e0e675935f0 100644
--- a/devel/py-commoncode/Makefile
+++ b/devel/py-commoncode/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	commoncode
-DISTVERSION=	32.2.1
+DISTVERSION=	32.4.2
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,10 +16,10 @@ BUILD_DEPENDS=	${PY_SETUPTOOLS} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=25.0:devel/py-attrs@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.13.0:www/py-beautifulsoup@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}click>=2.8:devel/py-click@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}click>=8.1.7:devel/py-click@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}requests>2.7.0:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}saneyaml>0.5.2:devel/py-saneyaml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}text-unidecode>1.0:converters/py-text-unidecode@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}text-unidecode>=1.0:converters/py-text-unidecode@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517 pytest
diff --git a/devel/py-commoncode/distinfo b/devel/py-commoncode/distinfo
index 210558a10e66..3cdb8752677b 100644
--- a/devel/py-commoncode/distinfo
+++ b/devel/py-commoncode/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1746508932
-SHA256 (commoncode-32.2.1.tar.gz) = 4c5c37b39a77adecd67f7d53073c02d1d96283d31fd2bc2d67e22f320a381881
-SIZE (commoncode-32.2.1.tar.gz) = 1742208
+TIMESTAMP = 1770637964
+SHA256 (commoncode-32.4.2.tar.gz) = 8f78ca62085b4a0c3c4dfc2820d61fd1cd24bc64b4a76dc7d6a4db46766eda3c
+SIZE (commoncode-32.4.2.tar.gz) = 1742998
diff --git a/devel/py-commoncode/files/patch-PKG-INFO b/devel/py-commoncode/files/patch-PKG-INFO
new file mode 100644
index 000000000000..f199e564a28f
--- /dev/null
+++ b/devel/py-commoncode/files/patch-PKG-INFO
@@ -0,0 +1,11 @@
+--- PKG-INFO.orig	2026-03-03 10:49:15.576988000 +0200
++++ PKG-INFO	2026-03-03 10:50:11.562701000 +0200
+@@ -25,7 +25,7 @@
+ Requires-Dist: attrs!=20.1.0,>=18.1; python_version < "3.11"
+ Requires-Dist: attrs>=22.1.0; python_version >= "3.11"
+ Requires-Dist: Beautifulsoup4[chardet]>=4.13.0
+-Requires-Dist: click>=8.3.0
++Requires-Dist: click>=8.1.7
+ Requires-Dist: requests[use_chardet_on_py3]>=2.7.0
+ Requires-Dist: saneyaml>=0.5.2
+ Requires-Dist: text_unidecode>=1.0
diff --git a/devel/py-commoncode/files/patch-requirements.txt b/devel/py-commoncode/files/patch-requirements.txt
new file mode 100644
index 000000000000..304d712b919a
--- /dev/null
+++ b/devel/py-commoncode/files/patch-requirements.txt
@@ -0,0 +1,38 @@
+--- requirements.txt.orig	2026-03-03 10:49:23.668295000 +0200
++++ requirements.txt	2026-03-03 10:50:00.305129000 +0200
+@@ -1,17 +1,17 @@
+-attrs==25.4.0
+-beautifulsoup4==4.14.2
+-certifi==2025.10.5
+-chardet==5.2.0
+-charset-normalizer==3.4.4
+-click==8.3.0
+-idna==3.10
+-pip==25.1.1
+-PyYAML==6.0.2
+-requests==2.32.2
+-saneyaml==0.6.1
+-setuptools==80.9.0
+-soupsieve==2.8
+-text-unidecode==1.3
+-typing_extensions==4.15.0
+-urllib3==2.5.0
+-wheel==0.38.4
+\ No newline at end of file
++attrs>=25.4.0
++beautifulsoup4>=4.14.2
++certifi>=2025.10.5
++chardet>=5.2.0
++charset-normalizer>=3.4.4
++click>=8.1.7
++idna>=3.10
++pip>=25.1.1
++PyYAML>=6.0.2
++requests>=2.32.2
++saneyaml>=0.6.1
++setuptools>=80.9.0
++soupsieve>=2.8
++text-unidecode>=1.3
++typing_extensions>=4.15.0
++urllib3>=2.5.0
++wheel>=0.38.4
diff --git a/devel/py-commoncode/files/patch-setup.cfg b/devel/py-commoncode/files/patch-setup.cfg
new file mode 100644
index 000000000000..8e2ad86ae6a9
--- /dev/null
+++ b/devel/py-commoncode/files/patch-setup.cfg
@@ -0,0 +1,11 @@
+--- setup.cfg.orig	2026-03-03 10:49:03.821396000 +0200
++++ setup.cfg	2026-03-03 10:49:34.977067000 +0200
+@@ -38,7 +38,7 @@
+ 	attrs >= 18.1,!=20.1.0;python_version<'3.11'
+ 	attrs >= 22.1.0;python_version>='3.11'
+ 	Beautifulsoup4[chardet] >= 4.13.0
+-	click >= 8.3.0
++	click >= 8.1.7
+ 	requests[use_chardet_on_py3] >= 2.7.0
+ 	saneyaml >= 0.5.2
+ 	text_unidecode >= 1.0