Date: Tue, 02 Dec 2025 12:18:59 +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: 854747d8e717 - main - textproc/translate-toolkit: Update to 3.17.2 Message-ID: <692ed933.f41e.2abf834a@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=854747d8e7170c8930b836620609eb407bc0f087 commit 854747d8e7170c8930b836620609eb407bc0f087 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2025-12-02 12:06:25 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2025-12-02 12:06:25 +0000 textproc/translate-toolkit: Update to 3.17.2 - Add TOML option Changes: https://github.com/translate/translate/releases https://docs.translatehouse.org/projects/translate-toolkit/en/latest/releases/ --- textproc/translate-toolkit/Makefile | 16 ++++++----- textproc/translate-toolkit/distinfo | 6 ++--- .../translate-toolkit/files/patch-pyproject.toml | 31 +++++++++------------- textproc/translate-toolkit/pkg-plist | 3 +++ 4 files changed, 27 insertions(+), 29 deletions(-) diff --git a/textproc/translate-toolkit/Makefile b/textproc/translate-toolkit/Makefile index c7eec73767c2..ac7e2f2048eb 100644 --- a/textproc/translate-toolkit/Makefile +++ b/textproc/translate-toolkit/Makefile @@ -1,5 +1,5 @@ PORTNAME= translate-toolkit -PORTVERSION= 3.16.3 +PORTVERSION= 3.17.2 CATEGORIES= textproc MASTER_SITES= PYPI \ https://github.com/translate/translate/releases/download/${PORTVERSION}/ @@ -20,7 +20,7 @@ RUN_DEPENDS= bash:shells/bash \ msghack:devel/gettext-msghack \ ${PYTHON_PKGNAMEPREFIX}lxml>=5.2.0<6.1:devel/py-lxml@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}sqlite3>=0:databases/py-sqlite3@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}wcwidth>=0.2.8<0.3:devel/py-wcwidth@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}unicode-segmentation-rs>=0.1.1:textproc/py-unicode-segmentation-rs@${PY_FLAVOR} USES= gettext python shebangfix USE_PYTHON= autoplist noflavors pep517 @@ -29,13 +29,13 @@ NO_ARCH= yes SHEBANG_FILES= tools/* -MANPAGES= android2po csv2po csv2tbx dtd2po flatxml2po html2po idml2po json2po moz2po mozlang2po odf2xliff oo2po oo2xliff po2csv po2dtd po2flatxml po2html po2idml po2json po2moz po2mozlang po2oo po2prop po2resx po2sub po2symb po2tiki po2tmx po2ts po2txt po2web2py po2wordfast po2xliff pot2po prop2po resx2po sub2po symb2po tbx2po tiki2po ts2po txt2po web2py2po xliff2odf xliff2oo +MANPAGES= android2po csv2po csv2tbx dtd2po flatxml2po html2po ical2po idml2po ini2po json2po md2po moz2po mozlang2po odf2xliff oo2po oo2xliff php2po po2csv po2dtd po2flatxml po2html po2ical po2idml po2ini po2json po2md po2moz po2mozlang po2odf po2oo po2php po2prop po2rc po2resx po2sub po2symb po2tiki po2tmx po2ts po2txt po2web2py po2wordfast po2xliff po2yaml pot2po prop2po rc2po resx2po sub2po symb2po tbx2po tiki2po ts2po txt2po web2py2po xliff2odf xliff2oo yaml2po -OPTIONS_DEFINE= ALL CHARDET FLUENT ICAL INI LEVENSHTEIN MARKDOWN PHP RC SPELLCHECK SUBTITLES TMSERVER TRADOS YAML -OPTIONS_DEFAULT=ALL CHARDET FLUENT ICAL INI LEVENSHTEIN MARKDOWN PHP RC SPELLCHECK SUBTITLES TMSERVER TRADOS YAML +OPTIONS_DEFINE= ALL CHARDET FLUENT ICAL INI LEVENSHTEIN MARKDOWN PHP RC SPELLCHECK SUBTITLES TMSERVER TOML TRADOS YAML +OPTIONS_DEFAULT=ALL CHARDET FLUENT ICAL INI LEVENSHTEIN MARKDOWN PHP RC SPELLCHECK SUBTITLES TMSERVER TOML TRADOS YAML OPTIONS_SUB= yes ALL_DESC= All optional dependencies -AAL_IMPLIES= CHARDET FLUENT ICAL INI LEVENSHTEIN MARKDOWN PHP RC SPELLCHECK SUBTITLES TMSERVER TRADOS YAML +AAL_IMPLIES= CHARDET FLUENT ICAL INI LEVENSHTEIN MARKDOWN PHP RC SPELLCHECK SUBTITLES TMSERVER TOML TRADOS YAML CHARDET_DESC= Encoding detection FLUENT_DESC= Fluent translation format support ICAL_DESC= iCal format support @@ -65,7 +65,9 @@ RC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=3.2.0<3.3:devel/py-pyparsing@ RC_VARS= MANPAGES+="po2rc rc2po" 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} +TMSERVER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheroot>=11.1.2:www/py-cheroot@${PY_FLAVOR} +TOML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tomlkit>=0.13.0<0.14.0:textproc/py-tomlkit@${PY_FLAVOR} +TOML_VARS= MANPAGES+="toml2po po2toml" TRADOS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.13.0:www/py-beautifulsoup@${PY_FLAVOR} YAML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.18.0<0.19.0:devel/py-ruamel.yaml@${PY_FLAVOR} YAML_VARS= MANPAGES+="po2yaml yaml2po" diff --git a/textproc/translate-toolkit/distinfo b/textproc/translate-toolkit/distinfo index 888e51477f61..2409c60eb445 100644 --- a/textproc/translate-toolkit/distinfo +++ b/textproc/translate-toolkit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1761446514 -SHA256 (translate_toolkit-3.16.3.tar.gz) = d9656526a8bb0f0a88a16a08ed463036589cd34af059daf80aaaa90b9246586c -SIZE (translate_toolkit-3.16.3.tar.gz) = 536719 +TIMESTAMP = 1764510902 +SHA256 (translate_toolkit-3.17.2.tar.gz) = 48e549c43a807959b7696353a8abaee4ce47cc99d4e9e5fb95c581b0b6cf5b38 +SIZE (translate_toolkit-3.17.2.tar.gz) = 555369 diff --git a/textproc/translate-toolkit/files/patch-pyproject.toml b/textproc/translate-toolkit/files/patch-pyproject.toml index 1c8b4b550029..2aabe9dec07a 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-10-14 15:39:48 UTC +--- pyproject.toml.orig 2025-11-27 21:20:48 UTC +++ pyproject.toml @@ -1,7 +1,7 @@ requires = [ [build-system] @@ -9,16 +9,16 @@ ] [dependency-groups] -@@ -64,7 +64,7 @@ dependencies = [ +@@ -63,7 +63,7 @@ dependencies = [ ] dependencies = [ "lxml>=5.2.0,<6.1", -- "wcwidth>=0.2.14,<0.3" -+ "wcwidth>=0.2.8,<0.3" +- "unicode-segmentation-rs>=0.1.1,<0.2" ++ "unicode-segmentation-rs>=0.1.1" ] description = "Tools and API for translation and localization engineering." dynamic = [ -@@ -73,8 +73,7 @@ keywords = [ +@@ -72,8 +72,7 @@ keywords = [ keywords = [ "i18n l10n gettext translate" ] @@ -26,9 +26,9 @@ -license-files = ["COPYING"] +license = { text = "GPL-2.0-or-later" } name = "translate-toolkit" - requires-python = ">=3.9" + requires-python = ">=3.10" -@@ -89,16 +88,16 @@ ical = [ +@@ -88,10 +87,10 @@ ical = [ "fluent.syntax>=0.19.0,<0.20" ] ical = [ @@ -41,14 +41,7 @@ ] levenshtein = [ "python-Levenshtein>=0.21.0" - ] - markdown = [ -- "mistletoe>=1.4.0,<1.5.0" -+ "mistletoe>=1.4.0,<1.6.0" - ] - php = [ - "phply>=1.2.6,<1.3" -@@ -107,13 +106,13 @@ spellcheck = [ +@@ -106,13 +105,13 @@ spellcheck = [ "pyparsing>=3.2.0,<3.3" ] spellcheck = [ @@ -59,8 +52,8 @@ "aeidon>=1.14.1,<1.16" ] tmserver = [ -- "cheroot==10.0.1" -+ "cheroot>=10.0.1" +- "cheroot==11.1.2" ++ "cheroot>=11.1.2" ] - trados = [ - "BeautifulSoup4>=4.13.0" + toml = [ + "tomlkit>=0.13.0,<0.14.0" diff --git a/textproc/translate-toolkit/pkg-plist b/textproc/translate-toolkit/pkg-plist index 26a0f22eed81..56495d07ad7b 100644 --- a/textproc/translate-toolkit/pkg-plist +++ b/textproc/translate-toolkit/pkg-plist @@ -27,6 +27,7 @@ share/man/man1/po2json.1.gz %%MARKDOWN%%share/man/man1/po2md.1.gz share/man/man1/po2moz.1.gz share/man/man1/po2mozlang.1.gz +share/man/man1/po2odf.1.gz share/man/man1/po2oo.1.gz %%PHP%%share/man/man1/po2php.1.gz share/man/man1/po2prop.1.gz @@ -36,6 +37,7 @@ share/man/man1/po2sub.1.gz share/man/man1/po2symb.1.gz share/man/man1/po2tiki.1.gz share/man/man1/po2tmx.1.gz +%%TOML%%share/man/man1/po2toml.1.gz share/man/man1/po2ts.1.gz share/man/man1/po2txt.1.gz share/man/man1/po2web2py.1.gz @@ -51,6 +53,7 @@ share/man/man1/sub2po.1.gz share/man/man1/symb2po.1.gz share/man/man1/tbx2po.1.gz share/man/man1/tiki2po.1.gz +%%TOML%%share/man/man1/toml2po.1.gz share/man/man1/ts2po.1.gz share/man/man1/txt2po.1.gz share/man/man1/web2py2po.1.gzhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?692ed933.f41e.2abf834a>
