1 |
commit: bef484b5b6d9df5c3fd756e7205616d4e7f22464 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 23 06:55:37 2021 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 23 06:55:47 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef484b5 |
7 |
|
8 |
dev-util/diffoscope: pull in media-libs/libcaca for optional tests |
9 |
|
10 |
The change does not fix tests, but exposes test failures consistently. |
11 |
|
12 |
Reported-by: Jonathan Lovelace |
13 |
Bug: https://bugs.gentoo.org/797688 |
14 |
Package-Manager: Portage-3.0.20, Repoman-3.0.3 |
15 |
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> |
16 |
|
17 |
dev-util/diffoscope/diffoscope-177.ebuild | 11 +++++++++-- |
18 |
1 file changed, 9 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/dev-util/diffoscope/diffoscope-177.ebuild b/dev-util/diffoscope/diffoscope-177.ebuild |
21 |
index 9ae8834c67c..e8afaa4711f 100644 |
22 |
--- a/dev-util/diffoscope/diffoscope-177.ebuild |
23 |
+++ b/dev-util/diffoscope/diffoscope-177.ebuild |
24 |
@@ -19,9 +19,16 @@ KEYWORDS="~amd64 ~ppc64 ~x86" |
25 |
IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file |
26 |
find gettext gif gpg gzip haskell hdf5 hex imagemagick iso java llvm |
27 |
mono opendocument pascal pdf postscript R rpm sqlite squashfs |
28 |
-ssh tar tcpdump xz zip zstd" |
29 |
+ssh tar test tcpdump xz zip zstd" |
30 |
|
31 |
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
32 |
+RESTRICT="!test? ( test )" |
33 |
+ |
34 |
+# pull in optional tools for tests: |
35 |
+# img2txt: bug #797688 |
36 |
+DEPEND=" |
37 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
38 |
+ test? ( media-libs/libcaca ) |
39 |
+" |
40 |
RDEPEND="dev-python/python-magic[${PYTHON_USEDEP}] |
41 |
dev-python/libarchive-c[${PYTHON_USEDEP}] |
42 |
dev-python/distro[${PYTHON_USEDEP}] |