summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Orlitzky <mjo@gentoo.org>2020-08-29 21:24:48 -0400
committerMichael Orlitzky <mjo@gentoo.org>2020-08-29 21:25:02 -0400
commit801670c975affc30d78e71197e246e5025eb88fd (patch)
tree49923c31746d0cd1a29508bc86db2249f0d3e11c
parentsys-power/nut: Stabilize 2.7.4-r6 ppc, #735498 (diff)
downloadgentoo-801670c975affc30d78e71197e246e5025eb88fd.tar.gz
gentoo-801670c975affc30d78e71197e246e5025eb88fd.tar.bz2
gentoo-801670c975affc30d78e71197e246e5025eb88fd.zip
dev-ruby/rbpdf: add missing test USE-dependencies.
The test suite for rbpdf needs png/jpeg support from the imagemagick command-line tools (run via mini_magick (or rmagick?)) to run "magick identify" on png and jpeg files. Here we add a build-time dependency on that stuff to fix the test failure. Closes: https://bugs.gentoo.org/738784 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
-rw-r--r--dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild b/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild
index 29f175a27c75..bab303c60402 100644
--- a/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild
+++ b/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild
@@ -31,6 +31,10 @@ ruby_add_rdepend "
|| ( dev-ruby/mini_magick dev-ruby/rmagick )
"
+# Two of the tests require png/jpeg support in "magick identify",
+# see bug 738784.
+BDEPEND+=" test? ( virtual/imagemagick-tools[jpeg,png] )"
+
all_ruby_prepare() {
default