sci-libs/eccodes: define phases in execution order

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-24 23:00:45 +01:00
parent d81e3cdd0e
commit 0c135c9ccb

View File

@@ -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
}