diff options
| author | Andreas Sturmlechner <asturm@gentoo.org> | 2025-10-30 10:18:54 +0100 |
|---|---|---|
| committer | Andreas Sturmlechner <asturm@gentoo.org> | 2025-10-30 11:17:44 +0100 |
| commit | 4c5963673a3033979a57c10215257ed4a35751ab (patch) | |
| tree | fad4d7fd86bafb234355cc09fda1a79441b1c268 /eclass | |
| parent | d43843594b9d8d67e349f7cc54a6911a9bd2067a (diff) | |
| download | kde-4c5963673a3033979a57c10215257ed4a35751ab.tar.gz kde-4c5963673a3033979a57c10215257ed4a35751ab.tar.bz2 kde-4c5963673a3033979a57c10215257ed4a35751ab.zip | |
cmake.eclass: add global-scope ewarn for deprecated < EAPI 7
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'eclass')
| -rw-r--r-- | eclass/cmake.eclass | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/cmake.eclass b/eclass/cmake.eclass index faf9f805bae..d187fc0649c 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 @@ -549,7 +553,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 |
