diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2019-06-08 03:13:22 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2019-06-08 03:13:22 +0000 |
commit | 68c84895e16776a8d0e294fd8c2f7a2abc491c9b (patch) | |
tree | c7f48f65f58092c23abd99e2e4fca18f190a4a70 /devel/boost-python-libs | |
parent | www/kiwix-tools: update to 2.0.0 (diff) |
devel/boost-python-libs: add NumPy support
numpy component is always built but runtime dependency is left out
until subpackaging to avoid always pulling py-numpy. Consumers should
add RUN_DEPENDS+=${PYNUMPY} instead to avoid the following:
ImportError: No module named numpy.core._multiarray_umath
ImportError: numpy.core._multiarray_umath failed to import
PR: 225589 238130
Notes
Notes:
svn path=/head/; revision=503700
Diffstat (limited to 'devel/boost-python-libs')
-rw-r--r-- | devel/boost-python-libs/Makefile | 5 | ||||
-rw-r--r-- | devel/boost-python-libs/pkg-plist | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/devel/boost-python-libs/Makefile b/devel/boost-python-libs/Makefile index 3685053dea03..0f9821a65d48 100644 --- a/devel/boost-python-libs/Makefile +++ b/devel/boost-python-libs/Makefile @@ -2,12 +2,13 @@ # $FreeBSD$ PORTNAME= boost-libs -PORTREVISION= 1 +PORTREVISION= 2 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} COMMENT= Framework for interfacing Python and C++ -BUILD_DEPENDS= bjam:devel/boost-jam +BUILD_DEPENDS= bjam:devel/boost-jam \ + ${PYNUMPY} LIB_DEPENDS= libboost_thread.so:devel/boost-libs USES= python diff --git a/devel/boost-python-libs/pkg-plist b/devel/boost-python-libs/pkg-plist index a0c5d2cbd948..453f159b5379 100644 --- a/devel/boost-python-libs/pkg-plist +++ b/devel/boost-python-libs/pkg-plist @@ -1,3 +1,8 @@ +lib/libboost_numpy%%PYTHON_SUFFIX%%.a +lib/libboost_numpy%%PYTHON_SUFFIX%%.so +lib/libboost_numpy%%PYTHON_SUFFIX%%.so.%%MAJOR_VER%% +lib/libboost_numpy%%PYTHON_SUFFIX%%.so.%%MAJOR_VER%%.%%MINOR_VER%% +lib/libboost_numpy%%PYTHON_SUFFIX%%.so.%%BOOST_SHARED_LIB_VER%% lib/libboost_python%%PYTHON_SUFFIX%%.a lib/libboost_python%%PYTHON_SUFFIX%%.so lib/libboost_python%%PYTHON_SUFFIX%%.so.%%MAJOR_VER%% |