commit:     4f68a8ddea4485cea2d1cd54a04ab211f5babd49
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 23 07:56:28 2021 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Wed Jun 23 07:56:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f68a8dd

dev-util/diffoscope:  disable docx2txt tests

Reported-by: Jonathan Lovelace
Closes: 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 | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-util/diffoscope/diffoscope-177.ebuild 
b/dev-util/diffoscope/diffoscope-177.ebuild
index a77716a3fd7..6b1e9ecce52 100644
--- a/dev-util/diffoscope/diffoscope-177.ebuild
+++ b/dev-util/diffoscope/diffoscope-177.ebuild
@@ -25,9 +25,13 @@ RESTRICT="!test? ( test )"
 
 # pull in optional tools for tests:
 # img2txt: bug #797688
+# docx2txt: bug #797688
 DEPEND="
        dev-python/setuptools[${PYTHON_USEDEP}]
-       test? ( media-libs/libcaca )
+       test? (
+               app-text/docx2txt
+               media-libs/libcaca
+       )
 "
 RDEPEND="dev-python/python-magic[${PYTHON_USEDEP}]
        dev-python/libarchive-c[${PYTHON_USEDEP}]
@@ -101,6 +105,9 @@ python_test() {
                tests/comparators/test_jpeg_image.py::test_compare_non_existing
                tests/comparators/test_jpeg_image.py::test_diff_meta
                tests/comparators/test_jpeg_image.py::test_has_visuals
+
+               # docx2txt based falures, bug #797688
+               tests/comparators/test_docx.py::test_diff
        )
        epytest ${exclude[@]/#/--deselect }
 }

Reply via email to