git: 89e48209ce28 - 2026Q1 - textproc/translate-toolkit: Allow build with py-ruamel.yaml 0.19.0+
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 10 Feb 2026 20:19:37 UTC
The branch 2026Q1 has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=89e48209ce280233c6a0ad2b4e90cbea348aba03
commit 89e48209ce280233c6a0ad2b4e90cbea348aba03
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2026-01-15 11:36:57 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2026-02-10 20:18:54 +0000
textproc/translate-toolkit: Allow build with py-ruamel.yaml 0.19.0+
- Bump PORTREVISION for package change
It fixes build after 7e7493383b5e027b27e9136282856b66b1d2fa3d.
Reported by: pkg-fallout
(cherry picked from commit 6bebb158d657822d5964f63acb61920f7b6b62a1)
---
textproc/translate-toolkit/Makefile | 3 ++-
textproc/translate-toolkit/files/patch-pyproject.toml | 9 +++++++++
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/textproc/translate-toolkit/Makefile b/textproc/translate-toolkit/Makefile
index 3741b16a2615..946b37b29b2b 100644
--- a/textproc/translate-toolkit/Makefile
+++ b/textproc/translate-toolkit/Makefile
@@ -1,5 +1,6 @@
PORTNAME= translate-toolkit
PORTVERSION= 3.17.5
+PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= PYPI \
https://github.com/translate/translate/releases/download/${PORTVERSION}/
@@ -69,7 +70,7 @@ TMSERVER_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheroot>=11.1.2:www/py-cheroot@${PY
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_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0.18.0<0.20.0:devel/py-ruamel.yaml@${PY_FLAVOR}
YAML_VARS= MANPAGES+="po2yaml yaml2po"
.include <bsd.port.options.mk>
diff --git a/textproc/translate-toolkit/files/patch-pyproject.toml b/textproc/translate-toolkit/files/patch-pyproject.toml
index e0e1deeaeb26..110e108b53b2 100644
--- a/textproc/translate-toolkit/files/patch-pyproject.toml
+++ b/textproc/translate-toolkit/files/patch-pyproject.toml
@@ -52,3 +52,12 @@
]
toml = [
"tomlkit>=0.13.0,<0.14.0"
+@@ -125,7 +124,7 @@ yaml = [
+ "BeautifulSoup4>=4.13.0"
+ ]
+ yaml = [
+- "ruamel.yaml>=0.18.0,<0.19.0"
++ "ruamel.yaml>=0.18.0,<0.20.0"
+ ]
+
+ [project.readme]