[Python-modules-commits] r29628 - in packages/deap/trunk/debian (changelog control rules)

miriam at users.alioth.debian.org miriam at users.alioth.debian.org
Fri Jul 4 18:45:01 UTC 2014


    Date: Friday, July 4, 2014 @ 18:45:00
  Author: miriam
Revision: 29628

Using jquery.js and underscore.js
from libjs-jquery and libjs-underscore

Modified:
  packages/deap/trunk/debian/changelog
  packages/deap/trunk/debian/control
  packages/deap/trunk/debian/rules

Modified: packages/deap/trunk/debian/changelog
===================================================================
--- packages/deap/trunk/debian/changelog	2014-07-04 18:30:48 UTC (rev 29627)
+++ packages/deap/trunk/debian/changelog	2014-07-04 18:45:00 UTC (rev 29628)
@@ -6,6 +6,7 @@
   * Switched to dh_python2
   * Added build-arch and build-indep targets to debian/rules
   * Using awk to remove connection from the documentation to google analytics
+  * Using jquery.js and underscore.js from libjs-jquery and libjs-underscore
 
   [ Jakub Wilk ]
   * Use canonical URIs for Vcs-* fields.

Modified: packages/deap/trunk/debian/control
===================================================================
--- packages/deap/trunk/debian/control	2014-07-04 18:30:48 UTC (rev 29627)
+++ packages/deap/trunk/debian/control	2014-07-04 18:45:00 UTC (rev 29628)
@@ -12,7 +12,7 @@
 
 Package: python-deap
 Architecture: all
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Provides: ${python:Provides}
 Suggests: python-deap-doc
 Description: Distributed Evolutionary Algorithms in Python
@@ -25,7 +25,8 @@
 Package: python-deap-doc
 Section: doc
 Architecture: all
-Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}
+Depends: ${shlibs:Depends}, ${misc:Depends},
+ libjs-jquery, libjs-underscore
 Recommends: python-deap
 Description: Distributed Evolutionary Algorithms in Python - documentation
  DEAP is intended to be an easy to use distributed evolutionary algorithm

Modified: packages/deap/trunk/debian/rules
===================================================================
--- packages/deap/trunk/debian/rules	2014-07-04 18:30:48 UTC (rev 29627)
+++ packages/deap/trunk/debian/rules	2014-07-04 18:45:00 UTC (rev 29628)
@@ -55,6 +55,12 @@
 	dh_installexamples
 	dh_install
 	dh_installman
+	rm -fv debian/python-deap-doc/usr/share/doc/python-deap/html/_static/jquery.js
+	ln -s /usr/share/javascript/jquery/jquery.js \
+		debian/python-deap-doc/usr/share/doc/python-deap/html/_static/jquery.js
+	rm -fv debian/python-deap-doc/usr/share/doc/python-deap/html/_static/underscore.js
+	ln -s /usr/share/javascript/underscore/underscore.js \
+		debian/python-deap-doc/usr/share/doc/python-deap/html/_static/underscore.js
 	dh_link
 	dh_compress --exclude=.js --exclude=.pdf --exclude=.py --exclude=.yml
 	dh_fixperms




More information about the Python-modules-commits mailing list