summaryrefslogtreecommitdiff
path: root/dev-python/matplotlib/matplotlib-3.2.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/matplotlib/matplotlib-3.2.1.ebuild')
-rw-r--r--dev-python/matplotlib/matplotlib-3.2.1.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-python/matplotlib/matplotlib-3.2.1.ebuild b/dev-python/matplotlib/matplotlib-3.2.1.ebuild
index 73d88adfdbe7..4f734e5cc240 100644
--- a/dev-python/matplotlib/matplotlib-3.2.1.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.2.1.ebuild
@@ -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