commit: 0c135c9ccbd598cc0cd1c04643d87cf9c8b8194e
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat May 24 22:00:45 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat May 24 22:00:45 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c135c9c
sci-libs/eccodes: define phases in execution order
Signed-off-by: Sam James <sam <AT> gentoo.org>
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 912fdbc8b3be..c014e934926b 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
-}