Accepting request 927122 from home:DocB:branches:devel:languages:python

- version 3.4.3
  Patches removed (in version 3.4.3):
  inkscape11.patch
  0001-FIX-Pillow-asarray-bug.patch
  0002-Dont-modify-arrays-when-masking-values-for-log.patch

OBS-URL: https://build.opensuse.org/request/show/927122
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-matplotlib?expand=0&rev=55
This commit is contained in:
2021-10-25 19:41:21 +00:00
committed by Git OBS Bridge
parent c84b627cee
commit de13a0364d
7 changed files with 14 additions and 131 deletions

View File

@@ -31,7 +31,7 @@ ExclusiveArch: x86_64 aarch64
%bcond_with test
%endif
Name: python-matplotlib%{psuffix}
Version: 3.4.2
Version: 3.4.3
Release: 0
Summary: Plotting Library for Python
License: SUSE-Matplotlib
@@ -41,12 +41,7 @@ Source1: matplotlib-setup.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-UPSTREAM 0001-FIX-Pillow-asarray-bug.patch - Fix from upstream for an error related to asarray
Patch0: 0001-FIX-Pillow-asarray-bug.patch
# PATCH-FIX-UPSTREAM 0002-Dont-modify-arrays-when-masking-values-for-log.patch - Fix from upstream for numpy 1.21.0
Patch1: 0002-Dont-modify-arrays-when-masking-values-for-log.patch
# PATCH-FIX-UPSTREAM https://github.com/matplotlib/matplotlib/commit/73b7abf14c77014ab2436e7691e19cbee5864f4b Fix tests with Inkscape 1.1.
Patch2: inkscape11.patch
BuildRequires: %{python_module Cycler >= 0.10}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module kiwisolver >= 1.0.1}
@@ -251,9 +246,6 @@ for %{name} plotting package
%prep
%setup -q -n matplotlib-%{version}
%patch0 -p1
%patch1 -p1
%patch2 -p1
#copy freetype to the right location, so that matplotlib will not try to download it
mkdir -p ~/.cache/matplotlib/
SHA=($(sha256sum %{SOURCE98}))