diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/ipython/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/ipython/files')
-rw-r--r-- | dev-python/ipython/files/2.1.0-substitute-files.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-python/ipython/files/2.1.0-substitute-files.patch b/dev-python/ipython/files/2.1.0-substitute-files.patch new file mode 100644 index 000000000000..659df39226ac --- /dev/null +++ b/dev-python/ipython/files/2.1.0-substitute-files.patch @@ -0,0 +1,27 @@ +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) |