diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2019-04-15 12:54:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-04-16 11:10:02 +0100 |
commit | 78779d4a38297120233183bf33f6659301173f74 (patch) | |
tree | 9929a92b454bf99654ff74b8ccd37c384636d764 /meta/recipes-devtools/python-numpy/files/fix_shebang_f2py.patch | |
parent | 77e39cf412ea7f7d7dacf724247d5688e05ddc12 (diff) | |
download | poky-78779d4a38297120233183bf33f6659301173f74.tar.gz |
python-numpy: update to 1.16.2
Drop files/fix_shebang_f2py.patch as the code has been removed upstream.
License-update: copyright years, file paths.
(From OE-Core rev: 90e271e9f1c1ecdb205bca3c9b4976a1a16e83b1)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy/files/fix_shebang_f2py.patch')
-rw-r--r-- | meta/recipes-devtools/python-numpy/files/fix_shebang_f2py.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/fix_shebang_f2py.patch b/meta/recipes-devtools/python-numpy/files/fix_shebang_f2py.patch deleted file mode 100644 index 8be6e4d21f..0000000000 --- a/meta/recipes-devtools/python-numpy/files/fix_shebang_f2py.patch +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | Avoids using python from the HOSTs native sysroot for f2py, | ||
4 | uses TARGET env python instead. | ||
5 | |||
6 | Signed-off-by: Alejandro Hernandez <alejandro.hernandez@linux.intel.com> | ||
7 | |||
8 | Index: numpy-1.11.0/numpy/f2py/setup.py | ||
9 | =================================================================== | ||
10 | --- numpy-1.11.0.orig/numpy/f2py/setup.py | ||
11 | +++ numpy-1.11.0/numpy/f2py/setup.py | ||
12 | @@ -37,10 +37,13 @@ def _get_f2py_shebang(): | ||
13 | should be ``#!python`` rather than ``#!`` followed by the contents of | ||
14 | ``sys.executable``. | ||
15 | """ | ||
16 | - if set(('bdist_wheel', 'bdist_egg', 'bdist_wininst', | ||
17 | - 'bdist_rpm')).intersection(sys.argv): | ||
18 | - return '#!python' | ||
19 | - return '#!' + sys.executable | ||
20 | + #if set(('bdist_wheel', 'bdist_egg', 'bdist_wininst', | ||
21 | + # 'bdist_rpm')).intersection(sys.argv): | ||
22 | + # return '#!python' | ||
23 | + #return '#!' + sys.executable | ||
24 | + | ||
25 | + # On OE, we need to avoid using the HOSTs python-native, we return env python instead | ||
26 | + return '#!/usr/bin/env python' | ||
27 | |||
28 | |||
29 | def configuration(parent_package='', top_path=None): | ||