git: 4c312d7e2387 - main - cad/ifcopenshell: fix with Python-3.12

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Mon, 06 Jul 2026 12:05:53 UTC
The branch main has been updated by thierry:

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

commit 4c312d7e2387c3e008de4450de69880bc10e577d
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-07-06 12:01:22 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-07-06 12:05:40 +0000

    cad/ifcopenshell: fix with Python-3.12
    
    Remark: I have a WIP to get rid of OpenCascade 740 and make IfcOpenShell
    work with OCCT-8.0.
---
 cad/ifcopenshell/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/cad/ifcopenshell/Makefile b/cad/ifcopenshell/Makefile
index 3b6f8a591efb..0bdbbd92bbf9 100644
--- a/cad/ifcopenshell/Makefile
+++ b/cad/ifcopenshell/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	ifcopenshell
 PORTVERSION=	0.7.0.231127
-PORTREVISION=	5
 DISTVERSIONPREFIX=	v
+PORTREVISION=	6
 CATEGORIES=	cad
 
 PATCH_SITES=	https://github.com/IfcOpenShell/IfcOpenShell/commit/
@@ -40,7 +40,8 @@ OPTIONS_SUB=		yes
 
 PYTHON_CMAKE_BOOL=	BUILD_IFCPYTHON
 PYTHON_USES=		python
-PYTHON_BUILD_DEPENDS=	swig>=3.0.0:devel/swig
+PYTHON_BUILD_DEPENDS=	swig>=3.0.0:devel/swig \
+			${PY_SETUPTOOLS}
 
 CMAKE_SOURCE_PATH=	${WRKSRC}/cmake