diff --git a/pyparsing-workaround-setName.patch b/pyparsing-workaround-setName.patch new file mode 100644 index 0000000..ce8bb6d --- /dev/null +++ b/pyparsing-workaround-setName.patch @@ -0,0 +1,13 @@ +Index: matplotlib-3.6.3/lib/matplotlib/_mathtext.py +=================================================================== +--- matplotlib-3.6.3.orig/lib/matplotlib/_mathtext.py ++++ matplotlib-3.6.3/lib/matplotlib/_mathtext.py +@@ -1794,7 +1794,7 @@ class Parser: + for key, val in vars(p).items(): + if not key.startswith('_'): + # Set names on everything -- very useful for debugging +- val.setName(key) ++ #val.setName(key) + # Set actions + if hasattr(self, key): + val.setParseAction(getattr(self, key)) diff --git a/python-matplotlib.changes b/python-matplotlib.changes index f89f465..ec52219 100644 --- a/python-matplotlib.changes +++ b/python-matplotlib.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jul 11 11:10:04 UTC 2023 - Markéta Machová + +- add pyparsing-workaround-setName.patch as a part of a workaround + for boo#1213007 + * it changes the behaviour for the debugging purposes, the laic + end user shouldn't notice + ------------------------------------------------------------------- Mon May 8 06:08:18 UTC 2023 - Johannes Kastl diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 8198576..dd6230f 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -39,6 +39,8 @@ Source1: matplotlib-mplsetup.cfg # Bundled version of freetype and qhull for testing purposes only Source98: http://www.qhull.org/download/qhull-2020-src-8.0.2.tgz Source99: https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz +# PATCH-FIX-OPENSUSE mmachova@suse.com workaround for boo#1213007 suggested in https://github.com/matplotlib/matplotlib/issues/26152#issuecomment-1607594392 +Patch: pyparsing-workaround-setName.patch Recommends: ghostscript Recommends: libxml2-tools Recommends: poppler-tools