commit:     7c5bcb38914a28a486e2af98b478909cae1d926f
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  6 05:57:17 2020 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sat Jun  6 08:03:51 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c5bcb38

dev-ruby/sparklines: fix dependencies

Ensure that imagemagick has PNG support.

Closes: https://bugs.gentoo.org/724046
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild 
b/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild
index b8b458e5a45..e54ab7d476c 100644
--- a/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild
+++ b/dev-ruby/sparklines/sparklines-0.5.2-r6.ebuild
@@ -18,7 +18,9 @@ SLOT="0"
 KEYWORDS="amd64 x86 ~x86-macos"
 IUSE=""
 
-RDEPEND="dev-ruby/rmagick:*"
+DEPEND+="test? ( media-gfx/imagemagick[png] )"
+
+ruby_add_rdepend "dev-ruby/rmagick:*"
 
 ruby_add_bdepend test "dev-ruby/tidy_table dev-ruby/dust"
 

Reply via email to