summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Li <vishwin@FreeBSD.org>2024-11-21 15:33:25 -0500
committerCharlie Li <vishwin@FreeBSD.org>2024-11-21 15:33:25 -0500
commit0c610c4b35941436172bfede63e11a62454581b2 (patch)
treeed711c51900f248b1fc62da339cd0c57c8097a5d
parentarchivers/py-pybcj: add new port (diff)
devel/boost-python-libs: mark as safe for numpy 2.x
Upstream commit included in devel/boost-libs/files. Switch away from ${PYNUMPY} to both catalogue and allow seamless transition when math/py-numpy 2.x is committed. While here, remove USES=python upper bound. With hat: python PR: 281470
-rw-r--r--devel/boost-python-libs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/boost-python-libs/Makefile b/devel/boost-python-libs/Makefile
index 1f29f186724b..246d6caba559 100644
--- a/devel/boost-python-libs/Makefile
+++ b/devel/boost-python-libs/Makefile
@@ -10,10 +10,10 @@ LICENSE_FILE= ${WRKSRC}/LICENSE_1_0.txt
PATCHDIR= ${.CURDIR}/../boost-libs/files
BUILD_DEPENDS= bjam:devel/boost-jam \
- ${PYNUMPY}
+ ${PYTHON_PKGNAMEPREFIX}numpy>=1.26:math/py-numpy@${PY_FLAVOR}
LIB_DEPENDS= libboost_thread.so:devel/boost-libs
-USES= python:3.9-3.11 # upper bound inherited from math/py-numpy
+USES= python:3.9+
USE_PYTHON= flavors
OPTIONS_DEFINE= DEBUG OPTIMIZED_CFLAGS