From 0c135c9ccbd598cc0cd1c04643d87cf9c8b8194e Mon Sep 17 00:00:00 2001 From: Sam James Date: Sat, 24 May 2025 23:00:45 +0100 Subject: [PATCH] sci-libs/eccodes: define phases in execution order Signed-off-by: Sam James --- sci-libs/eccodes/eccodes-2.18.0.ebuild | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/sci-libs/eccodes/eccodes-2.18.0.ebuild b/sci-libs/eccodes/eccodes-2.18.0.ebuild index 912fdbc8b3be8..c014e934926bb 100644 --- a/sci-libs/eccodes/eccodes-2.18.0.ebuild +++ b/sci-libs/eccodes/eccodes-2.18.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -75,6 +75,16 @@ src_configure() { cmake_src_configure } +src_test() { + if use extra-test; then + touch "${WORKDIR}"/data/.downloaded + cp -r "${WORKDIR}"/data/* "${BUILD_DIR}"/data/ + cp "${DISTDIR}"/mercator.grib2 "${BUILD_DIR}"/data/ + fi + + cmake_src_test +} + src_install() { cmake_src_install @@ -85,13 +95,3 @@ src_install() { use python && doins -r examples/python fi } - -src_test() { - if use extra-test; then - touch "${WORKDIR}"/data/.downloaded - cp -r "${WORKDIR}"/data/* "${BUILD_DIR}"/data/ - cp "${DISTDIR}"/mercator.grib2 "${BUILD_DIR}"/data/ - fi - - cmake_src_test -}