From 9046bbb237d9b8d2a23bd8067736f80203769d6f Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 31 May 2019 01:44:54 -0400 Subject: [PATCH] Update to 3.1.1 and FreeType 2.10.0. --- .gitignore | 5 + 0001-Force-using-system-qhull.patch | 42 ++--- 0001-Use-packaged-jquery-and-jquery-ui.patch | 14 +- 0001-matplotlibrc-path-search-fix.patch | 64 +++---- ...sion-to-2.10.0-and-update-tolerances.patch | 103 +++++++++++ ...ase-tolerances-for-non-x86_64-arches.patch | 10 +- ...-deprecation-warnings-with-pytest-3..patch | 170 ------------------ ...e-some-tolerances-for-32-bit-systems.patch | 146 +++++++-------- ...e-some-tolerances-for-non-x86-arches.patch | 77 +++----- python-matplotlib.spec | 53 +++--- sources | 4 +- 11 files changed, 297 insertions(+), 391 deletions(-) create mode 100644 0002-Set-FreeType-version-to-2.10.0-and-update-tolerances.patch rename 0002-Increase-tolerances-for-non-x86_64-arches.patch => 0003-Increase-tolerances-for-non-x86_64-arches.patch (87%) delete mode 100644 0004-Avoid-triggering-deprecation-warnings-with-pytest-3..patch rename 0003-Increase-some-tolerances-for-32-bit-systems.patch => 0004-Increase-some-tolerances-for-32-bit-systems.patch (87%) rename 0003-Increase-some-tolerances-for-non-x86-arches.patch => 0004-Increase-some-tolerances-for-non-x86-arches.patch (82%) diff --git a/.gitignore b/.gitignore index 89314bf..190b4b8 100644 --- a/.gitignore +++ b/.gitignore @@ -36,3 +36,8 @@ matplotlib-1.0.0-without-gpc.tar.gz /matplotlib-3.0.1-with-freetype-2.9.1.tar.gz /matplotlib-3.0.2.tar.gz /matplotlib-3.0.3.tar.gz +/matplotlib-3.1.0rc1.tar.gz +/matplotlib-3.1.0.tar.gz +/matplotlib-3.1.0-with-freetype-2.10.0.tar.gz +/matplotlib-3.1.1.tar.gz +/matplotlib-3.1.1-with-freetype-2.10.0.tar.gz diff --git a/0001-Force-using-system-qhull.patch b/0001-Force-using-system-qhull.patch index d8079bc..23c6c8d 100644 --- a/0001-Force-using-system-qhull.patch +++ b/0001-Force-using-system-qhull.patch @@ -1,43 +1,37 @@ -From 46361ca058295e3f08d3c54196d990c497834306 Mon Sep 17 00:00:00 2001 +From ee5c28ea8cd17cbc04d5a9b79d5ce1326df93466 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 30 Mar 2018 03:15:51 -0400 Subject: [PATCH] Force using system qhull. Signed-off-by: Elliott Sales de Andrade --- - setupext.py | 17 ++--------------- - 1 file changed, 2 insertions(+), 15 deletions(-) + setupext.py | 12 +++++------- + 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/setupext.py b/setupext.py -index d2ff239ad..30e0c9085 100644 +index 3e8b382cc..66a278b0c 100644 --- a/setupext.py +++ b/setupext.py -@@ -1318,23 +1318,10 @@ class Qhull(SetupPackage): +@@ -838,14 +838,12 @@ class Png(SetupPackage): + class Qhull(SetupPackage): + name = "qhull" - def check(self): - self.__class__.found_external = True -- try: -- return self._check_for_pkg_config( -- 'libqhull', 'libqhull/qhull_a.h', min_version='2015.2') -- except CheckFailed as e: -- self.__class__.found_pkgconfig = False -- self.__class__.found_external = False -- return str(e) + ' Using local copy.' ++ def check(self): ++ self.__class__.found_external = True + return ' Using system copy.' - ++ def add_flags(self, ext): -- if self.found_external: -- pkg_config.setup_extension(ext, 'qhull', -- default_libraries=['qhull']) -- else: -- ext.include_dirs.insert(0, 'extern') -- ext.sources.extend(sorted(glob.glob('extern/libqhull/*.c'))) -- if sysconfig.get_config_var('LIBM') == '-lm': -- ext.libraries.extend('m') +- # Qhull doesn't distribute pkg-config info, so we have no way of +- # knowing whether a system install is recent enough. Thus, always use +- # the vendored version. +- ext.include_dirs.insert(0, 'extern') +- ext.sources.extend(sorted(glob.glob('extern/libqhull/*.c'))) +- if sysconfig.get_config_var('LIBM') == '-lm': +- ext.libraries.extend('m') + ext.libraries.append('qhull') class TTConv(SetupPackage): -- -2.14.3 +2.21.0 diff --git a/0001-Use-packaged-jquery-and-jquery-ui.patch b/0001-Use-packaged-jquery-and-jquery-ui.patch index 1e844a6..be3b8e3 100644 --- a/0001-Use-packaged-jquery-and-jquery-ui.patch +++ b/0001-Use-packaged-jquery-and-jquery-ui.patch @@ -1,4 +1,4 @@ -From fede0d8731c1301720f16e2d46df8275e8ecf9e8 Mon Sep 17 00:00:00 2001 +From a587261dcf6821dd03e1956cc1644a3a7aaa4031 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sat, 2 Mar 2019 18:18:29 -0500 Subject: [PATCH] Use packaged jquery and jquery-ui. @@ -45,19 +45,19 @@ index 4d5a366fb..c11c86618 100644