commit: 3cb8cca70e5cdb8a072b695e885423c36d5c7ede Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Tue Sep 9 19:29:50 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Tue Sep 9 20:52:40 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cb8cca7
sci-physics/espresso: rm unused CMakeList.txt false positive for cmake4 The h5xx project is header-only C++ wrappers for hdf5. It is included as a submodule in order to pass the submodule via target_include_directories() in the main project; the submodule's own CMakeLists.txt is never processed at all. Closes: https://bugs.gentoo.org/962537 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> sci-physics/espresso/espresso-4.2.2.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sci-physics/espresso/espresso-4.2.2.ebuild b/sci-physics/espresso/espresso-4.2.2.ebuild index 29083159233b..2cf9fe0854aa 100644 --- a/sci-physics/espresso/espresso-4.2.2.ebuild +++ b/sci-physics/espresso/espresso-4.2.2.ebuild @@ -63,6 +63,14 @@ PATCHES=( "${FILESDIR}"/${P}-numpy-2.x.patch ) +src_unpack() { + default + + # vendored, cmake4 false positive. Used solely as a directory of *.hpp + rm "${S}"/libs/h5xx/CMakeLists.txt || die + rm -r "${S}"/libs/h5xx/example || die +} + src_prepare() { use cuda && cuda_src_prepare cmake_src_prepare
