git: 9cd788595e4b - main - textproc/py-pytomlpp: Fix DistutilsError exception

From: Jesús Daniel Colmenares Oviedo <dtxdf_at_FreeBSD.org>
Date: Mon, 20 Oct 2025 21:57:46 UTC
The branch main has been updated by dtxdf:

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

commit 9cd788595e4b73f65133d5124ccdc43b130362df
Author:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
AuthorDate: 2025-10-20 20:41:02 +0000
Commit:     Jesús Daniel Colmenares Oviedo <dtxdf@FreeBSD.org>
CommitDate: 2025-10-20 21:57:16 +0000

    textproc/py-pytomlpp: Fix DistutilsError exception
    
    distutils.errors.DistutilsError: Command '['/usr/local/bin/python3.11', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp2k9a6a7c', '--quiet', 'pybind11~=2.8']' returned non-zero exit status 1.
    
    Reported by:    pkg-fallout
---
 textproc/py-pytomlpp/Makefile              |  2 +-
 textproc/py-pytomlpp/files/patch-setup.cfg | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/textproc/py-pytomlpp/Makefile b/textproc/py-pytomlpp/Makefile
index 6a594b60b216..169640438c29 100644
--- a/textproc/py-pytomlpp/Makefile
+++ b/textproc/py-pytomlpp/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	pytomlpp
 DISTVERSION=	1.0.13
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	textproc python
 MASTER_SITES=	PYPI
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
diff --git a/textproc/py-pytomlpp/files/patch-setup.cfg b/textproc/py-pytomlpp/files/patch-setup.cfg
new file mode 100644
index 000000000000..7c45139c1def
--- /dev/null
+++ b/textproc/py-pytomlpp/files/patch-setup.cfg
@@ -0,0 +1,11 @@
+--- setup.cfg.orig	2025-10-20 19:41:53 UTC
++++ setup.cfg
+@@ -28,7 +28,7 @@ setup_requires = 
+ 
+ [options]
+ setup_requires = 
+-	pybind11~=2.8
++	pybind11
+ zip_safe = false
+ packages = find:
+ package_dir = =src