mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-25 08:58:27 -07:00
dev-python/matplotlib: Fix running tests in virtx
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user