mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 04:39:07 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user