git: d59daec5d234 - main - print/py-fontbakery: Allow build with py-gflanguages 0.7.0+

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 15 Nov 2024 10:18:13 UTC
The branch main has been updated by sunpoet:

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

commit d59daec5d23401eb7592a4eb8a179f40c55351ce
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-15 10:09:39 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-15 10:17:13 +0000

    print/py-fontbakery: Allow build with py-gflanguages 0.7.0+
    
    - Bump PORTREVISION for package change
---
 print/py-fontbakery/Makefile                   | 4 ++--
 print/py-fontbakery/files/patch-pyproject.toml | 8 ++++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/print/py-fontbakery/Makefile b/print/py-fontbakery/Makefile
index 0bdcada11851..d1504ac8b13a 100644
--- a/print/py-fontbakery/Makefile
+++ b/print/py-fontbakery/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	fontbakery
 PORTVERSION=	0.12.10
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	print python
 MASTER_SITES=	PYPI \
 		https://github.com/fonttools/fontbakery/releases/download/v${PORTVERSION}/
@@ -59,7 +59,7 @@ GOOGLEFONTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}axisregistry>=0.4.10<0.5:x11-font
 			${PYTHON_PKGNAMEPREFIX}collidoscope>=0.5.2:print/py-collidoscope@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}dehinter>=3.1.0:print/py-dehinter@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}gflanguages>=0.6.2<0.7:x11-fonts/py-gflanguages@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}gflanguages>=0.6.2<0.8:x11-fonts/py-gflanguages@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}gfsubsets>=2024.5.9:x11-fonts/py-gfsubsets@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}glyphsets>=1.0.0<2:print/py-glyphsets@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.0,1:devel/py-protobuf@${PY_FLAVOR} \
diff --git a/print/py-fontbakery/files/patch-pyproject.toml b/print/py-fontbakery/files/patch-pyproject.toml
index 75142e06e0da..c59da934b9ef 100644
--- a/print/py-fontbakery/files/patch-pyproject.toml
+++ b/print/py-fontbakery/files/patch-pyproject.toml
@@ -18,8 +18,12 @@
      # versions prior to v0.3.0 had too stric dependency rules
      # for other deps such as protobuf, making it harder satisfy all dependencies.
  ]
-@@ -79,7 +79,7 @@ googlefontsalwayslatest = [
-     "gflanguages >= 0.6.2, == 0.6.*",
+@@ -76,10 +76,10 @@ googlefontsalwayslatest = [
+ # deal with API-breaking updates. Only the latest released version is acceptable:
+ googlefontsalwayslatest = [
+     "axisregistry >= 0.4.10, == 0.4.*",
+-    "gflanguages >= 0.6.2, == 0.6.*",
++    "gflanguages >= 0.6.2, < 0.8",
      "gfsubsets >= 2024.5.9",
      "glyphsets >= 1.0.0, == 1.*",
 -    "shaperglot >= 0.5.0, == 0.5.*",