Skip to content

Commit

Permalink
eclass/ruby-fakegem.eclass: add EAPI 8 support
Browse files Browse the repository at this point in the history
Signed-off-by: Hans de Graaff <[email protected]>
  • Loading branch information
graaff committed Jul 18, 2021
1 parent 591579a commit d41f190
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions eclass/ruby-fakegem.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down Expand Up @@ -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:-}"


Expand Down

0 comments on commit d41f190

Please sign in to comment.