diff --git a/python-matplotlib.changes b/python-matplotlib.changes index 23d8042..e8545a2 100644 --- a/python-matplotlib.changes +++ b/python-matplotlib.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu Oct 22 08:59:30 UTC 2020 - Ismail Dönmez + +- Copy updated transparent_markers.pdf from upstream commit + https://github.com/matplotlib/matplotlib/pull/18604 to fix + test failure Ghostscript 9.53 + ------------------------------------------------------------------- Thu Jul 23 09:49:30 UTC 2020 - Benjamin Greiner diff --git a/python-matplotlib.spec b/python-matplotlib.spec index b7beb46..70714c5 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -38,6 +38,8 @@ License: SUSE-Matplotlib URL: https://matplotlib.org Source: https://files.pythonhosted.org/packages/source/m/matplotlib/matplotlib-%{version}.tar.gz Source1: matplotlib-setup.cfg +# Remove after next update +Source2: https://github.com/matplotlib/matplotlib/raw/b9470957c7f440084915a0b6573af3ee2235b941/lib/matplotlib/tests/baseline_images/test_axes/transparent_markers.pdf # Bundled version of freetype for testing purposes only Source99: https://downloads.sourceforge.net/project/freetype/freetype2/2.6.1/freetype-2.6.1.tar.gz Patch0: no-builddir-freetype.patch @@ -225,6 +227,9 @@ find examples lib/matplotlib lib/mpl_toolkits/mplot3d -type f -name "*.py" -exec cp %{SOURCE1} setup.cfg %patch0 -p1 +# Fix test with ghostscript 9.53 +cp %{SOURCE2} lib/matplotlib/tests/baseline_images/test_axes/transparent_markers.pdf + %build %if !%{with test} %python_build diff --git a/transparent_markers.pdf b/transparent_markers.pdf new file mode 100644 index 0000000..73c5349 --- /dev/null +++ b/transparent_markers.pdf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e85b7167311cf140af356447706bb5f0537668e0ee4b6c1be4aaf18bf46e6248 +size 2218