git: 4e7172220fae - main - devel/py-makefun: Relax version requirement of py-setuptools

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 16 Dec 2025 21:21:13 UTC
The branch main has been updated by sunpoet:

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

commit 4e7172220fae2c43ffc481d45ad6430110f15bf2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-12-16 21:15:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-12-16 21:15:56 +0000

    devel/py-makefun: Relax version requirement of py-setuptools
---
 devel/py-makefun/Makefile                   |  3 ++-
 devel/py-makefun/files/patch-pyproject.toml | 10 ++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/devel/py-makefun/Makefile b/devel/py-makefun/Makefile
index edf4b671ca33..efb36136b34a 100644
--- a/devel/py-makefun/Makefile
+++ b/devel/py-makefun/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	makefun
 PORTVERSION=	1.16.0
+PORTREVISION=	1
 CATEGORIES=	devel python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
@@ -12,7 +13,7 @@ WWW=		https://smarie.github.io/python-makefun/ \
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=39.2<72:devel/py-setuptools@${PY_FLAVOR} \
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>=39.2:devel/py-setuptools@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}setuptools-scm>=0:devel/py-setuptools-scm@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
 
diff --git a/devel/py-makefun/files/patch-pyproject.toml b/devel/py-makefun/files/patch-pyproject.toml
new file mode 100644
index 000000000000..aa6a13eb7b49
--- /dev/null
+++ b/devel/py-makefun/files/patch-pyproject.toml
@@ -0,0 +1,10 @@
+--- pyproject.toml.orig	2025-05-09 15:00:04 UTC
++++ pyproject.toml
+@@ -1,6 +1,6 @@ requires = [
+ [build-system]
+ requires = [
+-    "setuptools>=39.2,<72",   # later versions do not read 'tests_require' from setup.cfg anymore
++    "setuptools>=39.2",   # later versions do not read 'tests_require' from setup.cfg anymore
+     "setuptools_scm",
+     "wheel"
+ ]