From ce280560f4d99062de5ef2ffe42896b7c0e85a72 Mon Sep 17 00:00:00 2001 From: chengzihan2 Date: Fri, 19 Feb 2021 15:17:08 +0800 Subject: [PATCH 1/2] remove python2 dependency --- 0001-Use-packaged-jquery-and-jquery-ui.patch | 116 +++++++++++++++ python-matplotlib.spec | 144 ++----------------- python-matplotlib.yaml | 4 + 3 files changed, 132 insertions(+), 132 deletions(-) create mode 100644 0001-Use-packaged-jquery-and-jquery-ui.patch create mode 100644 python-matplotlib.yaml diff --git a/0001-Use-packaged-jquery-and-jquery-ui.patch b/0001-Use-packaged-jquery-and-jquery-ui.patch new file mode 100644 index 0000000..25218b4 --- /dev/null +++ b/0001-Use-packaged-jquery-and-jquery-ui.patch @@ -0,0 +1,116 @@ +From d873c282f4ab93f14c6b4ac6f4210852024dba78 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. + +Signed-off-by: Elliott Sales de Andrade +--- + .../backends/web_backend/all_figures.html | 6 +-- + .../backends/web_backend/single_figure.html | 6 +-- + setup.py | 49 ------------------- + 3 files changed, 6 insertions(+), 55 deletions(-) + +diff --git a/lib/matplotlib/backends/web_backend/all_figures.html b/lib/matplotlib/backends/web_backend/all_figures.html +index 41f48dc6d..69097eb4f 100644 +--- a/lib/matplotlib/backends/web_backend/all_figures.html ++++ b/lib/matplotlib/backends/web_backend/all_figures.html +@@ -3,9 +3,9 @@ + + + +- +- +- ++ ++ ++ + + + +diff --git a/lib/matplotlib/backends/web_backend/single_figure.html b/lib/matplotlib/backends/web_backend/single_figure.html +index 4d5a366fb..c11c86618 100644 +--- a/lib/matplotlib/backends/web_backend/single_figure.html ++++ b/lib/matplotlib/backends/web_backend/single_figure.html +@@ -3,9 +3,9 @@ + + + +- +- +- ++ ++ ++ + + +