git: 15616ecf5db8 - main - x11-fonts/py-babelfont: Update to 3.0.2

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 20 Apr 2024 14:27:34 UTC
The branch main has been updated by sunpoet:

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

commit 15616ecf5db88e0b2fa29c0653c47153d37c5a78
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 14:23:12 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 14:25:45 +0000

    x11-fonts/py-babelfont: Update to 3.0.2
    
    Changes:        https://github.com/simoncozens/babelfont/releases
---
 x11-fonts/py-babelfont/Makefile                   | 13 +++++++------
 x11-fonts/py-babelfont/distinfo                   |  6 +++---
 x11-fonts/py-babelfont/files/patch-pyproject.toml | 17 +++++++++++++++++
 3 files changed, 27 insertions(+), 9 deletions(-)

diff --git a/x11-fonts/py-babelfont/Makefile b/x11-fonts/py-babelfont/Makefile
index 602609cbabd4..3227e3ddb11a 100644
--- a/x11-fonts/py-babelfont/Makefile
+++ b/x11-fonts/py-babelfont/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	babelfont
-PORTVERSION=	3.0.1
+PORTVERSION=	3.0.2
 CATEGORIES=	x11-fonts python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -11,13 +11,14 @@ WWW=		https://github.com/simoncozens/babelfont
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.0.0:devel/py-poetry-core@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}cu2qu>=1.6.7<2.0.0:x11-fonts/py-cu2qu@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}fontfeatures>=1.0.6<2.0.0:x11-fonts/py-fontfeatures@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}fonttools>=4.21.1:print/py-fonttools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2:devel/py-setuptools-scm@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fontfeatures>=1.0.6<2:x11-fonts/py-fontfeatures@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}fonttools>=4.40.0:print/py-fonttools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}glyphsLib>=5.3.2:x11-fonts/py-glyphsLib@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}openstep-plist>=0.2.2:textproc/py-openstep-plist@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}orjson>=3.5.1<4.0.0:devel/py-orjson@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}orjson>=3.5.1<4:devel/py-orjson@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}ufolib2>=0.11.1:print/py-ufolib2@${PY_FLAVOR}
 
 USES=		python
diff --git a/x11-fonts/py-babelfont/distinfo b/x11-fonts/py-babelfont/distinfo
index 6756aa945415..adf72db1c05d 100644
--- a/x11-fonts/py-babelfont/distinfo
+++ b/x11-fonts/py-babelfont/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1688166368
-SHA256 (babelfont-3.0.1.tar.gz) = 127973a37ede411e002a6f0d201d667e7324a4df177a576c62a54426351697a6
-SIZE (babelfont-3.0.1.tar.gz) = 33395
+TIMESTAMP = 1713528562
+SHA256 (babelfont-3.0.2.tar.gz) = 370399c9bf3252db91bbd0dbed91a4561f260c54a8462b4be8726ce1aa85b872
+SIZE (babelfont-3.0.2.tar.gz) = 976022
diff --git a/x11-fonts/py-babelfont/files/patch-pyproject.toml b/x11-fonts/py-babelfont/files/patch-pyproject.toml
new file mode 100644
index 000000000000..e12585292b1d
--- /dev/null
+++ b/x11-fonts/py-babelfont/files/patch-pyproject.toml
@@ -0,0 +1,17 @@
+--- pyproject.toml.orig	2024-04-17 09:50:53 UTC
++++ pyproject.toml
+@@ -19,12 +19,12 @@ dependencies = [
+ 
+ dependencies = [
+     "python >=3.8",
+-    "orjson ~= 3.5.1",
++    "orjson ~= 3.5, >=3.5.1",
+     "fonttools >=4.40.0",
+     "ufoLib2 >=0.11.1",
+     "openstep-plist >=0.2.2",
+     "glyphsLib >=5.3.2",
+-    "fontfeatures ~= 1.0.6",
++    "fontfeatures ~= 1.0, >=1.0.6",
+ ]
+ 
+ [project.optional-dependencies]