git: cbf58facc1ac - main - textproc/translate-toolkit: Update to 3.10.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Aug 2023 18:30:54 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=cbf58facc1ac24ec6e4f60dd01caaafcdebdc21c commit cbf58facc1ac24ec6e4f60dd01caaafcdebdc21c Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-08-16 18:10:50 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-08-16 18:25:12 +0000 textproc/translate-toolkit: Update to 3.10.0 - Add MARKDOWN option - Remove LANGUAGES option Changes: https://github.com/translate/translate/releases https://docs.translatehouse.org/projects/translate-toolkit/en/latest/releases/ --- textproc/translate-toolkit/Makefile | 15 ++++++++------- textproc/translate-toolkit/distinfo | 6 +++--- .../files/patch-requirements-optional.txt | 14 +++++++------- textproc/translate-toolkit/pkg-plist | 2 ++ 4 files changed, 20 insertions(+), 17 deletions(-) diff --git a/textproc/translate-toolkit/Makefile b/textproc/translate-toolkit/Makefile index 21f6e63804fa..ad54b7bb5d69 100644 --- a/textproc/translate-toolkit/Makefile +++ b/textproc/translate-toolkit/Makefile @@ -1,5 +1,5 @@ PORTNAME= translate-toolkit -PORTVERSION= 3.9.2 +PORTVERSION= 3.10.0 CATEGORIES= textproc MASTER_SITES= PYPI @@ -11,7 +11,7 @@ WWW= https://toolkit.translatehouse.org/ \ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING -BUILD_DEPENDS= ${PY_SETUPTOOLS} \ +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=42: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} \ ${RUN_DEPENDS} @@ -34,15 +34,15 @@ SHEBANG_FILES= tools/* \ MANPAGES= 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 -OPTIONS_DEFINE= ENCODING FLUENT ICAL INI LANGUAGES LEVENSHTEIN PHP RC SPELLCHECK SUBTITLES TMSERVER TRADOS YAML -OPTIONS_DEFAULT=ENCODING FLUENT ICAL INI LANGUAGES LEVENSHTEIN PHP RC SPELLCHECK SUBTITLES TMSERVER TRADOS YAML +OPTIONS_DEFINE= ENCODING FLUENT ICAL INI LEVENSHTEIN MARKDOWN PHP RC SPELLCHECK SUBTITLES TMSERVER TRADOS YAML +OPTIONS_DEFAULT=ENCODING FLUENT ICAL INI LEVENSHTEIN MARKDOWN PHP RC SPELLCHECK SUBTITLES TMSERVER TRADOS YAML OPTIONS_SUB= yes ENCODING_DESC= Encoding detection FLUENT_DESC= Fluent translation format support ICAL_DESC= iCal format support INI_DESC= INI format support -LANGUAGES_DESC= Languages names LEVENSHTEIN_DESC= Faster matching using Levenshtein +MARKDOWN_DESC= Markdown format support PHP_DESC= PHP format support RC_DESC= Windows Resource (.rc) format support SPELLCHECK_DESC=Enchant spellchecking system @@ -51,14 +51,15 @@ TMSERVER_DESC= Tmserver backend support TRADOS_DESC= Trados format support YAML_DESC= YAML format support -ENCODING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=3.0.1:textproc/py-charset-normalizer@${PY_FLAVOR} +ENCODING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=3.2.0:textproc/py-charset-normalizer@${PY_FLAVOR} FLUENT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fluent.syntax>=0.19.0:textproc/py-fluent.syntax@${PY_FLAVOR} ICAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vobject>=0.9.6.1:deskutils/py-vobject@${PY_FLAVOR} ICAL_VARS= MANPAGES+="ical2po po2ical" INI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}iniparse>=0.5:devel/py-iniparse@${PY_FLAVOR} INI_VARS= MANPAGES+="ini2po po2ini" -LANGUAGES_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycountry>=22.1.10:textproc/py-pycountry@${PY_FLAVOR} LEVENSHTEIN_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}python-Levenshtein>=0.12:devel/py-python-Levenshtein@${PY_FLAVOR} +MARKDOWN_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mistletoe>=1.1:textproc/py-mistletoe@${PY_FLAVOR} +MARKDOWN_VARS= MANPAGES+="md2po po2md" PHP_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}phply>=1.2.5:devel/py-phply@${PY_FLAVOR} PHP_VARS= MANPAGES+="php2po po2php" RC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyparsing>=3.0.7:devel/py-pyparsing@${PY_FLAVOR} diff --git a/textproc/translate-toolkit/distinfo b/textproc/translate-toolkit/distinfo index b5fb831c5009..dfd0a9fc498c 100644 --- a/textproc/translate-toolkit/distinfo +++ b/textproc/translate-toolkit/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1688902013 -SHA256 (translate-toolkit-3.9.2.tar.gz) = cd0430f061b135e46ec5eec9350fa8a7745d337826a90f5b6ac2c3b1b0123476 -SIZE (translate-toolkit-3.9.2.tar.gz) = 1437500 +TIMESTAMP = 1691069940 +SHA256 (translate-toolkit-3.10.0.tar.gz) = e3690caeef90dab491e6a8426c1d920aab265ef5f5bc7fe004a04e73560c4a3b +SIZE (translate-toolkit-3.10.0.tar.gz) = 1458219 diff --git a/textproc/translate-toolkit/files/patch-requirements-optional.txt b/textproc/translate-toolkit/files/patch-requirements-optional.txt index b16af66b7f6b..a0b543aaafd4 100644 --- a/textproc/translate-toolkit/files/patch-requirements-optional.txt +++ b/textproc/translate-toolkit/files/patch-requirements-optional.txt @@ -1,4 +1,4 @@ ---- requirements/optional.txt.orig 2022-04-20 09:24:34 UTC +--- requirements/optional.txt.orig 2023-07-26 04:25:02 UTC +++ requirements/optional.txt @@ -1,27 +1,27 @@ -r required.txt @@ -9,8 +9,8 @@ # Format support BeautifulSoup4>=4.3 # Trados # Encoding detection --charset-normalizer==3.1.0 # chardet -+charset-normalizer>=3.1.0 # chardet +-charset-normalizer==3.2.0 # chardet ++charset-normalizer>=3.2.0 # chardet # Tmserver backend -cheroot==10.0.0 # tmserver +cheroot>=10.0.0 # tmserver @@ -21,12 +21,12 @@ -iniparse==0.5 # INI +iniparse>=0.5 # INI # Format support +-mistletoe==1.1 # Markdown ++mistletoe>=1.1 # Markdown + # Format support -phply==1.2.6 # PHP -+phply>=1.2.5 # PHP - # To provide translations for language names without need for OS package. --pycountry==22.3.5 # Languages -pyenchant==3.2.2 # spellcheck -+pycountry>=22.3.5 # Languages ++phply>=1.2.6 # PHP +pyenchant>=3.2.2 # spellcheck # Windows Resources (rc2po and po2rc) -pyparsing==3.1.0 # RC diff --git a/textproc/translate-toolkit/pkg-plist b/textproc/translate-toolkit/pkg-plist index 493979d4b40d..b44dcabe1f0e 100644 --- a/textproc/translate-toolkit/pkg-plist +++ b/textproc/translate-toolkit/pkg-plist @@ -7,6 +7,7 @@ share/man/man1/html2po.1.gz share/man/man1/idml2po.1.gz %%INI%%share/man/man1/ini2po.1.gz share/man/man1/json2po.1.gz +%%MARKDOWN%%share/man/man1/md2po.1.gz share/man/man1/moz2po.1.gz @comment share/man/man1/mozfunny2prop.1.gz share/man/man1/mozlang2po.1.gz @@ -22,6 +23,7 @@ share/man/man1/po2html.1.gz share/man/man1/po2idml.1.gz %%INI%%share/man/man1/po2ini.1.gz 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/po2oo.1.gz