summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2021-07-15 08:24:26 +0200
committerHans de Graaff <graaff@gentoo.org>2021-07-18 07:41:07 +0200
commite8fa9a3954917c2fefdd1ff2e8633265e7fd9e34 (patch)
treeaa3da0326fdead12806a3303a0eb6c01312867c8 /eclass/ruby-fakegem.eclass
parenteclass/ruby-ng.eclass: remove EAPI 4 support (diff)
downloadgentoo-e8fa9a3954917c2fefdd1ff2e8633265e7fd9e34.tar.gz
gentoo-e8fa9a3954917c2fefdd1ff2e8633265e7fd9e34.tar.bz2
gentoo-e8fa9a3954917c2fefdd1ff2e8633265e7fd9e34.zip
eclass/ruby-fakegem.eclass: remove EAPI 4 support
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Diffstat (limited to 'eclass/ruby-fakegem.eclass')
-rw-r--r--eclass/ruby-fakegem.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/ruby-fakegem.eclass b/eclass/ruby-fakegem.eclass
index 34eeff2fad96..76a80f6b9be2 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"