[Python-modules-commits] r16687 - in packages/ipython/trunk/debian (3 files)
jtaylor-guest at users.alioth.debian.org
jtaylor-guest at users.alioth.debian.org
Thu Apr 21 16:14:04 UTC 2011
Date: Thursday, April 21, 2011 @ 16:13:43
Author: jtaylor-guest
Revision: 16687
set default colorscheme to LightBG
Added:
packages/ipython/trunk/debian/patches/07_use_lightbg.patch
Modified:
packages/ipython/trunk/debian/changelog
packages/ipython/trunk/debian/patches/series
Modified: packages/ipython/trunk/debian/changelog
===================================================================
--- packages/ipython/trunk/debian/changelog 2011-04-21 15:33:27 UTC (rev 16686)
+++ packages/ipython/trunk/debian/changelog 2011-04-21 16:13:43 UTC (rev 16687)
@@ -7,6 +7,7 @@
* Use environment python interpreter. Closes: #547003
* wrap-and-sort debian/
* update standard to 3.9.2. no changes needed
+ * set default colorscheme to LightBG. LP: #241535
-- Julian Taylor <jtaylor.debian at googlemail.com> Thu, 21 Apr 2011 14:54:20 +0200
Added: packages/ipython/trunk/debian/patches/07_use_lightbg.patch
===================================================================
--- packages/ipython/trunk/debian/patches/07_use_lightbg.patch (rev 0)
+++ packages/ipython/trunk/debian/patches/07_use_lightbg.patch 2011-04-21 16:13:43 UTC (rev 16687)
@@ -0,0 +1,46 @@
+Author: Julian Taylor <jtaylor.debian at googlemail.com>
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/ipython/+bug/241535
+Subject: use LightBG colorscheme by default
+ Linux scheme leads to invisible text when console background is light
+
+Index: ipython/IPython/UserConfig/ipy_user_conf.py
+===================================================================
+--- ipython.orig/IPython/UserConfig/ipy_user_conf.py 2011-04-21 17:54:49.858160694 +0200
++++ ipython/IPython/UserConfig/ipy_user_conf.py 2011-04-21 17:54:58.658160688 +0200
+@@ -68,7 +68,7 @@
+
+ # Try one of these color settings if you can't read the text easily
+ # autoexec is a list of IPython commands to execute on startup
+- #o.autoexec.append('%colors LightBG')
++ o.autoexec.append('%colors LightBG')
+ #o.autoexec.append('%colors NoColor')
+ #o.autoexec.append('%colors Linux')
+
+Index: ipython/IPython/UserConfig/ipythonrc
+===================================================================
+--- ipython.orig/IPython/UserConfig/ipythonrc 2011-04-21 17:55:33.928160670 +0200
++++ ipython/IPython/UserConfig/ipythonrc 2011-04-21 17:55:40.068160666 +0200
+@@ -163,8 +163,8 @@
+ # in light background terminals.
+
+ # keep uncommented only the one you want:
+-colors Linux
+-#colors LightBG
++#colors Linux
++colors LightBG
+ #colors NoColor
+
+ ########################
+Index: ipython/IPython/Extensions/ipy_defaults.py
+===================================================================
+--- ipython.orig/IPython/Extensions/ipy_defaults.py 2011-04-21 18:07:16.368160277 +0200
++++ ipython/IPython/Extensions/ipy_defaults.py 2011-04-21 18:07:21.588160275 +0200
+@@ -18,7 +18,7 @@
+
+ o = ip.options
+
+-o.colors = "Linux"
++o.colors = "LightBG"
+ o.color_info=1
+ o.confirm_exit=1
+ o.pprint=1
Modified: packages/ipython/trunk/debian/patches/series
===================================================================
--- packages/ipython/trunk/debian/patches/series 2011-04-21 15:33:27 UTC (rev 16686)
+++ packages/ipython/trunk/debian/patches/series 2011-04-21 16:13:43 UTC (rev 16687)
@@ -2,3 +2,4 @@
04_remove_shebang.patch
05_fix_seteditor_example.patch
06_ipythonwx_importerror.patch
+07_use_lightbg.patch
More information about the Python-modules-commits
mailing list