From ce442037f69c734d176e0480a06ccc47532cf384 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 16 Aug 2023 21:12:06 +0100 Subject: dev-python/matplotlib: skip a test on 32-bit Too large. Bug: https://bugs.gentoo.org/754324 Bug: https://bugs.gentoo.org/859499 Signed-off-by: Sam James --- dev-python/matplotlib/matplotlib-3.7.2.ebuild | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'dev-python/matplotlib/matplotlib-3.7.2.ebuild') diff --git a/dev-python/matplotlib/matplotlib-3.7.2.ebuild b/dev-python/matplotlib/matplotlib-3.7.2.ebuild index 0590c8818ea7..7406ac29a074 100644 --- a/dev-python/matplotlib/matplotlib-3.7.2.ebuild +++ b/dev-python/matplotlib/matplotlib-3.7.2.ebuild @@ -254,12 +254,24 @@ python_test() { # unhappy about xdist tests/test_widgets.py::test_span_selector_animated_artists_callback ) + [[ ${EPYTHON} == python3.11 ]] && EPYTEST_DESELECT+=( # https://github.com/matplotlib/matplotlib/issues/23384 "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtagg', 'QT_API': 'PyQt5'}]" "tests/test_backends_interactive.py::test_figure_leak_20490[time_mem1-{'MPLBACKEND': 'qtcairo', 'QT_API': 'PyQt5'}]" ) + case "${ABI}" in + alpha|arm|hppa|m68k|o32|ppc|s390|sh|sparc|x86) + EPYTEST_DESELECT+=( + # too large for 32-bit platforms + 'tests/test_axes.py::test_psd_csd[png]' + ) + ;; + *) + ;; + esac + # we need to rebuild mpl against bundled freetype, otherwise # over 1000 tests will fail because of mismatched font rendering grep -v system_freetype "${BUILD_DIR}"/setup.cfg \ -- cgit v1.2.3