[Python-modules-commits] r29679 - in packages/matplotlib/trunk/debian (rules)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Mon Jul 7 18:23:55 UTC 2014


    Date: Monday, July 7, 2014 @ 18:23:54
  Author: jtaylor-guest
Revision: 29679

move python3 jquery symlinks to right target

Modified:
  packages/matplotlib/trunk/debian/rules

Modified: packages/matplotlib/trunk/debian/rules
===================================================================
--- packages/matplotlib/trunk/debian/rules	2014-07-07 18:14:35 UTC (rev 29678)
+++ packages/matplotlib/trunk/debian/rules	2014-07-07 18:23:54 UTC (rev 29679)
@@ -134,12 +134,6 @@
 	    dh_link -ppython-matplotlib usr/share/javascript/jquery-ui/css/smoothness/jquery-ui.min.css \
 	      usr/lib/python$$i/site-packages/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css; \
 	done
-	dh_link -ppython3-matplotlib usr/share/javascript/jquery/jquery.min.js \
-	  usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-1.7.1.min.js
-	dh_link -ppython3-matplotlib usr/share/javascript/jquery-ui/jquery-ui.min.js \
-	  usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js
-	dh_link  -ppython3-matplotlib usr/share/javascript/jquery-ui/css/smoothness/jquery-ui.min.css \
-	  usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css
 
 	touch $@
 
@@ -166,6 +160,14 @@
 	rm -rf $(CURDIR)/debian/$(p3dbg)/usr/lib/python3/dist-packages/matplotlib/mpl-data/
 	rm -rf $(CURDIR)/debian/$(p3dbg)/usr/lib/python3/dist-packages/matplotlib/backends/Matplotlib.nib/
 
+	# replace minified jquery with packaged version and hope it works
+	dh_link -ppython3-matplotlib usr/share/javascript/jquery/jquery.min.js \
+	  usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-1.7.1.min.js
+	dh_link -ppython3-matplotlib usr/share/javascript/jquery-ui/jquery-ui.min.js \
+	  usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/js/jquery-ui.min.js
+	dh_link  -ppython3-matplotlib usr/share/javascript/jquery-ui/css/smoothness/jquery-ui.min.css \
+	  usr/lib/python3/dist-packages/matplotlib/backends/web_backend/jquery/css/themes/base/jquery-ui.min.css
+
 	touch $@
 
 install-indep: build-indep




More information about the Python-modules-commits mailing list