git: 7f32759fc763 - main - x11-fonts/py-glyphsLib: Update to 6.1.0

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

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

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

    x11-fonts/py-glyphsLib: Update to 6.1.0
    
    - Convert to USE_PYTHON=pep517
    - While I'm here:
      - Sort RUN_DEPENDS
      - Add DEFCON and UFO_NORMALIZATION options
    
    Changes:        https://github.com/googlefonts/glyphsLib/releases
    PR:             270143
---
 x11-fonts/py-glyphsLib/Makefile | 26 ++++++++++++++++++--------
 x11-fonts/py-glyphsLib/distinfo |  6 +++---
 2 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/x11-fonts/py-glyphsLib/Makefile b/x11-fonts/py-glyphsLib/Makefile
index c278d8f82464..6b589aa38307 100644
--- a/x11-fonts/py-glyphsLib/Makefile
+++ b/x11-fonts/py-glyphsLib/Makefile
@@ -1,24 +1,34 @@
 PORTNAME=	glyphsLib
-PORTVERSION=	3.1.4
-PORTREVISION=	1
+PORTVERSION=	6.1.0
 CATEGORIES=	x11-fonts python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
 MAINTAINER=	lantw44@gmail.com
 COMMENT=	Bridge from Glyphs source files (.glyphs) to UFOs
-WWW=		https://github.com/googlei18n/glyphsLib
+WWW=		https://github.com/googlefonts/glyphsLib
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}defcon>=0.3.0:x11-fonts/py-defcon@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}fonttools>=3.24.0:print/py-fonttools@${PY_FLAVOR}
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools_scm>=6.0:devel/py-setuptools_scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools>=4.33.0:print/py-fonttools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}openstep-plist>=0.3.0:textproc/py-openstep-plist@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}ufolib2>=0.6.2:print/py-ufolib2@${PY_FLAVOR} \
 
-USES=		python:3.6+ zip
-USE_PYTHON=	autoplist concurrent distutils
+USES=		python:3.7+
+USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	DEFCON UFO_NORMALIZATION
+OPTIONS_DEFAULT=DEFCON UFO_NORMALIZATION
+DEFCON_DESC=	UFO support via py-defcon
+UFO_NORMALIZATION_DESC=	Normalize UFOs with py-ufonormalizer
+
+DEFCON_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}defcon>=0.6.0:x11-fonts/py-defcon@${PY_FLAVOR}
+UFO_NORMALIZATION_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ufonormalizer>=0:x11-fonts/py-ufonormalizer@${PY_FLAVOR}
+
 .include <bsd.port.mk>
diff --git a/x11-fonts/py-glyphsLib/distinfo b/x11-fonts/py-glyphsLib/distinfo
index ca3476d99d07..b92cdff3f5d9 100644
--- a/x11-fonts/py-glyphsLib/distinfo
+++ b/x11-fonts/py-glyphsLib/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1545561125
-SHA256 (glyphsLib-3.1.4.zip) = 0c6b84128858964011f1a329116faf666d7a2f786d8b74569c488886ac0d1e5f
-SIZE (glyphsLib-3.1.4.zip) = 879581
+TIMESTAMP = 1679499266
+SHA256 (glyphsLib-6.1.0.tar.gz) = ed0f78639200de6e5e08edfbb241bd6209aefb3887dd5934a5c34e1984c6f38a
+SIZE (glyphsLib-6.1.0.tar.gz) = 30404853