aboutsummaryrefslogtreecommitdiff
path: root/math/xtensor-python
diff options
context:
space:
mode:
Diffstat (limited to 'math/xtensor-python')
-rw-r--r--math/xtensor-python/Makefile9
-rw-r--r--math/xtensor-python/distinfo6
-rw-r--r--math/xtensor-python/pkg-plist7
3 files changed, 13 insertions, 9 deletions
diff --git a/math/xtensor-python/Makefile b/math/xtensor-python/Makefile
index 5e9004ad03c1..e655514f484f 100644
--- a/math/xtensor-python/Makefile
+++ b/math/xtensor-python/Makefile
@@ -1,5 +1,5 @@
PORTNAME= xtensor-python
-DISTVERSION= 0.27.0
+DISTVERSION= 0.29.0
CATEGORIES= math python
MAINTAINER= yuri@FreeBSD.org
@@ -17,20 +17,23 @@ RUN_DEPENDS= ${HPP_DEPENDS}
TEST_DEPENDS= googletest>0:devel/googletest \
pybind11>0:devel/pybind11
-USES= cmake compiler:c++14-lang python
+USES= cmake compiler:c++20-lang localbase:ldflags python
USE_GITHUB= yes
GH_ACCOUNT= xtensor-stack
CXXFLAGS+= -I${PYTHON_INCLUDEDIR} -I${PYTHON_SITELIBDIR}/numpy/core/include # workaround for https://github.com/xtensor-stack/xtensor-python/issues/272
+LDFLAGS+= -lpython${PYTHON_VER}
NO_BUILD= yes
NO_ARCH= yes
-do-test: install
+do-test:
@cd ${WRKSRC}/test && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} . && \
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} && \
${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} xtest
+# tests as of 0.29.0: [ PASSED ] 55 tests.
+
.include <bsd.port.mk>
diff --git a/math/xtensor-python/distinfo b/math/xtensor-python/distinfo
index d867423177b3..838cc4dbee20 100644
--- a/math/xtensor-python/distinfo
+++ b/math/xtensor-python/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1708074061
-SHA256 (xtensor-stack-xtensor-python-0.27.0_GH0.tar.gz) = 40ee01bd213aeb7bf64f6d8a3257f4fa98ed31c401596c6c7b3b115f61a473b9
-SIZE (xtensor-stack-xtensor-python-0.27.0_GH0.tar.gz) = 65455
+TIMESTAMP = 1760503057
+SHA256 (xtensor-stack-xtensor-python-0.29.0_GH0.tar.gz) = 2915b220bd11b70fdd9fbb2db5f313e751189fec083e406228c8e5a31dfaa4a2
+SIZE (xtensor-stack-xtensor-python-0.29.0_GH0.tar.gz) = 66835
diff --git a/math/xtensor-python/pkg-plist b/math/xtensor-python/pkg-plist
index e9f7970198bd..0009a66e0660 100644
--- a/math/xtensor-python/pkg-plist
+++ b/math/xtensor-python/pkg-plist
@@ -7,6 +7,7 @@ include/xtensor-python/pytensor.hpp
include/xtensor-python/pyvectorize.hpp
include/xtensor-python/xtensor_python_config.hpp
include/xtensor-python/xtensor_type_caster_base.hpp
-lib/cmake/xtensor-python/xtensor-pythonConfig.cmake
-lib/cmake/xtensor-python/xtensor-pythonConfigVersion.cmake
-lib/cmake/xtensor-python/xtensor-pythonTargets.cmake
+share/cmake/xtensor-python/xtensor-pythonConfig.cmake
+share/cmake/xtensor-python/xtensor-pythonConfigVersion.cmake
+share/cmake/xtensor-python/xtensor-pythonTargets.cmake
+share/pkgconfig/xtensor-python.pc