git: a2790079e1f2 - main - print/py-fontbakery: Update to 0.12.10

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 06:21:10 UTC
The branch main has been updated by sunpoet:

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

commit a2790079e1f2a15b429877cb05743602e6f97fcc
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:26:46 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:18:03 +0000

    print/py-fontbakery: Update to 0.12.10
    
    - Remove SHAPING and UFO options
    
    Changes:        https://github.com/fonttools/fontbakery/releases
                    https://github.com/fonttools/fontbakery/blob/main/CHANGELOG.md
---
 print/py-fontbakery/Makefile                   | 25 +++++++++----------------
 print/py-fontbakery/distinfo                   |  6 +++---
 print/py-fontbakery/files/patch-pyproject.toml | 16 ++++++++--------
 3 files changed, 20 insertions(+), 27 deletions(-)

diff --git a/print/py-fontbakery/Makefile b/print/py-fontbakery/Makefile
index f1ad6360eca6..e340571597a5 100644
--- a/print/py-fontbakery/Makefile
+++ b/print/py-fontbakery/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	fontbakery
-PORTVERSION=	0.12.9
+PORTVERSION=	0.12.10
 CATEGORIES=	print python
 MASTER_SITES=	PYPI \
 		https://github.com/fonttools/fontbakery/releases/download/v${PORTVERSION}/
@@ -18,6 +18,7 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=61.0:devel/py-setuptools@${PY_
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beziers>=0.6.0<0.7:graphics/py-beziers@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}cmarkgfm>=0.4:textproc/py-cmarkgfm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}defcon>=0:x11-fonts/py-defcon@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}fonttools>=4.46.0:print/py-fonttools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}freetype-py>=0:print/py-freetype-py@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}Jinja2>=3.0.0:devel/py-Jinja2@${PY_FLAVOR} \
@@ -30,6 +31,8 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}beziers>=0.6.0<0.7:graphics/py-beziers@${PY_
 		${PYTHON_PKGNAMEPREFIX}requests>=2.19:www/py-requests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}rich>=0:textproc/py-rich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}toml>=0:textproc/py-toml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.25.2:x11-fonts/py-ufo2ft@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ufolint>=0:x11-fonts/py-ufolint@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0:print/py-uharfbuzz@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}vharfbuzz>=0.2.0:print/py-vharfbuzz@${PY_FLAVOR}
 
@@ -38,23 +41,21 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-# fontbakery[adobefonts] and fontbakery[iso15008] are empty
-OPTIONS_DEFINE=	FONTVAL FONTWERK GOOGLEFONTS NOTOFONTS SHAPING TYPENETWORK UFO
-OPTIONS_DEFAULT=FONTVAL FONTWERK GOOGLEFONTS NOTOFONTS SHAPING TYPENETWORK UFO
+# fontbakery[adobefonts], fontbakery[iso15008] and fontbakery[microsoft] are empty
+OPTIONS_DEFINE=	FONTVAL FONTWERK GOOGLEFONTS NOTOFONTS TYPENETWORK
+OPTIONS_DEFAULT=FONTVAL FONTWERK GOOGLEFONTS NOTOFONTS TYPENETWORK
 FONTVAL_DESC=		Checks for Font Validator
 FONTWERK_DESC=		Checks for Fontwerk.com
 FONTWERK_IMPLIES=	GOOGLEFONTS
 GOOGLEFONTS_DESC=	Checks for Google Fonts
-GOOGLEFONTS_IMPLIES=	SHAPING UFO
 NOTOFONTS_DESC=		Checks for Noto fonts
 NOTOFONTS_IMPLIES=	GOOGLEFONTS
-SHAPING_DESC=		Checks for shaping
 TYPENETWORK_DESC=	Checks for Type Network
-UFO_DESC=		Checks for UFO sources
 
 FONTVAL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR}
 GOOGLEFONTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}axisregistry>=0.4.10<0.5:x11-fonts/py-axisregistry@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.7.1:www/py-beautifulsoup@${PY_FLAVOR} \
+			${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} \
@@ -62,19 +63,11 @@ GOOGLEFONTS_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}axisregistry>=0.4.10<0.5:x11-font
 			${PYTHON_PKGNAMEPREFIX}glyphsets>=1.0.0<2:print/py-glyphsets@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.0,1:devel/py-protobuf@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}shaperglot>=0.5.0<0.6:x11-fonts/py-shaperglot@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}unicodedata2>=0:devel/py-unicodedata2@${PY_FLAVOR}
-SHAPING_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}collidoscope>=0.5.2:print/py-collidoscope@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}shaperglot>=0.3.0<0.6.0:x11-fonts/py-shaperglot@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}stringbrewer>=0:devel/py-stringbrewer@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.25.2:x11-fonts/py-ufo2ft@${PY_FLAVOR}
+			${PYTHON_PKGNAMEPREFIX}unicodedata2>=0:devel/py-unicodedata2@${PY_FLAVOR}
 TYPENETWORK_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.7.1:www/py-beautifulsoup@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}shaperglot>=0.3.0<0.6.0:x11-fonts/py-shaperglot@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.25.2:x11-fonts/py-ufo2ft@${PY_FLAVOR} \
 			${PYTHON_PKGNAMEPREFIX}unicodedata2>=0:devel/py-unicodedata2@${PY_FLAVOR}
-UFO_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}defcon>=0:x11-fonts/py-defcon@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.25.2:x11-fonts/py-ufo2ft@${PY_FLAVOR} \
-			${PYTHON_PKGNAMEPREFIX}ufolint>=0:x11-fonts/py-ufolint@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>
 
diff --git a/print/py-fontbakery/distinfo b/print/py-fontbakery/distinfo
index 68f8b3304721..7e50817803fe 100644
--- a/print/py-fontbakery/distinfo
+++ b/print/py-fontbakery/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1721280226
-SHA256 (fontbakery-0.12.9.tar.gz) = 0a5d23450a85f3720895d929d55b95492e19795b101f534da72124a4c26a840f
-SIZE (fontbakery-0.12.9.tar.gz) = 49758973
+TIMESTAMP = 1724084632
+SHA256 (fontbakery-0.12.10.tar.gz) = fbd3bb70013a094013bf26c6db6a942cd3478bde33486a94f548e1beb17d47c9
+SIZE (fontbakery-0.12.10.tar.gz) = 49761353
diff --git a/print/py-fontbakery/files/patch-pyproject.toml b/print/py-fontbakery/files/patch-pyproject.toml
index 574171430816..b1f83d8d63a2 100644
--- a/print/py-fontbakery/files/patch-pyproject.toml
+++ b/print/py-fontbakery/files/patch-pyproject.toml
@@ -1,15 +1,15 @@
---- pyproject.toml.orig	2024-06-04 04:55:58 UTC
+--- pyproject.toml.orig	2024-08-14 19:46:41 UTC
 +++ pyproject.toml
-@@ -29,7 +29,7 @@ dependencies = [
- 
- dependencies = [
-     "fontTools >= 4.46.0",
+@@ -32,7 +32,7 @@ dependencies = [
+     "cmarkgfm >= 0.4",
+     "defcon",
+     "fontTools[ufo] >= 4.46.0",
 -    "freetype-py < 2.4.0",  # see: https://github.com/fonttools/fontbakery/issues/4143
 +    "freetype-py",  # see: https://github.com/fonttools/fontbakery/issues/4143
-     "opentypespec",
-     "opentype-sanitizer >= 9.1.0, == 9.*",
+     "Jinja2 >= 3.0.0",  # issue #4717
      "munkres",
-@@ -110,7 +110,7 @@ googlefonts = [
+     "opentypespec",
+@@ -112,7 +112,7 @@ googlefonts = [
      "fonttools[lxml,unicode]",
      # (see https://github.com/googlefonts/gflanguages/pull/7)