aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2025-11-09 17:16:22 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2025-11-09 20:31:39 +0000
commitee8c5a344a90e0f50870d126ed45cb51190a154b (patch)
treede2e62b025e98d2044f1a42231b2a728985f1d8c
parent62a10e5246d643ddaef7136a01e3120c570465e9 (diff)
science/highfive: update 2.10.1 → 3.2.0
-rw-r--r--science/highfive/Makefile11
-rw-r--r--science/highfive/distinfo8
-rw-r--r--science/highfive/files/patch-CMakeLists.txt12
-rw-r--r--science/highfive/pkg-plist25
4 files changed, 40 insertions, 16 deletions
diff --git a/science/highfive/Makefile b/science/highfive/Makefile
index 2dcc0c740d0c..7eab1f11d288 100644
--- a/science/highfive/Makefile
+++ b/science/highfive/Makefile
@@ -1,11 +1,12 @@
PORTNAME= highfive
DISTVERSIONPREFIX= v
-DISTVERSION= 2.10.1
+DISTVERSION= 3.2.0
CATEGORIES= science devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Header-only C++ HDF5 interface
-WWW= https://github.com/BlueBrain/HighFive
+WWW= https://highfive-devs.github.io/highfive/ \
+ https://github.com/highfive-devs/highfive
LICENSE= BSL
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -16,9 +17,9 @@ RUN_DEPENDS= ${LOCALBASE}/include/boost/multi_array.hpp:devel/boost-libs \
TEST_DEPENDS= catch2>0:devel/catch2
USES= cmake eigen:3,run
+
USE_GITHUB= yes
-GH_ACCOUNT= BlueBrain
-GH_PROJECT= HighFive
+GH_ACCOUNT= highfive-devs
CMAKE_OFF= HIGHFIVE_USE_BOOST HIGHFIVE_UNIT_TESTS HIGHFIVE_EXAMPLES
@@ -31,4 +32,6 @@ do-test: # one test fails, see https://github.com/BlueBrain/HighFive/issues/634
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \
${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test
+# tests as of 3.2.0: 99% tests passed, 3 tests failed out of 278, skipped tests are reported as failed, see https://github.com/highfive-devs/highfive/issues/88
+
.include <bsd.port.mk>
diff --git a/science/highfive/distinfo b/science/highfive/distinfo
index f65f182a8eae..b7311dead1bf 100644
--- a/science/highfive/distinfo
+++ b/science/highfive/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1733388367
-SHA256 (BlueBrain-HighFive-v2.10.1_GH0.tar.gz) = 60d66ba1315730494470afaf402bb40300a39eb6ef3b9d67263335a236069cce
-SIZE (BlueBrain-HighFive-v2.10.1_GH0.tar.gz) = 559344
+TIMESTAMP = 1762679687
+SHA256 (highfive-devs-highfive-v3.2.0_GH0.tar.gz) = 01ea2eed7dbce1cf5dfff59476cfa113a7822b641aecbd99c674592fe7a4e630
+SIZE (highfive-devs-highfive-v3.2.0_GH0.tar.gz) = 216218
+SHA256 (catchorg-catch2-fa43b77_GH0.tar.gz) = ec3b3ca270338c35dfed8673050c159476b85c6f788776cbdbde281adb682d04
+SIZE (catchorg-catch2-fa43b77_GH0.tar.gz) = 1193121
diff --git a/science/highfive/files/patch-CMakeLists.txt b/science/highfive/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..e93ed5c9bef1
--- /dev/null
+++ b/science/highfive/files/patch-CMakeLists.txt
@@ -0,0 +1,12 @@
+--- CMakeLists.txt.orig 2025-11-09 09:21:35 UTC
++++ CMakeLists.txt
+@@ -180,7 +180,8 @@ if(HIGHFIVE_UNIT_TESTS)
+ endif()
+
+ if(HIGHFIVE_UNIT_TESTS)
+- add_subdirectory(deps/catch2 EXCLUDE_FROM_ALL)
++ #add_subdirectory(deps/catch2 EXCLUDE_FROM_ALL)
++ find_package(Catch2 REQUIRED)
+ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/deps/catch2/contrib)
+ enable_testing()
+ add_subdirectory(tests/unit)
diff --git a/science/highfive/pkg-plist b/science/highfive/pkg-plist
index 648733c11d9b..f13fd6b2bdc2 100644
--- a/science/highfive/pkg-plist
+++ b/science/highfive/pkg-plist
@@ -5,7 +5,6 @@ include/highfive/H5DataType.hpp
include/highfive/H5Easy.hpp
include/highfive/H5Exception.hpp
include/highfive/H5File.hpp
-include/highfive/H5FileDriver.hpp
include/highfive/H5Group.hpp
include/highfive/H5Object.hpp
include/highfive/H5PropertyList.hpp
@@ -21,7 +20,6 @@ include/highfive/bits/H5DataSet_misc.hpp
include/highfive/bits/H5DataType_misc.hpp
include/highfive/bits/H5Dataspace_misc.hpp
include/highfive/bits/H5Exception_misc.hpp
-include/highfive/bits/H5FileDriver_misc.hpp
include/highfive/bits/H5File_misc.hpp
include/highfive/bits/H5Friends.hpp
include/highfive/bits/H5Inspector_decl.hpp
@@ -40,6 +38,9 @@ include/highfive/bits/H5Slice_traits.hpp
include/highfive/bits/H5Slice_traits_misc.hpp
include/highfive/bits/H5Utils.hpp
include/highfive/bits/H5_definitions.hpp
+include/highfive/bits/assert_compatible_spaces.hpp
+include/highfive/bits/compute_total_size.hpp
+include/highfive/bits/convert_size_vector.hpp
include/highfive/bits/h5_wrapper.hpp
include/highfive/bits/h5a_wrapper.hpp
include/highfive/bits/h5d_wrapper.hpp
@@ -53,19 +54,25 @@ include/highfive/bits/h5p_wrapper.hpp
include/highfive/bits/h5r_wrapper.hpp
include/highfive/bits/h5s_wrapper.hpp
include/highfive/bits/h5t_wrapper.hpp
+include/highfive/bits/inspector_stl_span_misc.hpp
+include/highfive/bits/squeeze.hpp
include/highfive/bits/string_padding.hpp
+include/highfive/bits/xtensor_header_version.hpp
include/highfive/boost.hpp
+include/highfive/boost_multi_array.hpp
+include/highfive/boost_span.hpp
+include/highfive/boost_ublas.hpp
include/highfive/eigen.hpp
+include/highfive/experimental/opencv.hpp
include/highfive/h5easy_bits/H5Easy_Eigen.hpp
include/highfive/h5easy_bits/H5Easy_misc.hpp
-include/highfive/h5easy_bits/H5Easy_opencv.hpp
include/highfive/h5easy_bits/H5Easy_public.hpp
include/highfive/h5easy_bits/H5Easy_scalar.hpp
-include/highfive/h5easy_bits/H5Easy_vector.hpp
-include/highfive/h5easy_bits/H5Easy_xtensor.hpp
+include/highfive/h5easy_bits/default_io_impl.hpp
include/highfive/half_float.hpp
include/highfive/highfive.hpp
-share/HighFive/CMake/HighFiveConfig.cmake
-share/HighFive/CMake/HighFiveConfigVersion.cmake
-share/HighFive/CMake/HighFiveTargetDeps.cmake
-share/HighFive/CMake/HighFiveTargets.cmake
+include/highfive/span.hpp
+include/highfive/xtensor.hpp
+lib/cmake/HighFive/HighFiveConfig.cmake
+lib/cmake/HighFive/HighFiveConfigVersion.cmake
+lib/cmake/HighFive/HighFiveTargets.cmake