[Python-modules-commits] r28752 - in packages/ipython/trunk/debian/patches (2 files)

jtaylor-guest at users.alioth.debian.org jtaylor-guest at users.alioth.debian.org
Sat May 3 15:41:15 UTC 2014


    Date: Saturday, May 3, 2014 @ 15:41:14
  Author: jtaylor-guest
Revision: 28752

update packaged js tools patch

Added:
  packages/ipython/trunk/debian/patches/packaged-js.patch
Modified:
  packages/ipython/trunk/debian/patches/series

Added: packages/ipython/trunk/debian/patches/packaged-js.patch
===================================================================
--- packages/ipython/trunk/debian/patches/packaged-js.patch	                        (rev 0)
+++ packages/ipython/trunk/debian/patches/packaged-js.patch	2014-05-03 15:41:14 UTC (rev 28752)
@@ -0,0 +1,12 @@
+Description: use packaged js tools
+--- a/IPython/html/static/components/bootstrap/Makefile
++++ b/IPython/html/static/components/bootstrap/Makefile
+@@ -73,7 +73,7 @@ bootstrap-js: bootstrap/js/*.js
+ bootstrap/js/*.js: js/*.js
+ 	mkdir -p bootstrap/js
+ 	cat js/bootstrap-transition.js js/bootstrap-alert.js js/bootstrap-button.js js/bootstrap-carousel.js js/bootstrap-collapse.js js/bootstrap-dropdown.js js/bootstrap-modal.js js/bootstrap-tooltip.js js/bootstrap-popover.js js/bootstrap-scrollspy.js js/bootstrap-tab.js js/bootstrap-typeahead.js js/bootstrap-affix.js > bootstrap/js/bootstrap.js
+-	./node_modules/.bin/uglifyjs -nc bootstrap/js/bootstrap.js > bootstrap/js/bootstrap.min.tmp.js
++	uglifyjs -nc bootstrap/js/bootstrap.js > bootstrap/js/bootstrap.min.tmp.js
+ 	echo "/*!\n* Bootstrap.js by @fat & @mdo\n* Copyright 2012 Twitter, Inc.\n* http://www.apache.org/licenses/LICENSE-2.0.txt\n*/" > bootstrap/js/copyright.js
+ 	cat bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js > bootstrap/js/bootstrap.min.js
+ 	rm bootstrap/js/copyright.js bootstrap/js/bootstrap.min.tmp.js

Modified: packages/ipython/trunk/debian/patches/series
===================================================================
--- packages/ipython/trunk/debian/patches/series	2014-05-03 15:41:12 UTC (rev 28751)
+++ packages/ipython/trunk/debian/patches/series	2014-05-03 15:41:14 UTC (rev 28752)
@@ -4,3 +4,4 @@
 shared-static-path.patch
 no-submodule-check.patch
 test-default-tk.patch
+packaged-js.patch 




More information about the Python-modules-commits mailing list