summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-06-23 07:55:37 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-06-23 07:55:47 +0100
commitbef484b5b6d9df5c3fd756e7205616d4e7f22464 (patch)
tree1627761366973ee117b45f9f26dffb2b38669ff9 /dev-util/diffoscope
parentprofiles/package.mask: drop mask for removed app-admin/diamond (diff)
downloadgentoo-bef484b5b6d9df5c3fd756e7205616d4e7f22464.tar.gz
gentoo-bef484b5b6d9df5c3fd756e7205616d4e7f22464.tar.bz2
gentoo-bef484b5b6d9df5c3fd756e7205616d4e7f22464.zip
dev-util/diffoscope: pull in media-libs/libcaca for optional tests
The change does not fix tests, but exposes test failures consistently. Reported-by: Jonathan Lovelace Bug: https://bugs.gentoo.org/797688 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'dev-util/diffoscope')
-rw-r--r--dev-util/diffoscope/diffoscope-177.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/dev-util/diffoscope/diffoscope-177.ebuild b/dev-util/diffoscope/diffoscope-177.ebuild
index 9ae8834c67c7..e8afaa4711f2 100644
--- a/dev-util/diffoscope/diffoscope-177.ebuild
+++ b/dev-util/diffoscope/diffoscope-177.ebuild
@@ -19,9 +19,16 @@ KEYWORDS="~amd64 ~ppc64 ~x86"
IUSE="acl binutils bzip2 libcaca colord cpio +diff docx dtc e2fsprogs file
find gettext gif gpg gzip haskell hdf5 hex imagemagick iso java llvm
mono opendocument pascal pdf postscript R rpm sqlite squashfs
-ssh tar tcpdump xz zip zstd"
+ssh tar test tcpdump xz zip zstd"
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RESTRICT="!test? ( test )"
+
+# pull in optional tools for tests:
+# img2txt: bug #797688
+DEPEND="
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ test? ( media-libs/libcaca )
+"
RDEPEND="dev-python/python-magic[${PYTHON_USEDEP}]
dev-python/libarchive-c[${PYTHON_USEDEP}]
dev-python/distro[${PYTHON_USEDEP}]