summaryrefslogtreecommitdiffstats
path: root/package/python-ipython/0001-set-correct-python-executable-path.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <peter@korsgaard.com>2015-02-03 14:52:07 +0100
committerPeter Korsgaard <peter@korsgaard.com>2015-02-03 14:52:56 +0100
commit298cd8eaa21a21eee85f9551a26ad294347b1d5a (patch)
tree249fa33b66f65e6daffdbfc8ca2e5399e8d89e61 /package/python-ipython/0001-set-correct-python-executable-path.patch
parentdd798a45c571063595c45278e28ed4f614f2cf32 (diff)
downloadbuildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.tar.gz
buildroot-298cd8eaa21a21eee85f9551a26ad294347b1d5a.zip
package/*: rename patches according to the new policy
Autogenerated from rename-patch.py (http://patchwork.ozlabs.org/patch/403345) Signed-off-by: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/python-ipython/0001-set-correct-python-executable-path.patch')
-rw-r--r--package/python-ipython/0001-set-correct-python-executable-path.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/package/python-ipython/0001-set-correct-python-executable-path.patch b/package/python-ipython/0001-set-correct-python-executable-path.patch
new file mode 100644
index 0000000000..0fbd5a1c8e
--- /dev/null
+++ b/package/python-ipython/0001-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
OpenPOWER on IntegriCloud