commit:     e85d8b4b561139b29438c13775f993292d032376
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 16 21:23:44 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 16 21:23:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e85d8b4b

dev-python/matplotlib: add more baseline fails for hppa

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-python/matplotlib/matplotlib-3.7.1.ebuild | 14 ++++++++++++++
 dev-python/matplotlib/matplotlib-3.7.2.ebuild | 14 ++++++++++++++
 2 files changed, 28 insertions(+)

diff --git a/dev-python/matplotlib/matplotlib-3.7.1.ebuild 
b/dev-python/matplotlib/matplotlib-3.7.1.ebuild
index 6a3b7310439d..135d1b285cf8 100644
--- a/dev-python/matplotlib/matplotlib-3.7.1.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.7.1.ebuild
@@ -267,6 +267,20 @@ python_test() {
                        ;;
        esac
 
+       if use hppa ; then
+               EPYTEST_IGNORE+=(
+                       tests/test_mathtext.py
+               )
+
+               EPYTEST_DESELECT+=(
+                       'tests/test_quiver.py::test_barbs[png]'
+                       'tests/test_quiver.py::test_barbs_pivot[png]'
+                       'tests/test_quiver.py::test_barbs_flip[png]'
+                       'tests/test_text.py::test_parse_math'
+                       'tests/test_text.py::test_parse_math_rcparams'
+               )
+       fi
+
        # 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 \

diff --git a/dev-python/matplotlib/matplotlib-3.7.2.ebuild 
b/dev-python/matplotlib/matplotlib-3.7.2.ebuild
index 7406ac29a074..f6e948e0c338 100644
--- a/dev-python/matplotlib/matplotlib-3.7.2.ebuild
+++ b/dev-python/matplotlib/matplotlib-3.7.2.ebuild
@@ -272,6 +272,20 @@ python_test() {
                        ;;
        esac
 
+       if use hppa ; then
+               EPYTEST_IGNORE+=(
+                       tests/test_mathtext.py
+               )
+
+               EPYTEST_DESELECT+=(
+                       'tests/test_quiver.py::test_barbs[png]'
+                       'tests/test_quiver.py::test_barbs_pivot[png]'
+                       'tests/test_quiver.py::test_barbs_flip[png]'
+                       'tests/test_text.py::test_parse_math'
+                       'tests/test_text.py::test_parse_math_rcparams'
+               )
+       fi
+
        # 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 \

Reply via email to