diff options
author | Sam James <sam@gentoo.org> | 2024-09-07 22:38:17 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-09-08 19:21:19 +0100 |
commit | cf14792ae9471b1d95ee93ecc5de35922654e5cc (patch) | |
tree | 838b94922a68c5f23b7d91dfc8a4e95f38552114 /eclass | |
parent | ruby-fakegem.eclass: add global-scope ewarn for deprecated < EAPI 7 (diff) | |
download | gentoo-cf14792ae9471b1d95ee93ecc5de35922654e5cc.tar.gz gentoo-cf14792ae9471b1d95ee93ecc5de35922654e5cc.tar.bz2 gentoo-cf14792ae9471b1d95ee93ecc5de35922654e5cc.zip |
ruby-ng.eclass: add global-scope ewarn for deprecated < EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ruby-ng.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index d80ae96dd40b..2ef6d2247435 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.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: ruby-ng.eclass @@ -67,7 +67,11 @@ # passed to "grep -E" to remove reporting of these shared objects. 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 |