git: 4cbac2cbe36c - main - devel/cpp2py: Fix build broken by python-3.12 transition
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Jul 2026 19:36:00 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4cbac2cbe36cf7a3fe110fc9fca838d85c4e195d
commit 4cbac2cbe36cf7a3fe110fc9fca838d85c4e195d
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-07-06 17:33:54 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-07-06 19:35:58 +0000
devel/cpp2py: Fix build broken by python-3.12 transition
Reported by: fallout
---
devel/cpp2py/Makefile | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/devel/cpp2py/Makefile b/devel/cpp2py/Makefile
index 4a4d9b7f70ca..0052a10ea1ea 100644
--- a/devel/cpp2py/Makefile
+++ b/devel/cpp2py/Makefile
@@ -13,11 +13,13 @@ WWW= https://github.com/TRIQS/cpp2py
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
-PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.16:math/py-numpy@${PY_FLAVOR} \
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+PY_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}h5py>0:science/py-h5py@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}mako>0:textproc/py-mako@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scipy>0:science/py-scipy@${PY_FLAVOR}
-BUILD_DEPENDS= ${PY_DEPENDS}
+BUILD_DEPENDS+= ${PY_DEPENDS}
RUN_DEPENDS= ${PY_DEPENDS}
USES= cmake compiler:c++14-lang gettext-runtime python shebangfix