commit: e8fa9a3954917c2fefdd1ff2e8633265e7fd9e34 Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Thu Jul 15 06:24:26 2021 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Jul 18 05:41:07 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8fa9a39
eclass/ruby-fakegem.eclass: remove EAPI 4 support Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> eclass/ruby-fakegem.eclass | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass index 34eeff2fad9..76a80f6b9be 100644 --- a/eclass/ruby-fakegem.eclass +++ b/eclass/ruby-fakegem.eclass @@ -60,7 +60,7 @@ RUBY_FAKEGEM_TASK_TEST="${RUBY_FAKEGEM_TASK_TEST-test}" # - yard (calls `yard`, adds dev-ruby/yard to the dependencies); # - none case ${EAPI} in - 4|5|6) + 5|6) RUBY_FAKEGEM_RECIPE_DOC="${RUBY_FAKEGEM_RECIPE_DOC-rake}" ;; *) @@ -130,7 +130,7 @@ RUBY_FAKEGEM_BINDIR="${RUBY_FAKEGEM_BINDIR-bin}" RUBY_FAKEGEM_EXTENSION_LIBDIR="${RUBY_FAKEGEM_EXTENSION_LIBDIR-lib}" case ${EAPI} in - 4|5|6|7|8) ;; + 5|6|7|8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -197,7 +197,7 @@ SRC_URI="https://rubygems.org/gems/${RUBY_FAKEGEM_NAME}-${RUBY_FAKEGEM_VERSION}$ ruby_add_bdepend "virtual/rubygems !!dev-ruby/psych" ruby_add_rdepend virtual/rubygems case ${EAPI} in - 4|5|6) + 5|6) ;; *) ruby_add_depend virtual/rubygems @@ -312,7 +312,7 @@ ruby_fakegem_metadata_gemspec() { # See RUBY_FAKEGEM_REQUIRE_PATHS for setting extra require paths. ruby_fakegem_genspec() { case ${EAPI} in - 4|5|6) ;; + 5|6) ;; *) eqawarn "Generating generic fallback gemspec *without* dependencies" eqawarn "This will only work when there are no runtime dependencies"