commit: bef484b5b6d9df5c3fd756e7205616d4e7f22464 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Wed Jun 23 06:55:37 2021 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Wed Jun 23 06:55:47 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bef484b5
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 <AT> gentoo.org> dev-util/diffoscope/diffoscope-177.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-util/diffoscope/diffoscope-177.ebuild b/dev-util/diffoscope/diffoscope-177.ebuild index 9ae8834c67c..e8afaa4711f 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}]
