idella4     14/08/07 14:54:50

  Added:                2.1.0-substitute-files.patch
  Log:
  add doc deps, upgrade deps, shed redundant sed statements of prior versions, 
add patch to fix test phase, patch by cel1 now merged upstram, update install 
phase, add msgs in postinst relating to optional features, thanks to cel1 for 
cross testing a patches
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
0xB8072B0D)

Revision  Changes    Path
1.1                  dev-python/ipython/files/2.1.0-substitute-files.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/2.1.0-substitute-files.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-python/ipython/files/2.1.0-substitute-files.patch?rev=1.1&content-type=text/plain

Index: 2.1.0-substitute-files.patch
===================================================================
substitute the insource files with these messages
diff --git a/IPython/extensions/octavemagic.py 
b/IPython/extensions/octavemagic.py
new file mode 100644
index 0000000..dc93fe4
--- /dev/null
+++ b/IPython/extensions/octavemagic.py
@@ -0,0 +1,7 @@
+import warnings
+
+def load_ipython_extension(ip):
+    msg = ("The octavemagic extension has been moved to oct2py. "
+           "After installing oct2py, you can load octavemagic with the "
+           "following command: '%load_ext oct2py.ipython'.")
+    warnings.warn(msg, Warning, stacklevel=2)
diff --git a/IPython/extensions/rmagic.py b/IPython/extensions/rmagic.py
new file mode 100644
index 0000000..739e491
--- /dev/null
+++ b/IPython/extensions/rmagic.py
@@ -0,0 +1,7 @@
+import warnings
+
+def load_ipython_extension(ip):
+    msg = ("The rmagic extension has been moved to rpy2. "
+           "After installing rpy2, you can load rmagic with the "
+           "following command: '%load_ext rpy2.ipython'.")
+    warnings.warn(msg, Warning, stacklevel=2)




Reply via email to