From: Hans de Graaff Date: Sat, 2 May 2020 06:53:38 +0000 (+0200) Subject: dev-ruby/rmagick: require webp for tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=701a3eed6fc94f54d6d7dd9f86e1e051705e36c7;p=gentoo.git dev-ruby/rmagick: require webp for tests The tests require imagemagick to be build with webp support. Bug: https://bugs.gentoo.org/720202 Package-Manager: Portage-2.3.89, Repoman-2.3.20 Signed-off-by: Hans de Graaff --- diff --git a/dev-ruby/rmagick/rmagick-3.2.0.ebuild b/dev-ruby/rmagick/rmagick-3.2.0.ebuild index 7773ea1b09e6..1a4c35d736d9 100644 --- a/dev-ruby/rmagick/rmagick-3.2.0.ebuild +++ b/dev-ruby/rmagick/rmagick-3.2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -19,7 +19,7 @@ KEYWORDS="~amd64 ~hppa ppc ppc64 ~x86 ~x86-macos" IUSE="doc" RDEPEND+=" >=media-gfx/imagemagick-6.9.0:= =media-gfx/imagemagick-6*" -DEPEND+=" >=media-gfx/imagemagick-6.9.0:=[jpeg] =media-gfx/imagemagick-6*" +DEPEND+=" test? ( >=media-gfx/imagemagick-6.9.0:=[jpeg,webp] =media-gfx/imagemagick-6* )" ruby_add_bdepend "test? ( dev-ruby/rspec:3 )" diff --git a/dev-ruby/rmagick/rmagick-4.1.2.ebuild b/dev-ruby/rmagick/rmagick-4.1.2.ebuild index 60b8e1d95093..476f721de9cd 100644 --- a/dev-ruby/rmagick/rmagick-4.1.2.ebuild +++ b/dev-ruby/rmagick/rmagick-4.1.2.ebuild @@ -27,7 +27,7 @@ KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~x86-macos" IUSE="doc" RDEPEND+=" >=media-gfx/imagemagick-6.9.0:=" -DEPEND+=" >=media-gfx/imagemagick-6.9.0:=[jpeg]" +DEPEND+=" test? ( >=media-gfx/imagemagick-6.9.0:=[jpeg,webp] )" all_ruby_prepare() { # Avoid unused dependency on rake-compiler. This also avoids an