git: 04470a19e668 - main - misc: fix build with python 3.12
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Feb 2026 07:51:55 UTC
The branch main has been updated by antoine:
URL: https://cgit.FreeBSD.org/ports/commit/?id=04470a19e668c730bcd0d7bd5636c5305ff6a2a4
commit 04470a19e668c730bcd0d7bd5636c5305ff6a2a4
Author: Antoine Brodin <antoine@FreeBSD.org>
AuthorDate: 2026-02-15 07:51:06 +0000
Commit: Antoine Brodin <antoine@FreeBSD.org>
CommitDate: 2026-02-15 07:51:06 +0000
misc: fix build with python 3.12
PR: 285957
---
astro/gpsd/Makefile | 2 ++
audio/py-essentia/Makefile | 1 +
biology/libneurosim/Makefile | 1 +
devel/libarea/Makefile | 1 +
devel/py-ice/Makefile | 3 ++-
math/gau2grid/Makefile | 3 ++-
math/py-pyaudi/Makefile | 3 ++-
misc/py-molequeue/Makefile | 1 +
net-p2p/c-lightning/Makefile | 1 +
science/lammps/Makefile | 1 +
science/tweedledum/Makefile | 4 +++-
textproc/redland-bindings/Makefile | 1 +
12 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/astro/gpsd/Makefile b/astro/gpsd/Makefile
index c027fb09ac9b..60129a7ba9c2 100644
--- a/astro/gpsd/Makefile
+++ b/astro/gpsd/Makefile
@@ -15,6 +15,8 @@ FLAVORS= default nox11
FLAVOR?= ${FLAVORS:[1]}
nox11_PKGNAMESUFFIX= -nox11
+BUILD_DEPENDS= ${PY_SETUPTOOLS}
+
USES= cpe pathfix pkgconfig python scons
CPE_VENDOR= gpsd_project
USE_LDCONFIG= yes
diff --git a/audio/py-essentia/Makefile b/audio/py-essentia/Makefile
index 272d1dffafbd..c4c82bb84b01 100644
--- a/audio/py-essentia/Makefile
+++ b/audio/py-essentia/Makefile
@@ -14,6 +14,7 @@ LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/COPYING.txt
BUILD_DEPENDS= ${PYNUMPY} \
+ ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
LIB_DEPENDS= libessentia.so:audio/essentia
RUN_DEPENDS= ${PYNUMPY} \
diff --git a/biology/libneurosim/Makefile b/biology/libneurosim/Makefile
index 0fd9116f8552..7df8f8d05a61 100644
--- a/biology/libneurosim/Makefile
+++ b/biology/libneurosim/Makefile
@@ -27,6 +27,7 @@ OPTIONS_DEFINE= PYTHON
OPTIONS_DEFAULT= PYTHON
OPTIONS_SUB= yes
+PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS}
PYTHON_CONFIGURE_ON= --with-python=${PYTHON_VER:R}
PYTHON_USES= python
diff --git a/devel/libarea/Makefile b/devel/libarea/Makefile
index 47ea28798343..20e931313d41 100644
--- a/devel/libarea/Makefile
+++ b/devel/libarea/Makefile
@@ -10,6 +10,7 @@ WWW= https://github.com/heeks/libarea
LICENSE= BSD3CLAUSE
LIB_DEPENDS= ${PY_BOOST}
+BUILD_DEPENDS= ${PY_SETUPTOOLS}
USES= cmake python
diff --git a/devel/py-ice/Makefile b/devel/py-ice/Makefile
index eabadaa8d507..79494ad777db 100644
--- a/devel/py-ice/Makefile
+++ b/devel/py-ice/Makefile
@@ -6,7 +6,8 @@ COMMENT= Ice (Internet Communications Engine) language mapping for Python
LICENSE= GPLv2
-BUILD_DEPENDS= mcpp:devel/mcpp
+BUILD_DEPENDS= mcpp:devel/mcpp \
+ ${PY_SETUPTOOLS}
LIB_DEPENDS= libIce.so.${LIB_VRS}:devel/ice
USES= compiler:c++11-lang python shebangfix
diff --git a/math/gau2grid/Makefile b/math/gau2grid/Makefile
index acdee4aac187..830f77cad108 100644
--- a/math/gau2grid/Makefile
+++ b/math/gau2grid/Makefile
@@ -14,7 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le
ONLY_FOR_ARCHS_REASON= BUG: ValueError: descr is not a valid dtype descriptor: '<f16' (see https://github.com/dgasmith/gau2grid/issues/25)
-BUILD_DEPENDS= ${PYNUMPY}
+BUILD_DEPENDS= ${PYNUMPY} \
+ ${PY_SETUPTOOLS}
USES= cmake compiler:c11 python:build # C code build depends on python to generate some headers
USE_GITHUB= yes
diff --git a/math/py-pyaudi/Makefile b/math/py-pyaudi/Makefile
index f3c2cc619eb0..d80f9c712ce1 100644
--- a/math/py-pyaudi/Makefile
+++ b/math/py-pyaudi/Makefile
@@ -18,7 +18,8 @@ BROKEN_armv7= compilation fails: constraints not satisfied for class template 'd
BROKEN_i386= not for 32-bit systems, see https://github.com/darioizzo/audi/issues/62
BUILD_DEPENDS= audi>0:math/audi \
- pybind11>0:devel/pybind11
+ pybind11>0:devel/pybind11 \
+ ${PY_SETUPTOOLS}
LIB_DEPENDS= libabsl_base.so:devel/abseil \
libboost_serialization.so:devel/boost-libs \
libfmt.so:devel/libfmt \
diff --git a/misc/py-molequeue/Makefile b/misc/py-molequeue/Makefile
index 9906f97f8ac4..e084cd68478a 100644
--- a/misc/py-molequeue/Makefile
+++ b/misc/py-molequeue/Makefile
@@ -12,6 +12,7 @@ WWW= https://www.openchemistry.org/projects/molequeue
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/../LICENSE
+BUILD_DEPENDS= ${PY_SETUPTOOLS}
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyzmq>0:net/py-pyzmq@${PY_FLAVOR}
USES= cmake compiler:c++11-lang python
diff --git a/net-p2p/c-lightning/Makefile b/net-p2p/c-lightning/Makefile
index d1d689c536e3..d5d2c281a417 100644
--- a/net-p2p/c-lightning/Makefile
+++ b/net-p2p/c-lightning/Makefile
@@ -18,6 +18,7 @@ BUILD_DEPENDS= bash:shells/bash \
gsed:textproc/gsed \
lowdown:textproc/lowdown \
jq:textproc/jq \
+ ${PY_SETUPTOOLS} \
${PYTHON_PKGNAMEPREFIX}mako>=1.0.14:textproc/py-mako@${PY_FLAVOR}
LIB_DEPENDS= libsodium.so:security/libsodium
RUN_DEPENDS= bitcoin-cli:net-p2p/bitcoin-utils
diff --git a/science/lammps/Makefile b/science/lammps/Makefile
index 9391e14c3780..d9d2ba2d95f0 100644
--- a/science/lammps/Makefile
+++ b/science/lammps/Makefile
@@ -20,6 +20,7 @@ LIB_DEPENDS= libevent.so:devel/libevent \
libpciaccess.so:devel/libpciaccess \
libssh2.so:security/libssh2 \
libzstd.so:archivers/zstd
+BUILD_DEPENDS= ${PY_SETUPTOOLS}
.if !exists(/usr/include/omp.h)
BROKEN= requires OpenMP support that is missing on this architecture
diff --git a/science/tweedledum/Makefile b/science/tweedledum/Makefile
index 7abd175216fc..7ad907c5fb0a 100644
--- a/science/tweedledum/Makefile
+++ b/science/tweedledum/Makefile
@@ -10,7 +10,9 @@ WWW= https://github.com/boschmitt/tweedledum
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake:testing compiler:c++17-lang
+BUILD_DEPENDS= ${PY_SETUPTOOLS}
+
+USES= cmake:testing compiler:c++17-lang python:env
USE_GITHUB= yes
GH_ACCOUNT= boschmitt
diff --git a/textproc/redland-bindings/Makefile b/textproc/redland-bindings/Makefile
index 8e658c83fe01..e8932f1d628b 100644
--- a/textproc/redland-bindings/Makefile
+++ b/textproc/redland-bindings/Makefile
@@ -26,6 +26,7 @@ OPTIONS_SUB= yes
PHP_CONFIGURE_WITH= php
PHP_USES= php:build
+PYTHON_BUILD_DEPENDS= ${PY_SETUPTOOLS}
PYTHON_CONFIGURE_WITH= python python-libext=${PYTHON_TAG}.so
PYTHON_USES= python
RUBY_CONFIGURE_WITH= ruby