diff options
author | Sam James <sam@gentoo.org> | 2024-09-07 22:36:01 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-08 19:21:07 +0100 |
commit | d0de5b6183e3962765c0b808ff527f3d8d7e81fd (patch) | |
tree | 93ef45103297464b7deac878432c0fdd6cadd91b /eclass/desktop.eclass | |
parent | depend.apache.eclass: add global-scope ewarn for deprecated < EAPI 7 (diff) | |
download | gentoo-d0de5b6183e3962765c0b808ff527f3d8d7e81fd.tar.gz gentoo-d0de5b6183e3962765c0b808ff527f3d8d7e81fd.tar.bz2 gentoo-d0de5b6183e3962765c0b808ff527f3d8d7e81fd.zip |
desktop.eclass: add global-scope ewarn for deprecated < EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/desktop.eclass')
-rw-r--r-- | eclass/desktop.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/desktop.eclass b/eclass/desktop.eclass index 780971342ba1..144514c8f7c2 100644 --- a/eclass/desktop.eclass +++ b/eclass/desktop.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: desktop.eclass @@ -8,7 +8,11 @@ # @BLURB: support for desktop files, menus, and icons case ${EAPI} in - 6|7|8) ;; + 6) + ewarn "${CATEGORY}/${PF}: ebuild uses ${ECLASS} with deprecated EAPI ${EAPI}!" + ewarn "${CATEGORY}/${PF}: Support will be removed on 2024-10-08. Please port to newer EAPI." + ;; + 7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac |