diff options
author | Philippe Proulx <eeppeliteloop@gmail.com> | 2014-07-24 15:08:49 -0400 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-07-27 15:37:27 +0200 |
commit | 2671e7eee324217a326c12e39c90b13573acbb74 (patch) | |
tree | b494dd0b839e855d5eb79a8b0ed5512965e059ee /package/python-ipython/python-ipython-001-set-correct-python-executable-path.patch | |
parent | 1030ea5a5b327b2235766f70f5d86ff2d8e63818 (diff) | |
download | buildroot-2671e7eee324217a326c12e39c90b13573acbb74.tar.gz buildroot-2671e7eee324217a326c12e39c90b13573acbb74.zip |
python-ipython: new package
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python-ipython/python-ipython-001-set-correct-python-executable-path.patch')
-rw-r--r-- | package/python-ipython/python-ipython-001-set-correct-python-executable-path.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/python-ipython/python-ipython-001-set-correct-python-executable-path.patch b/package/python-ipython/python-ipython-001-set-correct-python-executable-path.patch new file mode 100644 index 0000000000..0fbd5a1c8e --- /dev/null +++ b/package/python-ipython/python-ipython-001-set-correct-python-executable-path.patch @@ -0,0 +1,15 @@ +Set correct Python executable path + +Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com> + +--- python-ipython-2.1.0/setupbase.py 2014-05-21 15:19:12.000000000 -0400 ++++ python-ipython-2.1.0-new/setupbase.py 2014-07-23 23:34:32.892030423 -0400 +@@ -394,7 +394,7 @@ class build_scripts_entrypt(build_script + + mod, func = entrypt.split(':') + with open(outfile, 'w') as f: +- f.write(script_src.format(executable=sys.executable, ++ f.write(script_src.format(executable='/usr/bin/env python', + mod=mod, func=func)) + + return outfiles, outfiles |