git: c0d74c5b7ccf - main - textproc/translate-toolkit: Update to 3.16.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 Oct 2025 00:02:32 UTC
The branch main has been updated by sunpoet:

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

commit c0d74c5b7ccf0940407fe4529ea90b5a568f9da5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-10-18 23:51:05 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-10-18 23:51:05 +0000

    textproc/translate-toolkit: Update to 3.16.2
    
    Changes:        https://github.com/translate/translate/releases
                    https://docs.translatehouse.org/projects/translate-toolkit/en/latest/releases/
---
 textproc/translate-toolkit/Makefile                 |  8 ++++----
 textproc/translate-toolkit/distinfo                 |  6 +++---
 .../translate-toolkit/files/patch-pyproject.toml    | 21 +++++++++++++++------
 3 files changed, 22 insertions(+), 13 deletions(-)

diff --git a/textproc/translate-toolkit/Makefile b/textproc/translate-toolkit/Makefile
index e671cbcc1956..04df08ed3ac8 100644
--- a/textproc/translate-toolkit/Makefile
+++ b/textproc/translate-toolkit/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	translate-toolkit
-PORTVERSION=	3.16.1
+PORTVERSION=	3.16.2
 CATEGORIES=	textproc
 MASTER_SITES=	PYPI \
 		https://github.com/translate/translate/releases/download/${PORTVERSION}/
@@ -18,9 +18,9 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61:devel/py-setuptools@${PY_FL
 		${RUN_DEPENDS}
 RUN_DEPENDS=	bash:shells/bash \
 		msghack:devel/gettext-msghack \
-		${PYTHON_PKGNAMEPREFIX}cwcwidth>=0.1.10<0.2:devel/py-cwcwidth@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}lxml>=5.2.0<6.1:devel/py-lxml@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR}
+		${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wcwidth>=0.2.8<0.3:devel/py-wcwidth@${PY_FLAVOR}
 
 USES=		gettext python shebangfix
 USE_PYTHON=	autoplist noflavors pep517
@@ -63,7 +63,7 @@ PHP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}phply>=1.2.6<1.3:devel/py-phply@${PY_FLA
 PHP_VARS=		MANPAGES+="php2po po2php"
 RC_RUN_DEPENDS=		${PYTHON_PKGNAMEPREFIX}pyparsing>=3.2.0<3.3:devel/py-pyparsing@${PY_FLAVOR}
 RC_VARS=		MANPAGES+="po2rc rc2po"
-SPELLCHECK_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}enchant>=3.2.2:textproc/py-enchant@${PY_FLAVOR}
+SPELLCHECK_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}enchant>=3.3.0:textproc/py-enchant@${PY_FLAVOR}
 SUBTITLES_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aeidon>=1.14.1<1.16:textproc/py-aeidon@${PY_FLAVOR}
 TMSERVER_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cheroot>=10.0.1:www/py-cheroot@${PY_FLAVOR}
 TRADOS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.13.0:www/py-beautifulsoup@${PY_FLAVOR}
diff --git a/textproc/translate-toolkit/distinfo b/textproc/translate-toolkit/distinfo
index eba91ee03197..50a5dbb6d8b0 100644
--- a/textproc/translate-toolkit/distinfo
+++ b/textproc/translate-toolkit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759324026
-SHA256 (translate_toolkit-3.16.1.tar.gz) = f8df91586ae9ec7c183a05695d5e84912e3f9be8669d1eabc43fb0536248f8c5
-SIZE (translate_toolkit-3.16.1.tar.gz) = 536458
+TIMESTAMP = 1759774549
+SHA256 (translate_toolkit-3.16.2.tar.gz) = eb63bef9d9aa49901cfa327061694d8cf048d0877198792a9ac6ab1a78828175
+SIZE (translate_toolkit-3.16.2.tar.gz) = 536798
diff --git a/textproc/translate-toolkit/files/patch-pyproject.toml b/textproc/translate-toolkit/files/patch-pyproject.toml
index e83a8644d0fc..3a12c8d993ab 100644
--- a/textproc/translate-toolkit/files/patch-pyproject.toml
+++ b/textproc/translate-toolkit/files/patch-pyproject.toml
@@ -1,4 +1,4 @@
---- pyproject.toml.orig	2025-09-09 08:12:05 UTC
+--- pyproject.toml.orig	2025-10-03 18:09:56 UTC
 +++ pyproject.toml
 @@ -1,7 +1,7 @@ requires = [
  [build-system]
@@ -9,7 +9,16 @@
  ]
  
  [dependency-groups]
-@@ -71,8 +71,7 @@ keywords = [
+@@ -63,7 +63,7 @@ dependencies = [
+ ]
+ dependencies = [
+   "lxml>=5.2.0,<6.1",
+-  "wcwidth>=0.2.14,<0.3"
++  "wcwidth>=0.2.8,<0.3"
+ ]
+ description = "Tools and API for translation and localization engineering."
+ dynamic = [
+@@ -72,8 +72,7 @@ keywords = [
  keywords = [
    "i18n l10n gettext translate"
  ]
@@ -19,7 +28,7 @@
  name = "translate-toolkit"
  requires-python = ">=3.9"
  
-@@ -87,10 +86,10 @@ ical = [
+@@ -88,10 +87,10 @@ ical = [
    "fluent.syntax>=0.19.0,<0.20"
  ]
  ical = [
@@ -32,12 +41,12 @@
  ]
  levenshtein = [
    "python-Levenshtein>=0.21.0"
-@@ -105,13 +104,13 @@ spellcheck = [
+@@ -106,13 +105,13 @@ spellcheck = [
    "pyparsing>=3.2.0,<3.3"
  ]
  spellcheck = [
--  "pyenchant==3.2.2"
-+  "pyenchant>=3.2.2"
+-  "pyenchant==3.3.0"
++  "pyenchant>=3.3.0"
  ]
  subtitles = [
    "aeidon>=1.14.1,<1.16"