diff options
| author | Sam James <sam@gentoo.org> | 2024-09-07 22:38:14 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-09-08 19:21:19 +0100 |
| commit | 8e4a8408904a21168ed94c8ca7b7320c265e66ee (patch) | |
| tree | cda7d94c2bcb70309c001097f8a59c86cf45972a /eclass/ruby-fakegem.eclass | |
| parent | 1a99e837bd683a50583c7a6a83bae5ad918cec74 (diff) | |
| download | gentoo-8e4a8408904a21168ed94c8ca7b7320c265e66ee.tar.gz gentoo-8e4a8408904a21168ed94c8ca7b7320c265e66ee.tar.bz2 gentoo-8e4a8408904a21168ed94c8ca7b7320c265e66ee.zip | |
ruby-fakegem.eclass: add global-scope ewarn for deprecated < EAPI 7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/ruby-fakegem.eclass')
| -rw-r--r-- | eclass/ruby-fakegem.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index 40ff76ce900e..04099a82ef4f 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.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-fakegem.eclass @@ -139,7 +139,11 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}" RUBY_FAKEGEM_EXTENSION_LIBDIR="${RUBY_FAKEGEM_EXTENSION_LIBDIR-lib}" case ${EAPI} in - 5|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 |
