dev-ruby/mini_magick: add ruby26
authorHans de Graaff <graaff@gentoo.org>
Sat, 4 May 2019 18:54:33 +0000 (20:54 +0200)
committerHans de Graaff <graaff@gentoo.org>
Sat, 4 May 2019 19:14:45 +0000 (21:14 +0200)
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11

dev-ruby/mini_magick/mini_magick-4.9.3.ebuild

index 719b20c834f7133cf57fdf1831d83e19ff2e5903..33f0ef57dcb9f388a093bacf3be1ab3dce5baacf 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-USE_RUBY="ruby23 ruby24 ruby25"
+USE_RUBY="ruby23 ruby24 ruby25 ruby26"
 
 RUBY_FAKEGEM_RECIPE_TEST="rspec3"
 RUBY_FAKEGEM_RECIPE_DOC="rdoc"
@@ -31,7 +31,7 @@ IUSE=""
 RDEPEND+=" media-gfx/imagemagick"
 DEPEND+=" test? ( virtual/imagemagick-tools[jpeg,png,tiff] )"
 
-USE_RUBY="ruby23 ruby24 ruby25" ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/posix-spawn dev-ruby/webmock )"
+ruby_add_bdepend "test? ( dev-ruby/mocha dev-ruby/posix-spawn dev-ruby/webmock )"
 
 all_ruby_prepare() {
        # remove executable bit from all files
@@ -57,14 +57,3 @@ all_ruby_prepare() {
        sed -i -e '/identifies when gm exists/,/^    end/ s:^:#:' spec/lib/mini_magick/utilities_spec.rb || die
        sed -i -e '/returns GraphicsMagick/,/^    end/ s:^:#:' spec/lib/mini_magick_spec.rb || die
 }
-
-each_ruby_test() {
-       case ${RUBY} in
-               *ruby23|*ruby24|*ruby25)
-                       each_fakegem_test
-                       ;;
-               *)
-                       einfo "Skipping tests due to circular dependencies with Rails"
-                       ;;
-       esac
-}