diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:47:34 -0500 |
| commit | dda948891d3731927b821ce31f9d9a2d03ba20c5 (patch) | |
| tree | 99cd40be4cbb0606260da212cd81b8ab2db9da9b /sci-libs/highfive | |
| parent | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (diff) | |
| download | baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.gz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.tar.xz baldeagleos-repo-dda948891d3731927b821ce31f9d9a2d03ba20c5.zip | |
Adding metadata
Diffstat (limited to 'sci-libs/highfive')
| -rw-r--r-- | sci-libs/highfive/Manifest | 1 | ||||
| -rw-r--r-- | sci-libs/highfive/files/highfive-3.2.0_use_system_catch2_fix_QA_cmake4_warning.patch | 40 | ||||
| -rw-r--r-- | sci-libs/highfive/highfive-3.2.0.ebuild | 66 | ||||
| -rw-r--r-- | sci-libs/highfive/metadata.xml | 13 |
4 files changed, 120 insertions, 0 deletions
diff --git a/sci-libs/highfive/Manifest b/sci-libs/highfive/Manifest new file mode 100644 index 000000000000..9e88c364d5e3 --- /dev/null +++ b/sci-libs/highfive/Manifest @@ -0,0 +1 @@ +DIST highfive-3.2.0.tar.gz 216218 BLAKE2B 2eb449f2dbcbdfd621e1807559de4554c026e42aa45c2d324c2b2751ef6eafdf3568e6aa731035e4eb97b74e79896599f1a56ecd9ddffeaf61dbae5900f077c6 SHA512 0f72eadfff9b0dd8bcf70654ae5ac526565df58be47d432e5f44fbc5b36b47989061308629ea34d403b9b96362abc2e42e9cbd6eaa78d1ba0326737493468d05 diff --git a/sci-libs/highfive/files/highfive-3.2.0_use_system_catch2_fix_QA_cmake4_warning.patch b/sci-libs/highfive/files/highfive-3.2.0_use_system_catch2_fix_QA_cmake4_warning.patch new file mode 100644 index 000000000000..f7ca80c2b9c1 --- /dev/null +++ b/sci-libs/highfive/files/highfive-3.2.0_use_system_catch2_fix_QA_cmake4_warning.patch @@ -0,0 +1,40 @@ +# Force to use system Catch2 (dev-cpp/catch) and supress QA cmake4 warning +# "Policy CMP0167 is not set: The FindBoost module is removed". + +diff '--color=auto' -Naur a/CMakeLists.txt b/CMakeLists.txt +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -180,8 +180,7 @@ + endif() + + if(HIGHFIVE_UNIT_TESTS) +- add_subdirectory(deps/catch2 EXCLUDE_FROM_ALL) +- list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/deps/catch2/contrib) ++ find_package(Catch2) + enable_testing() + add_subdirectory(tests/unit) + endif() +diff '--color=auto' -Naur a/cmake/HighFiveOptionalDependencies.cmake b/cmake/HighFiveOptionalDependencies.cmake +--- a/cmake/HighFiveOptionalDependencies.cmake ++++ b/cmake/HighFiveOptionalDependencies.cmake +@@ -1,7 +1,7 @@ + if(NOT TARGET HighFiveBoostDependency) + add_library(HighFiveBoostDependency INTERFACE) + if(HIGHFIVE_TEST_BOOST) +- find_package(Boost REQUIRED) ++ find_package(Boost CONFIG REQUIRED) + target_link_libraries(HighFiveBoostDependency INTERFACE Boost::headers) + # TODO check if we need Boost::disable_autolinking to cause: + # -DBOOST_ALL_NO_LIB (does something on MSVC). +diff '--color=auto' -Naur a/tests/unit/CMakeLists.txt b/tests/unit/CMakeLists.txt +--- a/tests/unit/CMakeLists.txt ++++ b/tests/unit/CMakeLists.txt +@@ -6,7 +6,7 @@ + endif() + + ## Base tests +-foreach(test_name tests_high_five_base tests_high_five_easy test_all_types test_high_five_selection tests_high_five_data_type test_boost test_empty_arrays test_legacy test_nothrow_movable test_opencv test_string test_stl test_xtensor) ++foreach(test_name tests_high_five_base tests_high_five_easy test_all_types test_high_five_selection tests_high_five_data_type test_boost test_empty_arrays test_legacy test_nothrow_movable test_opencv test_string test_stl) + add_executable(${test_name} "${test_name}.cpp") + target_link_libraries(${test_name} HighFive HighFiveWarnings HighFiveFlags Catch2::Catch2WithMain) + target_link_libraries(${test_name} HighFiveOptionalDependencies) diff --git a/sci-libs/highfive/highfive-3.2.0.ebuild b/sci-libs/highfive/highfive-3.2.0.ebuild new file mode 100644 index 000000000000..5b359c1c51a1 --- /dev/null +++ b/sci-libs/highfive/highfive-3.2.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DOCS_BUILDER="doxygen" +DOCS_DEPEND="app-text/doxygen[dot]" +DOCS_DIR="doc" + +inherit cmake docs + +## The development of HighFive will continue at https://github.com/highfive-devs/highfive +## instead of https://github.com/BlueBrain/HighFive +DESCRIPTION="Header-only C++ interface for libhdf5" +HOMEPAGE="https://highfive-devs.github.io/highfive/" +SRC_URI="https://github.com/${PN}-devs/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="amd64 ~x86" +IUSE="mpi test" +RESTRICT="!test? ( test )" + +RDEPEND=" + sci-libs/hdf5[mpi?] +" +DEPEND=" + ${RDEPEND} + test? ( + >=dev-cpp/catch-3.4.0:0 + dev-libs/boost + dev-cpp/eigen:= + media-libs/opencv + ) +" + +DOCS=( {README,CHANGELOG}.md ) + +PATCHES="${FILESDIR}/${P}_use_system_catch2_fix_QA_cmake4_warning.patch" + +src_configure() { + default + local mycmakeargs=( + -DHDF5_IS_PARALLEL=$(usex mpi) + + -DHIGHFIVE_TEST_BOOST=$(usex test) + -DHIGHFIVE_TEST_EIGEN=$(usex test) + -DHIGHFIVE_TEST_OPENCV=$(usex test) + -DHIGHFIVE_TEST_XTENSOR=OFF + + -DHIGHFIVE_EXAMPLES=$(usex test) + -DHIGHFIVE_UNIT_TESTS=$(usex test) + ) + cmake_src_configure +} + +src_compile() { + default + use test && cmake_src_compile + use doc && doxygen_compile +} + +src_test() { + # Set -j1 to prevent race + cmake_src_test -j1 +} diff --git a/sci-libs/highfive/metadata.xml b/sci-libs/highfive/metadata.xml new file mode 100644 index 000000000000..73db005e5b3e --- /dev/null +++ b/sci-libs/highfive/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>torokhov-s-a@yandex.ru</email> + <name>Sergey Torokhov</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <origin>baldeagleos-repo</origin> +</pkgmetadata> |
