git: 900c273ab432 - main - textproc/translate-toolkit: Update to 3.9.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 27 May 2023 23:51:37 UTC
The branch main has been updated by sunpoet:

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

commit 900c273ab43226806047129d3478f0c5da81b43b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-05-27 23:22:28 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-05-27 23:43:44 +0000

    textproc/translate-toolkit: Update to 3.9.0
    
    - Convert to USE_PYTHON=pep517
    
    Changes:        https://github.com/translate/translate/releases
                    https://docs.translatehouse.org/projects/translate-toolkit/en/latest/releases/
---
 textproc/translate-toolkit/Makefile                           | 11 +++++++----
 textproc/translate-toolkit/distinfo                           |  6 +++---
 .../translate-toolkit/files/patch-requirements-optional.txt   |  8 ++++----
 3 files changed, 14 insertions(+), 11 deletions(-)

diff --git a/textproc/translate-toolkit/Makefile b/textproc/translate-toolkit/Makefile
index bf708b4ecc52..d46bc876d52b 100644
--- a/textproc/translate-toolkit/Makefile
+++ b/textproc/translate-toolkit/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	translate-toolkit
-PORTVERSION=	3.8.6
+PORTVERSION=	3.9.0
 CATEGORIES=	textproc
 MASTER_SITES=	PYPI
 
@@ -11,7 +11,10 @@ WWW=		https://toolkit.translatehouse.org/ \
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-BUILD_DEPENDS=	${RUN_DEPENDS}
+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}
 RUN_DEPENDS=	bash:shells/bash \
 		msghack:devel/gettext-msghack \
 		${PYTHON_PKGNAMEPREFIX}lxml>=4.6.3:devel/py-lxml@${PY_FLAVOR} \
@@ -49,7 +52,7 @@ 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}
-FLUENT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fluent.syntax>=0.18.1:textproc/py-fluent.syntax@${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}
@@ -64,7 +67,7 @@ SPELLCHECK_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}enchant>=3.2.2:textproc/py-enchan
 SUBTITLES_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}aeidon>=1.12:textproc/py-aeidon@${PY_FLAVOR}
 TMSERVER_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cheroot>=9.0.0:www/py-cheroot@${PY_FLAVOR}
 TRADOS_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.3:www/py-beautifulsoup@${PY_FLAVOR}
-YAML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17.21:devel/py-ruamel.yaml@${PY_FLAVOR}
+YAML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.17.26:devel/py-ruamel.yaml@${PY_FLAVOR}
 YAML_VARS=		MANPAGES+="po2yaml yaml2po"
 
 .include <bsd.port.options.mk>
diff --git a/textproc/translate-toolkit/distinfo b/textproc/translate-toolkit/distinfo
index 2bf7dc446e29..3b81e7274ef3 100644
--- a/textproc/translate-toolkit/distinfo
+++ b/textproc/translate-toolkit/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679498548
-SHA256 (translate-toolkit-3.8.6.tar.gz) = 44702fefc19a7e574952453201275936e11b8523c21b5298d5b04be57364bbf4
-SIZE (translate-toolkit-3.8.6.tar.gz) = 1419996
+TIMESTAMP = 1685162046
+SHA256 (translate-toolkit-3.9.0.tar.gz) = 85c239ddef769d814fa69bae0651d0849545538fcbfb09347ea503bbc406a115
+SIZE (translate-toolkit-3.9.0.tar.gz) = 1437188
diff --git a/textproc/translate-toolkit/files/patch-requirements-optional.txt b/textproc/translate-toolkit/files/patch-requirements-optional.txt
index 8b6e0ccf9d95..03bd01729935 100644
--- a/textproc/translate-toolkit/files/patch-requirements-optional.txt
+++ b/textproc/translate-toolkit/files/patch-requirements-optional.txt
@@ -15,8 +15,8 @@
 -cheroot==9.0.0       # tmserver
 +cheroot>=9.0.0       # tmserver
  # Format support
--fluent.syntax==0.18.1 # Fluent
-+fluent.syntax>=0.18.1 # Fluent
+-fluent.syntax==0.19.0 # Fluent
++fluent.syntax>=0.19.0 # Fluent
  # Format support
 -iniparse==0.5        # INI
 +iniparse>=0.5        # INI
@@ -34,8 +34,8 @@
  # Faster matching in e.g. pot2po
  python-Levenshtein>=0.12    # Levenshtein
  # Format support
--ruamel.yaml==0.17.21 # YAML
-+ruamel.yaml>=0.17.21 # YAML
+-ruamel.yaml==0.17.26 # YAML
++ruamel.yaml>=0.17.26 # YAML
  # Format support
 -vobject==0.9.6.1     # iCal
 +vobject>=0.9.6.1     # iCal