From 0b92076142d1fd18fa513b842a491416f1d4e9ab Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Mon, 23 Jan 2023 21:55:35 -0500 Subject: [PATCH] Fix pgf tests with TeXLive 2022 --- .gitignore | 2 ++ python-matplotlib.spec | 5 +++++ sources | 2 ++ 3 files changed, 9 insertions(+) diff --git a/.gitignore b/.gitignore index 02cbd05..63cbb40 100644 --- a/.gitignore +++ b/.gitignore @@ -90,3 +90,5 @@ matplotlib-1.0.0-without-gpc.tar.gz /matplotlib-3.6.1-with-freetype-2.12.1.tar.gz /matplotlib-3.6.2.tar.gz /matplotlib-3.6.3.tar.gz +/pgf_pdflatex.pdf +/pgf_rcupdate2.pdf diff --git a/python-matplotlib.spec b/python-matplotlib.spec index 90ba419..15d2c5e 100644 --- a/python-matplotlib.spec +++ b/python-matplotlib.spec @@ -59,6 +59,9 @@ Patch1003: 0003-Increase-a-few-test-tolerances-on-some-arches.patch # https://github.com/matplotlib/matplotlib/pull/21190#issuecomment-1223271888 Patch0001: 0004-Use-old-stride_windows-implementation-on-32-bit-x86.patch +# https://github.com/matplotlib/matplotlib/pull/25068 +Source2000: pgf_pdflatex.pdf +Source2001: pgf_rcupdate2.pdf BuildRequires: gcc BuildRequires: gcc-c++ @@ -308,6 +311,8 @@ cp -p %{SOURCE1} mplsetup.cfg # Backports or reported upstream %patch0001 -p1 +# https://github.com/matplotlib/matplotlib/pull/25068 +cp -a %SOURCE2000 %SOURCE2001 lib/matplotlib/tests/baseline_images/test_backend_pgf/ %generate_buildrequires diff --git a/sources b/sources index f4bd5fa..5a551fc 100644 --- a/sources +++ b/sources @@ -1,2 +1,4 @@ SHA512 (matplotlib-3.6.3.tar.gz) = 844ca90bcc9953d3d1289a6d471180a3dadb49c75eb59858bbbfb67d4b1292b83b86b366f22ab12d9e97c980376d48b86e745607ec4e812a3010c6fec01398dc SHA512 (matplotlib-3.6.1-with-freetype-2.12.1.tar.gz) = 9210cfe8db2743519188d924dfd5f4ec4a0b5ae589b8a596f5a35b900234fa3a2fe81a047fc486ec69359259685438f4c19bb96a63ca0f544d2f48fbabb1326e +SHA512 (pgf_pdflatex.pdf) = dc81cc2247f54a2aaf9507ce1db556d91170674796b564d32bfb4c23f38effab6543394cb6caee3c29a32639c9d848517b400d1cac8d20f90678367818a62aa1 +SHA512 (pgf_rcupdate2.pdf) = 8c0a71047871a055de01a4f0a90aeda9da27e53338d1e89cb20bd52bc54e40a1180df933de0f27c9116d3e983d03b0c47008bebfcf110cf282f8d1d19c026070