commit: 95e523a1d2d50ede698dd91bf82294c6a2e17ccc
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 30 09:18:54 2025 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Oct 31 23:24:05 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95e523a1
cmake.eclass: add global-scope ewarn for deprecated EAPI 7
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
eclass/cmake.eclass | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass
index 00904be2f1b3..4f1a0ff60615 100644
--- a/eclass/cmake.eclass
+++ b/eclass/cmake.eclass
@@ -19,7 +19,11 @@
# out-of-source builds (default) and in-source builds.
case ${EAPI} in
- 7|8) ;;
+ 7)
+ ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated
EAPI ${EAPI}!"
+ ewarn "${CATEGORY}/${PF}: Support will be removed on
2025-11-14. Please port to newer EAPI."
+ ;;
+ 8) ;;
*) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
esac
@@ -632,7 +636,6 @@ cmake_src_prepare() {
chmod -R a-w "${S}"
fi
_CMAKE_PREPARE_HAS_RUN=1
- eqawarn "QA Notice: cmake.eclass will throw unsupported EAPI=7
error after 2025-11-01."
else
default_src_prepare
cmake_prepare