[Python-modules-commits] r27087 - in packages/ipython/trunk/debian (control rules)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Mon Jan 6 20:19:38 UTC 2014
Date: Monday, January 6, 2014 @ 20:19:37
Author: jtaylor-guest
Revision: 27087
use libjs-jquery-ui
Modified:
packages/ipython/trunk/debian/control
packages/ipython/trunk/debian/rules
Modified: packages/ipython/trunk/debian/control
===================================================================
--- packages/ipython/trunk/debian/control 2014-01-06 20:19:35 UTC (rev 27086)
+++ packages/ipython/trunk/debian/control 2014-01-06 20:19:37 UTC (rev 27087)
@@ -8,6 +8,7 @@
fonts-font-awesome,
graphviz,
libc-bin (>= 2.13-1~),
+ libjs-jquery-ui,
libjs-marked,
node-less,
python-all (>= 2.6.6-3~),
@@ -136,6 +137,7 @@
Architecture: all
Depends: fonts-font-awesome,
libjs-jquery (>= 1.7),
+ libjs-jquery-ui,
libjs-marked,
libjs-mathjax,
${misc:Depends}
Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules 2014-01-06 20:19:35 UTC (rev 27086)
+++ packages/ipython/trunk/debian/rules 2014-01-06 20:19:37 UTC (rev 27087)
@@ -2,6 +2,7 @@
#export DH_VERBOSE=1
PYVERS = $(shell pyversions -rv)
PY3VERS = $(shell py3versions -r)
+NB = debian/ipython-notebook-common/usr/share/ipython/notebook/static
%:
dh $@ --with python2,python3,sphinxdoc
@@ -71,10 +72,16 @@
dh_install -pipython3-notebook --exclude="html/static/" --exclude=tests
dh_install -pipython3-qtconsole --exclude=tests
- rm -rf debian/ipython-notebook-common/usr/share/ipython/notebook/static/components/marked/
+ rm -rf $(NB)/components/marked/
dh_linktree -pipython-notebook-common replace usr/share/fonts-font-awesome/ usr/share/ipython/notebook/static/components/font-awesome/build/assets/font-awesome/
+ rm -rf $(NB)/components/jquery-ui/
+ dh_linktree -pipython-notebook-common embed usr/share/javascript/jquery-ui/ usr/share/ipython/notebook/static/components/jquery-ui/
+ install -D IPython/html/static/components/jquery-ui/ui/jquery-ui.js $(NB)/components/jquery-ui/ui/minified/jquery-ui.min.js
+ install -D IPython/html/static/components/jquery-ui/themes/smoothness/jquery-ui.css $(NB)/components/jquery-ui/themes/smoothness/jquery-ui.min.css
+
+
mkdir -p debian/ipython3/usr/share/applications/
sed -e "s/ipython/ipython3/" -e "s/IPython/IPython3/" \
examples/core/ipython.desktop > debian/ipython3/usr/share/applications/ipython3.desktop
More information about the Python-modules-commits
mailing list