commit: d41f1906f9a23ad65d9387ba80243fa4e237b295 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu Jul 15 06:06:20 2021 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Jul 18 05:41:06 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d41f1906
eclass/ruby-fakegem.eclass: add EAPI 8 support Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> eclass/ruby-fakegem.eclass | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index 9b2fd39ccf1..34eeff2fad9 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass @@ -8,7 +8,7 @@ # Author: Diego E. Pettenò <[email protected]> # Author: Alex Legler <[email protected]> # Author: Hans de Graaff <[email protected]> -# @SUPPORTED_EAPIS: 4 5 6 7 +# @SUPPORTED_EAPIS: 4 5 6 7 8 # @BLURB: An eclass for installing Ruby packages to behave like RubyGems. # @DESCRIPTION: # This eclass allows to install arbitrary Ruby libraries (including Gems), @@ -129,17 +129,11 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}" # legacy way to install extensions for a long time. RUBY_FAKEGEM_EXTENSION_LIBDIR="${RUBY_FAKEGEM_EXTENSION_LIBDIR-lib}" -case "${EAPI:-0}" in - 0|1|2|3) - die "Unsupported EAPI=${EAPI} (too old) for ruby-fakegem.eclass" ;; - 4|5|6|7) - ;; - *) - die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" - ;; +case ${EAPI} in + 4|5|6|7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac - RUBY_FAKEGEM_SUFFIX="${RUBY_FAKEGEM_SUFFIX:-}"
