git: 5cab51bb8066 - main - x11-fonts/py-gflanguages: Update to 0.6.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sun, 19 May 2024 17:27:42 UTC
The branch main has been updated by sunpoet:

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

commit 5cab51bb806676ae48ab38d82acebba1213b326b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-05-19 16:20:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-05-19 17:16:01 +0000

    x11-fonts/py-gflanguages: Update to 0.6.1
    
    Changes:        https://github.com/googlefonts/lang/releases
---
 x11-fonts/py-gflanguages/Makefile                   |  7 +++----
 x11-fonts/py-gflanguages/distinfo                   |  6 +++---
 x11-fonts/py-gflanguages/files/patch-pyproject.toml | 11 +++++++++++
 x11-fonts/py-gflanguages/files/patch-setup.py       | 10 ----------
 4 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/x11-fonts/py-gflanguages/Makefile b/x11-fonts/py-gflanguages/Makefile
index 5ad9c00d7659..13283a3f9f49 100644
--- a/x11-fonts/py-gflanguages/Makefile
+++ b/x11-fonts/py-gflanguages/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	gflanguages
-PORTVERSION=	0.5.17
-PORTREVISION=	1
+PORTVERSION=	0.6.1
 CATEGORIES=	x11-fonts python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,8 +11,8 @@ WWW=		https://github.com/googlefonts/lang
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${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}protobuf>=3.7.0,1:devel/py-protobuf@${PY_FLAVOR}
 
diff --git a/x11-fonts/py-gflanguages/distinfo b/x11-fonts/py-gflanguages/distinfo
index 3bb5c6413754..d8795f798fe1 100644
--- a/x11-fonts/py-gflanguages/distinfo
+++ b/x11-fonts/py-gflanguages/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449552
-SHA256 (gflanguages-0.5.17.tar.gz) = 752720450eaeb234aa57416a0f23fe286bc72f4eb095315570ef8c999d8d300b
-SIZE (gflanguages-0.5.17.tar.gz) = 795126
+TIMESTAMP = 1715842878
+SHA256 (gflanguages-0.6.1.tar.gz) = 9a544dceb020784b75fd56d0117588c420fd36450b30e9e416c00b3b91fed526
+SIZE (gflanguages-0.6.1.tar.gz) = 793305
diff --git a/x11-fonts/py-gflanguages/files/patch-pyproject.toml b/x11-fonts/py-gflanguages/files/patch-pyproject.toml
new file mode 100644
index 000000000000..ed44e9d5bc39
--- /dev/null
+++ b/x11-fonts/py-gflanguages/files/patch-pyproject.toml
@@ -0,0 +1,11 @@
+--- pyproject.toml.orig	2024-05-16 08:51:11 UTC
++++ pyproject.toml
+@@ -22,7 +22,7 @@ dependencies = [
+ ]
+ 
+ dependencies = [
+-   "protobuf>=3.7.0, <4"
++   "protobuf>=3.7.0"
+ ]
+ 
+ [project.optional-dependencies]
diff --git a/x11-fonts/py-gflanguages/files/patch-setup.py b/x11-fonts/py-gflanguages/files/patch-setup.py
deleted file mode 100644
index a1bad9216613..000000000000
--- a/x11-fonts/py-gflanguages/files/patch-setup.py
+++ /dev/null
@@ -1,10 +0,0 @@
---- setup.py.orig	2023-02-24 14:23:41 UTC
-+++ setup.py
-@@ -55,6 +55,6 @@ setup(
-     install_requires=[
-         # 3.7.0 fixed a bug on parsing some METADATA.pb files.
-         # We cannot use v4 because our protobuf files have been compiled with v3.
--        'protobuf>=3.7.0, <4',
-+        'protobuf>=3.7.0',
-     ]
- )