git: f641995593dc - main - x11-fonts/py-fontmake: Update to 3.5.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 05 Apr 2023 17:43:41 UTC
The branch main has been updated by sunpoet:

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

commit f641995593dc6a0da5cf0390f8663cfcb3507610
Author:     Ting-Wei Lan <lantw44@gmail.com>
AuthorDate: 2023-04-05 17:26:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:32:01 +0000

    x11-fonts/py-fontmake: Update to 3.5.1
    
    - Update WWW
    - Update pkg-descr
    - While I'm here:
      - Sort RUN_DEPENDS
      - Add AUTOHINT and MUTATORMATH options
    
    Changes:        https://github.com/googlefonts/fontmake/releases
    PR:             270145
---
 x11-fonts/py-fontmake/Makefile  | 30 ++++++++++++++++++------------
 x11-fonts/py-fontmake/distinfo  |  6 +++---
 x11-fonts/py-fontmake/pkg-descr |  5 +++--
 3 files changed, 24 insertions(+), 17 deletions(-)

diff --git a/x11-fonts/py-fontmake/Makefile b/x11-fonts/py-fontmake/Makefile
index 58716492a253..f9b1b0cdeccf 100644
--- a/x11-fonts/py-fontmake/Makefile
+++ b/x11-fonts/py-fontmake/Makefile
@@ -1,29 +1,35 @@
 PORTNAME=	fontmake
-PORTVERSION=	1.8.0
-PORTREVISION=	3
+PORTVERSION=	3.5.1
 CATEGORIES=	x11-fonts python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	lantw44@gmail.com
 COMMENT=	Compile fonts from sources to binary
-WWW=		https://github.com/googlei18n/fontmake
+WWW=		https://github.com/googlefonts/fontmake
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cu2qu>=1.6.5:x11-fonts/py-cu2qu@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}glyphsLib>=3.1.3:x11-fonts/py-glyphsLib@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.5.0:x11-fonts/py-ufo2ft@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}MutatorMath>=2.1.2:math/py-MutatorMath@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}defcon>=0.6.0:x11-fonts/py-defcon@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}booleanOperations>=0.8.1:x11-fonts/py-booleanOperations@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}fonttools>=3.32.0:print/py-fonttools@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}attrs>=19:devel/py-attrs@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}fontMath>=0.9.3:x11-fonts/py-fontMath@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}fonttools>=4.38.0:print/py-fonttools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}glyphsLib>=6.1.0:x11-fonts/py-glyphsLib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ufo2ft>=2.29.0:x11-fonts/py-ufo2ft@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ufolib2>=0.13.0:print/py-ufolib2@${PY_FLAVOR} \
 
-USES=		python:3.6+ zip
+USES=		python:3.7+ zip
 USE_PYTHON=	autoplist concurrent distutils
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	AUTOHINT MUTATORMATH
+OPTIONS_DEFAULT=AUTOHINT MUTATORMATH
+AUTOHINT_DESC=	ttfautohint support
+MUTATORMATH_DESC=	Allow use mutatormath instead of internal instantiator
+
+AUTOHINT_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ttfautohint-py>=0.5.0:print/py-ttfautohint-py@${PY_FLAVOR}
+MUTATORMATH_RUN_DEPENDS=${PYTHON_PKGNAMEPREFIX}MutatorMath>=2.1.2:math/py-MutatorMath@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/x11-fonts/py-fontmake/distinfo b/x11-fonts/py-fontmake/distinfo
index 3f9d8e91d170..bb269e5de20d 100644
--- a/x11-fonts/py-fontmake/distinfo
+++ b/x11-fonts/py-fontmake/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1545562319
-SHA256 (fontmake-1.8.0.zip) = a6b8e3c8a1e997dbadd602496aa8ea3bbe4e4ed2dfc6607a288340aa08067d2e
-SIZE (fontmake-1.8.0.zip) = 51822
+TIMESTAMP = 1679499270
+SHA256 (fontmake-3.5.1.zip) = 9e3240acdabb9e1768ab44a2dfe4540c4f95252c2e52f93e7bb59eb8d6a5b8ad
+SIZE (fontmake-3.5.1.zip) = 463050
diff --git a/x11-fonts/py-fontmake/pkg-descr b/x11-fonts/py-fontmake/pkg-descr
index a2ac56cf8225..1b94fb44f2db 100644
--- a/x11-fonts/py-fontmake/pkg-descr
+++ b/x11-fonts/py-fontmake/pkg-descr
@@ -1,2 +1,3 @@
-fontmake provides a wrapper for several other Python libraries which together
-compile fonts from various sources (.glyphs, .ufo) into binaries (.otf, .ttf).
+fontmake compiles fonts from various sources (.glyphs, .ufo, designspace) into
+binaries (.otf, .ttf). You can use it to create static instances and variable
+fonts.