commit:     4e3ad3d248fb463e8ff78f986f37a12989092ba2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  5 07:10:16 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Apr  5 07:11:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e3ad3d2

dev-python/gfloat: Add missing test dependencies

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

 dev-python/gfloat/gfloat-0.4.ebuild | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/dev-python/gfloat/gfloat-0.4.ebuild 
b/dev-python/gfloat/gfloat-0.4.ebuild
index b1d0e265bf4b..5c55c61d9f1d 100644
--- a/dev-python/gfloat/gfloat-0.4.ebuild
+++ b/dev-python/gfloat/gfloat-0.4.ebuild
@@ -25,11 +25,16 @@ RDEPEND="
 "
 BDEPEND="
        test? (
+               dev-python/matplotlib[${PYTHON_USEDEP}]
                dev-python/ml-dtypes[${PYTHON_USEDEP}]
                dev-python/tabulate[${PYTHON_USEDEP}]
                test-rust? (
                        dev-python/nbval[${PYTHON_USEDEP}]
                )
+               !arm? (
+                       dev-python/jinja2[${PYTHON_USEDEP}]
+                       dev-python/pandas[${PYTHON_USEDEP}]
+               )
        )
 "
 
@@ -45,6 +50,14 @@ python_test() {
                test/test_microxcaling.py
        )
 
+       if ! has_version "dev-python/jinja2[${PYTHON_USEDEP}]" ||
+               ! has_version "dev-python/pandas[${PYTHON_USEDEP}]"
+       then
+               EPYTEST_IGNORE+=(
+                       docs/source
+               )
+       fi
+
        local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
        if has_version "dev-python/nbval[${PYTHON_USEDEP}]"; then
                epytest -p nbval

Reply via email to