git: 75f563f99738 - main - print/py-vharfbuzz: Update to 0.3.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 06:21:11 UTC
The branch main has been updated by sunpoet:

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

commit 75f563f99738b9cd558c6904d6b848d55f35a819
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-05 05:26:48 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-05 06:18:03 +0000

    print/py-vharfbuzz: Update to 0.3.1
    
    Changes:        https://github.com/simoncozens/vharfbuzz/releases
---
 print/py-vharfbuzz/Makefile                   |  9 +++++----
 print/py-vharfbuzz/distinfo                   |  6 +++---
 print/py-vharfbuzz/files/patch-pyproject.toml | 16 ++++++++++++++++
 3 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/print/py-vharfbuzz/Makefile b/print/py-vharfbuzz/Makefile
index e7ae9130e4b3..5a229bcc806b 100644
--- a/print/py-vharfbuzz/Makefile
+++ b/print/py-vharfbuzz/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	vharfbuzz
-PORTVERSION=	0.3.0
-PORTREVISION=	1
+PORTVERSION=	0.3.1
 CATEGORIES=	print python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,9 +11,11 @@ WWW=		https://github.com/simoncozens/vharfbuzz
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=45:devel/py-setuptools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=8:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
-RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0.34.0:print/py-uharfbuzz@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}fonttools>=0:print/py-fonttools@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}uharfbuzz>=0.34.0:print/py-uharfbuzz@${PY_FLAVOR}
 
 USES=		python
 USE_PYTHON=	autoplist concurrent pep517
diff --git a/print/py-vharfbuzz/distinfo b/print/py-vharfbuzz/distinfo
index 6a6ed008d0e3..b20d3eb6c782 100644
--- a/print/py-vharfbuzz/distinfo
+++ b/print/py-vharfbuzz/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708449434
-SHA256 (vharfbuzz-0.3.0.tar.gz) = 6c12a656f2ee73f0ad405f934ab8bc9e08259e3e100a1efb155f891cfcec1402
-SIZE (vharfbuzz-0.3.0.tar.gz) = 11544
+TIMESTAMP = 1724084634
+SHA256 (vharfbuzz-0.3.1.tar.gz) = cc5570f0dc61edc449364fd2ec3dee88819284132267f25eb92757e2137de247
+SIZE (vharfbuzz-0.3.1.tar.gz) = 12389
diff --git a/print/py-vharfbuzz/files/patch-pyproject.toml b/print/py-vharfbuzz/files/patch-pyproject.toml
new file mode 100644
index 000000000000..ba9477d556e5
--- /dev/null
+++ b/print/py-vharfbuzz/files/patch-pyproject.toml
@@ -0,0 +1,16 @@
+--- pyproject.toml.orig	2024-08-12 14:09:24 UTC
++++ pyproject.toml
+@@ -1,5 +1,5 @@
+ [build-system]
+-requires = ["setuptools>=45", "setuptools_scm[toml]>=8.1"]
++requires = ["setuptools>=45", "setuptools_scm[toml]>=8"]
+ build-backend = "setuptools.build_meta"
+ 
+ [project]
+@@ -45,4 +45,4 @@ exclude = '''
+ (
+     _version.py
+ )
+-'''
+\ No newline at end of file
++'''