Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2024 06:28:37 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ef5c24aa79ff - main - x11-fonts/py-gflanguages: Update to 0.7.1
Message-ID:  <202411220628.4AM6SbHn006291@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

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

commit ef5c24aa79ff93068f824dcbfba7575740567c3b
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-22 06:23:06 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-22 06:23:06 +0000

    x11-fonts/py-gflanguages: Update to 0.7.1
    
    Changes:        https://github.com/googlefonts/lang/releases
---
 x11-fonts/py-gflanguages/Makefile                   | 12 +++++++++---
 x11-fonts/py-gflanguages/distinfo                   |  6 +++---
 x11-fonts/py-gflanguages/files/patch-pyproject.toml |  7 +++----
 3 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/x11-fonts/py-gflanguages/Makefile b/x11-fonts/py-gflanguages/Makefile
index a5540265de7a..dcd7887f927a 100644
--- a/x11-fonts/py-gflanguages/Makefile
+++ b/x11-fonts/py-gflanguages/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	gflanguages
-PORTVERSION=	0.7.0
+PORTVERSION=	0.7.1
 CATEGORIES=	x11-fonts python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -16,9 +16,15 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FL
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}protobuf>=3.7.0,1:devel/py-protobuf@${PY_FLAVOR}
 
-USES=		python:3.9+
+USES=		python
 USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31000
+RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}importlib-resources>=0:devel/py-importlib-resources@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/x11-fonts/py-gflanguages/distinfo b/x11-fonts/py-gflanguages/distinfo
index bf674dc824f4..409e20b0c3aa 100644
--- a/x11-fonts/py-gflanguages/distinfo
+++ b/x11-fonts/py-gflanguages/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1730724848
-SHA256 (gflanguages-0.7.0.tar.gz) = 384b713d7d61b00e2af0bd7a91c35c418cc7c43bc613bada5ba778684c88feff
-SIZE (gflanguages-0.7.0.tar.gz) = 838529
+TIMESTAMP = 1732239546
+SHA256 (gflanguages-0.7.1.tar.gz) = 823595d53f97536a8ace884336ad51959821f0681156b486869c2b5d3b933ed1
+SIZE (gflanguages-0.7.1.tar.gz) = 841360
diff --git a/x11-fonts/py-gflanguages/files/patch-pyproject.toml b/x11-fonts/py-gflanguages/files/patch-pyproject.toml
index b34c80d5e59d..294a4aa2fdc7 100644
--- a/x11-fonts/py-gflanguages/files/patch-pyproject.toml
+++ b/x11-fonts/py-gflanguages/files/patch-pyproject.toml
@@ -1,12 +1,11 @@
---- pyproject.toml.orig	2024-11-01 10:44:56 UTC
+--- pyproject.toml.orig	2024-11-18 12:50:04 UTC
 +++ pyproject.toml
-@@ -22,8 +22,7 @@ dependencies = [
+@@ -23,7 +23,7 @@ dependencies = [
  ]
  
  dependencies = [
 -   "protobuf>=3.7.0, <4",
--   "importlib_resources",  # Needed for 3.9 and below
 +   "protobuf>=3.7.0",
+    "importlib_resources ; python_version < '3.10'",
  ]
  
- [project.optional-dependencies]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411220628.4AM6SbHn006291>