From 0a402a7eb06f7d5d3311fcf7d98e67041f6e5072 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 7 Jun 2020 14:06:38 +0200 Subject: dev-python/matplotlib: Fix running tests in virtx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/matplotlib/matplotlib-3.2.1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dev-python/matplotlib/matplotlib-3.2.1.ebuild') 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 -- cgit v1.2.3