From: Hans de Graaff Date: Sun, 21 Jul 2019 06:23:31 +0000 (+0200) Subject: ruby-ng.eclass: add EAPI 7 support X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=81c58ea6b76e62aa94cf23603024a5c6f8e6a3a1;p=gentoo.git ruby-ng.eclass: add EAPI 7 support Signed-off-by: Hans de Graaff --- diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass index 8dc3e1661252..c2a09585d8ef 100644 --- a/eclass/ruby-ng.eclass +++ b/eclass/ruby-ng.eclass @@ -8,7 +8,7 @@ # Author: Diego E. Pettenò # Author: Alex Legler # Author: Hans de Graaff -# @SUPPORTED_EAPIS: 4 5 6 +# @SUPPORTED_EAPIS: 4 5 6 7 # @BLURB: An eclass for installing Ruby packages with proper support for multiple Ruby slots. # @DESCRIPTION: # The Ruby eclass is designed to allow an easier installation of Ruby packages @@ -83,7 +83,7 @@ EXPORT_FUNCTIONS src_unpack src_prepare src_configure src_compile src_test src_i case ${EAPI} in 0|1|2|3) die "Unsupported EAPI=${EAPI} (too old) for ruby-ng.eclass" ;; - 4|5|6) + 4|5|6|7) # S is no longer automatically assigned when it doesn't exist. S="${WORKDIR}" ;; @@ -283,7 +283,7 @@ ruby_get_use_targets() { # confuse this function with ruby_implementation_depend(). # # @EXAMPLE: -# EAPI=6 +# EAPI=7 # RUBY_OPTIONAL=yes # # inherit ruby-ng