1 |
commit: 801670c975affc30d78e71197e246e5025eb88fd |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 30 01:24:48 2020 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 30 01:25:02 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=801670c9 |
7 |
|
8 |
dev-ruby/rbpdf: add missing test USE-dependencies. |
9 |
|
10 |
The test suite for rbpdf needs png/jpeg support from the imagemagick |
11 |
command-line tools (run via mini_magick (or rmagick?)) to run "magick |
12 |
identify" on png and jpeg files. Here we add a build-time dependency |
13 |
on that stuff to fix the test failure. |
14 |
|
15 |
Closes: https://bugs.gentoo.org/738784 |
16 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
17 |
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org> |
18 |
|
19 |
dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild | 4 ++++ |
20 |
1 file changed, 4 insertions(+) |
21 |
|
22 |
diff --git a/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild b/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild |
23 |
index 29f175a27c7..bab303c6040 100644 |
24 |
--- a/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild |
25 |
+++ b/dev-ruby/rbpdf/rbpdf-1.20.1-r2.ebuild |
26 |
@@ -31,6 +31,10 @@ ruby_add_rdepend " |
27 |
|| ( dev-ruby/mini_magick dev-ruby/rmagick ) |
28 |
" |
29 |
|
30 |
+# Two of the tests require png/jpeg support in "magick identify", |
31 |
+# see bug 738784. |
32 |
+BDEPEND+=" test? ( virtual/imagemagick-tools[jpeg,png] )" |
33 |
+ |
34 |
all_ruby_prepare() { |
35 |
default |