dev-python/matplotlib: Fix running tests in virtx

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-06-07 14:06:38 +02:00
parent 5ef8d73f6b
commit 0a402a7eb0

View File

@@ -199,7 +199,6 @@ python_configure() {
wrap_setup() {
local MAKEOPTS=-j1
local -x MPLSETUPCFG="${BUILD_DIR}"/setup.cfg
unset DISPLAY
"$@"
}
@@ -219,6 +218,10 @@ python_compile_all() {
fi
}
src_test() {
virtx distutils-r1_src_test
}
python_test() {
# we need to rebuild mpl against bundled freetype, otherwise
# over 1000 tests will fail because of mismatched font rendering