commit e1486a8dcd4028813107b9af88e85d48e04b9f18
Author: Jakub Bogusz <[email protected]>
Date:   Tue Apr 7 16:59:27 2020 +0200

    - include jquery-ui to avoid downloading at build time (TODO: use system 
jquery*)

 python-matplotlib.spec | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/python-matplotlib.spec b/python-matplotlib.spec
index 5a542cb..f9350e4 100644
--- a/python-matplotlib.spec
+++ b/python-matplotlib.spec
@@ -1,3 +1,4 @@
+# TODO: system jquery and jquery-ui (when they become up to date)
 #
 # Conditional build:
 %bcond_without python2 # CPython 2.x module
@@ -19,6 +20,8 @@ Group:                Libraries/Python
 #Source0Download: https://github.com/matplotlib/matplotlib/releases
 Source0:       
https://github.com/matplotlib/matplotlib/archive/v%{version}/matplotlib-%{version}.tar.gz
 # Source0-md5: 8c49e6086ec06f3b5e9a1b7ad1ac37ff
+Source1:       https://jqueryui.com/resources/download/jquery-ui-1.12.1.zip
+# Source1-md5: e0cfea21c9d1acd37fb58592f2c1f50d
 Patch0:                %{name}-system-qhull.patch
 URL:           https://matplotlib.org/
 #BuildRequires:        agg-devel
@@ -132,6 +135,8 @@ przechodzÄ…cych z Matlaba.
 %setup -q -n %{module}-%{version}
 %patch0 -p1
 
+unzip -q %{SOURCE1} -d lib/matplotlib/backends/web_backend
+
 %build
 export CFLAGS="%{rpmcflags}"
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-matplotlib.git/commitdiff/e1486a8dcd4028813107b9af88e85d48e04b9f18

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to