commit:     803ac634aa5efda90491c0d9aab1b86dccd0aee8
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 25 13:55:16 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Apr 25 14:33:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803ac634

dev-python/imageio: Fix test failures

Closes: https://bugs.gentoo.org/930663
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/imageio/imageio-2.34.1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-python/imageio/imageio-2.34.1.ebuild 
b/dev-python/imageio/imageio-2.34.1.ebuild
index b5f636e9f869..75d05d734168 100644
--- a/dev-python/imageio/imageio-2.34.1.ebuild
+++ b/dev-python/imageio/imageio-2.34.1.ebuild
@@ -39,6 +39,10 @@ BDEPEND="
                >=dev-python/imageio-ffmpeg-0.4.9-r1[${PYTHON_USEDEP}]
                dev-python/psutil[${PYTHON_USEDEP}]
                dev-python/tifffile[${PYTHON_USEDEP}]
+               || (
+                       media-video/ffmpeg[openh264]
+                       media-video/ffmpeg[x264]
+               )
        )
 "
 
@@ -90,6 +94,8 @@ python_test() {
                # requires pillow-heif, also possibly Internet
                tests/test_pillow.py::test_avif_remote
                tests/test_pillow.py::test_heif_remote
+               # not important, requires random system libs
+               tests/test_core.py::test_findlib2
        )
 
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1

Reply via email to