diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-07-15 08:06:20 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-07-18 07:41:06 +0200 |
commit | d41f1906f9a23ad65d9387ba80243fa4e237b295 (patch) | |
tree | 1f18dcaed2be734dffcc5656fdaef1df846a26bd /eclass/ruby-fakegem.eclass | |
parent | eclass/ruby-ng.eclass: add EAPI 8 support (diff) | |
download | gentoo-d41f1906f9a23ad65d9387ba80243fa4e237b295.tar.gz gentoo-d41f1906f9a23ad65d9387ba80243fa4e237b295.tar.bz2 gentoo-d41f1906f9a23ad65d9387ba80243fa4e237b295.zip |
eclass/ruby-fakegem.eclass: add EAPI 8 support
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'eclass/ruby-fakegem.eclass')
-rw-r--r-- | eclass/ruby-fakegem.eclass | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index 9b2fd39ccf14..34eeff2fad96 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass @@ -8,7 +8,7 @@ # Author: Diego E. Pettenò <flameeyes@gentoo.org> # Author: Alex Legler <a3li@gentoo.org> # Author: Hans de Graaff <graaff@gentoo.org> -# @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:-}" |