1
0

Accepting request 843383 from home:namtrac:branches:devel:languages:python:numeric

- Copy updated transparent_markers.pdf from upstream commit
  https://github.com/matplotlib/matplotlib/pull/18604 to fix
  test failure Ghostscript 9.53

OBS-URL: https://build.opensuse.org/request/show/843383
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=37
This commit is contained in:
Matej Cepl 2020-10-22 13:10:59 +00:00 committed by Git OBS Bridge
parent 866b3b1f81
commit f162894cb6
3 changed files with 15 additions and 0 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Oct 22 08:59:30 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- 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 <code@bnavigator.de>

View File

@ -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

3
transparent_markers.pdf Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e85b7167311cf140af356447706bb5f0537668e0ee4b6c1be4aaf18bf46e6248
size 2218