dev-python/gfloat: Add missing test dependencies

Closes: https://bugs.gentoo.org/953125
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-04-05 09:10:16 +02:00
parent 0f1a2cad0a
commit 4e3ad3d248

View File

@@ -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