[Python-modules-commits] r27084 - in packages/ipython/trunk/debian (4 files)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Mon Jan 6 20:19:30 UTC 2014
Date: Monday, January 6, 2014 @ 20:19:29
Author: jtaylor-guest
Revision: 27084
use packaged lessc
Added:
packages/ipython/trunk/debian/patches/packaged-lessc.patch
Modified:
packages/ipython/trunk/debian/control
packages/ipython/trunk/debian/patches/series
packages/ipython/trunk/debian/rules
Modified: packages/ipython/trunk/debian/control
===================================================================
--- packages/ipython/trunk/debian/control 2014-01-06 20:19:24 UTC (rev 27083)
+++ packages/ipython/trunk/debian/control 2014-01-06 20:19:29 UTC (rev 27084)
@@ -6,6 +6,7 @@
Build-Depends: debhelper (>= 7.3.13)
Build-Depends-Indep: graphviz,
libc-bin (>= 2.13-1~),
+ node-less,
python-all (>= 2.6.6-3~),
python-argparse,
python-decorator,
Added: packages/ipython/trunk/debian/patches/packaged-lessc.patch
===================================================================
--- packages/ipython/trunk/debian/patches/packaged-lessc.patch (rev 0)
+++ packages/ipython/trunk/debian/patches/packaged-lessc.patch 2014-01-06 20:19:29 UTC (rev 27084)
@@ -0,0 +1,11 @@
+--- a/IPython/html/fabfile.py
++++ b/IPython/html/fabfile.py
+@@ -27,7 +27,7 @@ def _compile_less(source, target, minify
+ verbose = _to_bool(verbose)
+ min_flag = '-x' if minify is True else ''
+ ver_flag = '--verbose' if verbose is True else ''
+- lessc = os.path.join('components', 'less.js', 'bin', 'lessc')
++ lessc = 'lessc'
+ with lcd(static_dir):
+ local('{lessc} {min_flag} {ver_flag} {source} {target}'.format(**locals()))
+
Modified: packages/ipython/trunk/debian/patches/series
===================================================================
--- packages/ipython/trunk/debian/patches/series 2014-01-06 20:19:24 UTC (rev 27083)
+++ packages/ipython/trunk/debian/patches/series 2014-01-06 20:19:29 UTC (rev 27084)
@@ -1,3 +1,4 @@
+packaged-lessc.patch
05_fix_seteditor_example.patch
use-LightBG-colorscheme.patch
debianize-error-messages.patch
Modified: packages/ipython/trunk/debian/rules
===================================================================
--- packages/ipython/trunk/debian/rules 2014-01-06 20:19:24 UTC (rev 27083)
+++ packages/ipython/trunk/debian/rules 2014-01-06 20:19:29 UTC (rev 27084)
@@ -23,6 +23,7 @@
set -e && for pyvers in $(PY3VERS); do \
$$pyvers setup.py build --executable '/usr/bin/env python3'; \
done
+ cd IPython/html && fab css
ifeq (,$(filter nodocs,$(DEB_BUILD_OPTIONS)))
HOME=$(CURDIR)/build PYTHONPATH=$(CURDIR) $(MAKE) -C $(CURDIR)/docs html
More information about the Python-modules-commits
mailing list