summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python-numpy
diff options
context:
space:
mode:
authorChangqing Li <changqing.li@windriver.com>2020-03-05 12:58:25 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-06 08:19:18 +0000
commite06997e8bf3a8b38933c2917963e79fd00fb3418 (patch)
tree12bae466bba5d1b19a27585484d65518bf5e3460 /meta/recipes-devtools/python-numpy
parentd1be223100fc22ffae3d88a9622ceddbdd74f519 (diff)
downloadpoky-e06997e8bf3a8b38933c2917963e79fd00fb3418.tar.gz
python-numpy: convert shebang from python to python3
(From OE-Core rev: dc1e84d343a47d67b5aed28542031b173828cc71) Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/python-numpy')
-rw-r--r--meta/recipes-devtools/python-numpy/files/0001-convert-shebang-from-python-to-python3.patch579
-rw-r--r--meta/recipes-devtools/python-numpy/python-numpy.inc1
2 files changed, 580 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python-numpy/files/0001-convert-shebang-from-python-to-python3.patch b/meta/recipes-devtools/python-numpy/files/0001-convert-shebang-from-python-to-python3.patch
new file mode 100644
index 0000000000..b86e131122
--- /dev/null
+++ b/meta/recipes-devtools/python-numpy/files/0001-convert-shebang-from-python-to-python3.patch
@@ -0,0 +1,579 @@
1From c53237f90e4a3a435a20517552186d394d6d09c8 Mon Sep 17 00:00:00 2001
2From: Changqing Li <changqing.li@windriver.com>
3Date: Thu, 5 Mar 2020 12:02:35 +0800
4Subject: [PATCH] convert shebang from python to python3
5
6Upstream-Status: Backport
7[https://github.com/numpy/numpy/commit/583901a074dc65145d3d6136ba7dcd02634d680b]
8
9Signed-off-by: Changqing Li <changqing.li@windriver.com>
10---
11 doc/DISTUTILS.rst.txt | 2 +-
12 doc/cdoc/numpyfilter.py | 2 +-
13 doc/postprocess.py | 2 +-
14 doc/summarize.py | 2 +-
15 numpy/distutils/conv_template.py | 2 +-
16 numpy/distutils/cpuinfo.py | 2 +-
17 numpy/distutils/from_template.py | 2 +-
18 numpy/distutils/setup.py | 2 +-
19 numpy/distutils/system_info.py | 2 +-
20 numpy/f2py/__init__.py | 2 +-
21 numpy/f2py/auxfuncs.py | 2 +-
22 numpy/f2py/capi_maps.py | 2 +-
23 numpy/f2py/cb_rules.py | 2 +-
24 numpy/f2py/cfuncs.py | 2 +-
25 numpy/f2py/common_rules.py | 2 +-
26 numpy/f2py/crackfortran.py | 2 +-
27 numpy/f2py/diagnose.py | 2 +-
28 numpy/f2py/f2py2e.py | 2 +-
29 numpy/f2py/f90mod_rules.py | 2 +-
30 numpy/f2py/func2subr.py | 2 +-
31 numpy/f2py/rules.py | 2 +-
32 numpy/f2py/setup.py | 2 +-
33 numpy/f2py/use_rules.py | 2 +-
34 numpy/linalg/lapack_lite/clapack_scrub.py | 2 +-
35 numpy/linalg/lapack_lite/make_lite.py | 2 +-
36 numpy/ma/bench.py | 2 +-
37 numpy/ma/setup.py | 2 +-
38 numpy/matrixlib/setup.py | 2 +-
39 numpy/random/examples/cython/extending.pyx | 2 +-
40 numpy/random/examples/cython/extending_distributions.pyx | 2 +-
41 numpy/setup.py | 2 +-
42 numpy/testing/print_coercion_tables.py | 2 +-
43 numpy/testing/setup.py | 2 +-
44 runtests.py | 2 +-
45 setup.py | 2 +-
46 tools/c_coverage/c_coverage_report.py | 2 +-
47 tools/changelog.py | 2 +-
48 tools/ci/push_docs_to_repo.py | 2 +-
49 tools/cythonize.py | 2 +-
50 tools/find_deprecated_escaped_characters.py | 2 +-
51 tools/refguide_check.py | 2 +-
52 tools/swig/test/setup.py | 2 +-
53 tools/swig/test/testArray.py | 2 +-
54 tools/swig/test/testFarray.py | 2 +-
55 tools/swig/test/testFlat.py | 2 +-
56 tools/swig/test/testFortran.py | 2 +-
57 tools/swig/test/testMatrix.py | 2 +-
58 tools/swig/test/testSuperTensor.py | 2 +-
59 tools/swig/test/testTensor.py | 2 +-
60 tools/swig/test/testVector.py | 2 +-
61 tools/test-installed-numpy.py | 2 +-
62 51 files changed, 51 insertions(+), 51 deletions(-)
63
64diff --git a/doc/DISTUTILS.rst.txt b/doc/DISTUTILS.rst.txt
65index eadde63..2402110 100644
66--- a/doc/DISTUTILS.rst.txt
67+++ b/doc/DISTUTILS.rst.txt
68@@ -59,7 +59,7 @@ SciPy pure Python package example
69
70 Below is an example of a minimal ``setup.py`` file for a pure SciPy package::
71
72- #!/usr/bin/env python
73+ #!/usr/bin/env python3
74 def configuration(parent_package='',top_path=None):
75 from numpy.distutils.misc_util import Configuration
76 config = Configuration('mypackage',parent_package,top_path)
77diff --git a/doc/cdoc/numpyfilter.py b/doc/cdoc/numpyfilter.py
78index 0ec5069..067bd36 100755
79--- a/doc/cdoc/numpyfilter.py
80+++ b/doc/cdoc/numpyfilter.py
81@@ -1,4 +1,4 @@
82-#!/usr/bin/env python
83+#!/usr/bin/env python3
84 """
85 numpyfilter.py INPUTFILE
86
87diff --git a/doc/postprocess.py b/doc/postprocess.py
88index 2e50c11..1be6f39 100755
89--- a/doc/postprocess.py
90+++ b/doc/postprocess.py
91@@ -1,4 +1,4 @@
92-#!/usr/bin/env python
93+#!/usr/bin/env python3
94 """
95 %prog MODE FILES...
96
97diff --git a/doc/summarize.py b/doc/summarize.py
98index cfce271..563af02 100755
99--- a/doc/summarize.py
100+++ b/doc/summarize.py
101@@ -1,4 +1,4 @@
102-#!/usr/bin/env python
103+#!/usr/bin/env python3
104 """
105 summarize.py
106
107diff --git a/numpy/distutils/conv_template.py b/numpy/distutils/conv_template.py
108index 3bcb7b8..88432c8 100644
109--- a/numpy/distutils/conv_template.py
110+++ b/numpy/distutils/conv_template.py
111@@ -1,4 +1,4 @@
112-#!/usr/bin/env python
113+#!/usr/bin/env python3
114 """
115 takes templated file .xxx.src and produces .xxx file where .xxx is
116 .i or .c or .h, using the following template rules
117diff --git a/numpy/distutils/cpuinfo.py b/numpy/distutils/cpuinfo.py
118index 5802993..7f6742e 100644
119--- a/numpy/distutils/cpuinfo.py
120+++ b/numpy/distutils/cpuinfo.py
121@@ -1,4 +1,4 @@
122-#!/usr/bin/env python
123+#!/usr/bin/env python3
124 """
125 cpuinfo
126
127diff --git a/numpy/distutils/from_template.py b/numpy/distutils/from_template.py
128index c5c1163..af75971 100644
129--- a/numpy/distutils/from_template.py
130+++ b/numpy/distutils/from_template.py
131@@ -1,4 +1,4 @@
132-#!/usr/bin/env python
133+#!/usr/bin/env python3
134 """
135
136 process_file(filename)
137diff --git a/numpy/distutils/setup.py b/numpy/distutils/setup.py
138index 82a53bd..646921b 100644
139--- a/numpy/distutils/setup.py
140+++ b/numpy/distutils/setup.py
141@@ -1,4 +1,4 @@
142-#!/usr/bin/env python
143+#!/usr/bin/env python3
144 from __future__ import division, print_function
145
146 def configuration(parent_package='',top_path=None):
147diff --git a/numpy/distutils/system_info.py b/numpy/distutils/system_info.py
148index f94dce1..df526f6 100644
149--- a/numpy/distutils/system_info.py
150+++ b/numpy/distutils/system_info.py
151@@ -1,4 +1,4 @@
152-#!/usr/bin/env python
153+#!/usr/bin/env python3
154 """
155 This file defines a set of system_info classes for getting
156 information about various resources (libraries, library directories,
157diff --git a/numpy/f2py/__init__.py b/numpy/f2py/__init__.py
158index d146739..0a83b99 100644
159--- a/numpy/f2py/__init__.py
160+++ b/numpy/f2py/__init__.py
161@@ -1,4 +1,4 @@
162-#!/usr/bin/env python
163+#!/usr/bin/env python3
164 """Fortran to Python Interface Generator.
165
166 """
167diff --git a/numpy/f2py/auxfuncs.py b/numpy/f2py/auxfuncs.py
168index 404bdbd..d23d959 100644
169--- a/numpy/f2py/auxfuncs.py
170+++ b/numpy/f2py/auxfuncs.py
171@@ -1,4 +1,4 @@
172-#!/usr/bin/env python
173+#!/usr/bin/env python3
174 """
175
176 Auxiliary functions for f2py2e.
177diff --git a/numpy/f2py/capi_maps.py b/numpy/f2py/capi_maps.py
178index c41dd77..a3e2dc2 100644
179--- a/numpy/f2py/capi_maps.py
180+++ b/numpy/f2py/capi_maps.py
181@@ -1,4 +1,4 @@
182-#!/usr/bin/env python
183+#!/usr/bin/env python3
184 """
185
186 Copyright 1999,2000 Pearu Peterson all rights reserved,
187diff --git a/numpy/f2py/cb_rules.py b/numpy/f2py/cb_rules.py
188index 183d7c2..93e93fe 100644
189--- a/numpy/f2py/cb_rules.py
190+++ b/numpy/f2py/cb_rules.py
191@@ -1,4 +1,4 @@
192-#!/usr/bin/env python
193+#!/usr/bin/env python3
194 """
195
196 Build call-back mechanism for f2py2e.
197diff --git a/numpy/f2py/cfuncs.py b/numpy/f2py/cfuncs.py
198index d59b630..3847745 100644
199--- a/numpy/f2py/cfuncs.py
200+++ b/numpy/f2py/cfuncs.py
201@@ -1,4 +1,4 @@
202-#!/usr/bin/env python
203+#!/usr/bin/env python3
204 """
205
206 C declarations, CPP macros, and C functions for f2py2e.
207diff --git a/numpy/f2py/common_rules.py b/numpy/f2py/common_rules.py
208index 62c1ba2..c1825d4 100644
209--- a/numpy/f2py/common_rules.py
210+++ b/numpy/f2py/common_rules.py
211@@ -1,4 +1,4 @@
212-#!/usr/bin/env python
213+#!/usr/bin/env python3
214 """
215
216 Build common block mechanism for f2py2e.
217diff --git a/numpy/f2py/crackfortran.py b/numpy/f2py/crackfortran.py
218index 2aaf5d7..fb5ef2f 100755
219--- a/numpy/f2py/crackfortran.py
220+++ b/numpy/f2py/crackfortran.py
221@@ -1,4 +1,4 @@
222-#!/usr/bin/env python
223+#!/usr/bin/env python3
224 """
225 crackfortran --- read fortran (77,90) code and extract declaration information.
226
227diff --git a/numpy/f2py/diagnose.py b/numpy/f2py/diagnose.py
228index 0241fed..6c0304c 100644
229--- a/numpy/f2py/diagnose.py
230+++ b/numpy/f2py/diagnose.py
231@@ -1,4 +1,4 @@
232-#!/usr/bin/env python
233+#!/usr/bin/env python3
234 from __future__ import division, absolute_import, print_function
235
236 import os
237diff --git a/numpy/f2py/f2py2e.py b/numpy/f2py/f2py2e.py
238index 110337f..c0789f6 100755
239--- a/numpy/f2py/f2py2e.py
240+++ b/numpy/f2py/f2py2e.py
241@@ -1,4 +1,4 @@
242-#!/usr/bin/env python
243+#!/usr/bin/env python3
244 """
245
246 f2py2e - Fortran to Python C/API generator. 2nd Edition.
247diff --git a/numpy/f2py/f90mod_rules.py b/numpy/f2py/f90mod_rules.py
248index 85eae80..70be128 100644
249--- a/numpy/f2py/f90mod_rules.py
250+++ b/numpy/f2py/f90mod_rules.py
251@@ -1,4 +1,4 @@
252-#!/usr/bin/env python
253+#!/usr/bin/env python3
254 """
255
256 Build F90 module support for f2py2e.
257diff --git a/numpy/f2py/func2subr.py b/numpy/f2py/func2subr.py
258index 6010d5a..fdea0c2 100644
259--- a/numpy/f2py/func2subr.py
260+++ b/numpy/f2py/func2subr.py
261@@ -1,4 +1,4 @@
262-#!/usr/bin/env python
263+#!/usr/bin/env python3
264 """
265
266 Rules for building C/API module with f2py2e.
267diff --git a/numpy/f2py/rules.py b/numpy/f2py/rules.py
268index 1b41498..790d197 100755
269--- a/numpy/f2py/rules.py
270+++ b/numpy/f2py/rules.py
271@@ -1,4 +1,4 @@
272-#!/usr/bin/env python
273+#!/usr/bin/env python3
274 """
275
276 Rules for building C/API module with f2py2e.
277diff --git a/numpy/f2py/setup.py b/numpy/f2py/setup.py
278index c0c50ce..044c9f2 100644
279--- a/numpy/f2py/setup.py
280+++ b/numpy/f2py/setup.py
281@@ -1,4 +1,4 @@
282-#!/usr/bin/env python
283+#!/usr/bin/env python3
284 """
285 setup.py for installing F2PY
286
287diff --git a/numpy/f2py/use_rules.py b/numpy/f2py/use_rules.py
288index 6f44f16..8214f42 100644
289--- a/numpy/f2py/use_rules.py
290+++ b/numpy/f2py/use_rules.py
291@@ -1,4 +1,4 @@
292-#!/usr/bin/env python
293+#!/usr/bin/env python3
294 """
295
296 Build 'use others module data' mechanism for f2py2e.
297diff --git a/numpy/linalg/lapack_lite/clapack_scrub.py b/numpy/linalg/lapack_lite/clapack_scrub.py
298index 4345861..91e66e7 100644
299--- a/numpy/linalg/lapack_lite/clapack_scrub.py
300+++ b/numpy/linalg/lapack_lite/clapack_scrub.py
301@@ -1,4 +1,4 @@
302-#!/usr/bin/env python
303+#!/usr/bin/env python3
304 from __future__ import division, absolute_import, print_function
305
306 import sys, os
307diff --git a/numpy/linalg/lapack_lite/make_lite.py b/numpy/linalg/lapack_lite/make_lite.py
308index 61102d6..0211f4e 100755
309--- a/numpy/linalg/lapack_lite/make_lite.py
310+++ b/numpy/linalg/lapack_lite/make_lite.py
311@@ -1,4 +1,4 @@
312-#!/usr/bin/env python
313+#!/usr/bin/env python3
314 """
315 Usage: make_lite.py <wrapped_routines_file> <lapack_dir> <output_dir>
316
317diff --git a/numpy/ma/bench.py b/numpy/ma/bench.py
318index a9ba42d..a377436 100644
319--- a/numpy/ma/bench.py
320+++ b/numpy/ma/bench.py
321@@ -1,4 +1,4 @@
322-#! /usr/bin/env python
323+#!/usr/bin/env python3
324 # -*- coding: utf-8 -*-
325
326 from __future__ import division, print_function
327diff --git a/numpy/ma/setup.py b/numpy/ma/setup.py
328index d1d6c89..a04b79b 100644
329--- a/numpy/ma/setup.py
330+++ b/numpy/ma/setup.py
331@@ -1,4 +1,4 @@
332-#!/usr/bin/env python
333+#!/usr/bin/env python3
334 from __future__ import division, print_function
335
336 def configuration(parent_package='',top_path=None):
337diff --git a/numpy/matrixlib/setup.py b/numpy/matrixlib/setup.py
338index d0981d6..57534d1 100644
339--- a/numpy/matrixlib/setup.py
340+++ b/numpy/matrixlib/setup.py
341@@ -1,4 +1,4 @@
342-#!/usr/bin/env python
343+#!/usr/bin/env python3
344 from __future__ import division, print_function
345
346 def configuration(parent_package='', top_path=None):
347diff --git a/numpy/random/examples/cython/extending.pyx b/numpy/random/examples/cython/extending.pyx
348index a6a4ba4..33f28f9 100644
349--- a/numpy/random/examples/cython/extending.pyx
350+++ b/numpy/random/examples/cython/extending.pyx
351@@ -1,4 +1,4 @@
352-#!/usr/bin/env python
353+#!/usr/bin/env python3
354 #cython: language_level=3
355
356 from libc.stdint cimport uint32_t
357diff --git a/numpy/random/examples/cython/extending_distributions.pyx b/numpy/random/examples/cython/extending_distributions.pyx
358index 3cefec9..7a526ab 100644
359--- a/numpy/random/examples/cython/extending_distributions.pyx
360+++ b/numpy/random/examples/cython/extending_distributions.pyx
361@@ -1,4 +1,4 @@
362-#!/usr/bin/env python
363+#!/usr/bin/env python3
364 #cython: language_level=3
365 """
366 This file shows how the distributions that are accessed through
367diff --git a/numpy/setup.py b/numpy/setup.py
368index 4ccdaee..db06c82 100644
369--- a/numpy/setup.py
370+++ b/numpy/setup.py
371@@ -1,4 +1,4 @@
372-#!/usr/bin/env python
373+#!/usr/bin/env python3
374 from __future__ import division, print_function
375
376
377diff --git a/numpy/testing/print_coercion_tables.py b/numpy/testing/print_coercion_tables.py
378index 3a359f4..a9c5363 100755
379--- a/numpy/testing/print_coercion_tables.py
380+++ b/numpy/testing/print_coercion_tables.py
381@@ -1,4 +1,4 @@
382-#!/usr/bin/env python
383+#!/usr/bin/env python3
384 """Prints type-coercion tables for the built-in NumPy types
385
386 """
387diff --git a/numpy/testing/setup.py b/numpy/testing/setup.py
388index 7c3f2fb..bd315ee 100755
389--- a/numpy/testing/setup.py
390+++ b/numpy/testing/setup.py
391@@ -1,4 +1,4 @@
392-#!/usr/bin/env python
393+#!/usr/bin/env python3
394 from __future__ import division, print_function
395
396
397diff --git a/runtests.py b/runtests.py
398index 23245ae..cafdb92 100755
399--- a/runtests.py
400+++ b/runtests.py
401@@ -1,4 +1,4 @@
402-#!/usr/bin/env python
403+#!/usr/bin/env python3
404 """
405 runtests.py [OPTIONS] [-- ARGS]
406
407diff --git a/setup.py b/setup.py
408index a205913..010884f 100755
409--- a/setup.py
410+++ b/setup.py
411@@ -1,4 +1,4 @@
412-#!/usr/bin/env python
413+#!/usr/bin/env python3
414 """ NumPy is the fundamental package for array computing with Python.
415
416 It provides:
417diff --git a/tools/c_coverage/c_coverage_report.py b/tools/c_coverage/c_coverage_report.py
418index 327f6dc..8837684 100755
419--- a/tools/c_coverage/c_coverage_report.py
420+++ b/tools/c_coverage/c_coverage_report.py
421@@ -1,4 +1,4 @@
422-#!/usr/bin/env python
423+#!/usr/bin/env python3
424 """
425 A script to create C code-coverage reports based on the output of
426 valgrind's callgrind tool.
427diff --git a/tools/changelog.py b/tools/changelog.py
428index b135b14..5d8b33c 100755
429--- a/tools/changelog.py
430+++ b/tools/changelog.py
431@@ -1,4 +1,4 @@
432-#!/usr/bin/env python
433+#!/usr/bin/env python3
434 # -*- encoding:utf-8 -*-
435 """
436 Script to generate contributor and pull request lists
437diff --git a/tools/ci/push_docs_to_repo.py b/tools/ci/push_docs_to_repo.py
438index a989668..ae53054 100755
439--- a/tools/ci/push_docs_to_repo.py
440+++ b/tools/ci/push_docs_to_repo.py
441@@ -1,4 +1,4 @@
442-#!/usr/bin/env python
443+#!/usr/bin/env python3
444
445 import argparse
446 import subprocess
447diff --git a/tools/cythonize.py b/tools/cythonize.py
448index c81b72d..c1d4384 100755
449--- a/tools/cythonize.py
450+++ b/tools/cythonize.py
451@@ -1,4 +1,4 @@
452-#!/usr/bin/env python
453+#!/usr/bin/env python3
454 """ cythonize
455
456 Cythonize pyx files into C files as needed.
457diff --git a/tools/find_deprecated_escaped_characters.py b/tools/find_deprecated_escaped_characters.py
458index 6f90001..10e0378 100644
459--- a/tools/find_deprecated_escaped_characters.py
460+++ b/tools/find_deprecated_escaped_characters.py
461@@ -1,4 +1,4 @@
462-#! /usr/bin/env python
463+#!/usr/bin/env python3
464 r"""
465 Look for escape sequences deprecated in Python 3.6.
466
467diff --git a/tools/refguide_check.py b/tools/refguide_check.py
468index c208072..798e322 100644
469--- a/tools/refguide_check.py
470+++ b/tools/refguide_check.py
471@@ -1,4 +1,4 @@
472-#!/usr/bin/env python
473+#!/usr/bin/env python3
474 """
475 refguide_check.py [OPTIONS] [-- ARGS]
476
477diff --git a/tools/swig/test/setup.py b/tools/swig/test/setup.py
478index 4ff870e..f8f05e6 100755
479--- a/tools/swig/test/setup.py
480+++ b/tools/swig/test/setup.py
481@@ -1,4 +1,4 @@
482-#! /usr/bin/env python
483+#!/usr/bin/env python3
484 from __future__ import division, print_function
485
486 # System imports
487diff --git a/tools/swig/test/testArray.py b/tools/swig/test/testArray.py
488index 8d9c797..54ffe71 100755
489--- a/tools/swig/test/testArray.py
490+++ b/tools/swig/test/testArray.py
491@@ -1,4 +1,4 @@
492-#! /usr/bin/env python
493+#!/usr/bin/env python3
494 from __future__ import division, absolute_import, print_function
495
496 # System imports
497diff --git a/tools/swig/test/testFarray.py b/tools/swig/test/testFarray.py
498index 0037dc9..bedf384 100755
499--- a/tools/swig/test/testFarray.py
500+++ b/tools/swig/test/testFarray.py
501@@ -1,4 +1,4 @@
502-#! /usr/bin/env python
503+#!/usr/bin/env python3
504 from __future__ import division, absolute_import, print_function
505
506 # System imports
507diff --git a/tools/swig/test/testFlat.py b/tools/swig/test/testFlat.py
508index 71be277..55034bf 100755
509--- a/tools/swig/test/testFlat.py
510+++ b/tools/swig/test/testFlat.py
511@@ -1,4 +1,4 @@
512-#! /usr/bin/env python
513+#!/usr/bin/env python3
514 from __future__ import division, absolute_import, print_function
515
516 # System imports
517diff --git a/tools/swig/test/testFortran.py b/tools/swig/test/testFortran.py
518index 426e894..0f7d0e6 100644
519--- a/tools/swig/test/testFortran.py
520+++ b/tools/swig/test/testFortran.py
521@@ -1,4 +1,4 @@
522-#! /usr/bin/env python
523+#!/usr/bin/env python3
524 from __future__ import division, absolute_import, print_function
525
526 # System imports
527diff --git a/tools/swig/test/testMatrix.py b/tools/swig/test/testMatrix.py
528index 065be0d..854a23c 100755
529--- a/tools/swig/test/testMatrix.py
530+++ b/tools/swig/test/testMatrix.py
531@@ -1,4 +1,4 @@
532-#! /usr/bin/env python
533+#!/usr/bin/env python3
534 from __future__ import division, absolute_import, print_function
535
536 # System imports
537diff --git a/tools/swig/test/testSuperTensor.py b/tools/swig/test/testSuperTensor.py
538index 97fe80c..31b63d0 100644
539--- a/tools/swig/test/testSuperTensor.py
540+++ b/tools/swig/test/testSuperTensor.py
541@@ -1,4 +1,4 @@
542-#! /usr/bin/env python
543+#!/usr/bin/env python3
544 from __future__ import division, print_function
545
546 # System imports
547diff --git a/tools/swig/test/testTensor.py b/tools/swig/test/testTensor.py
548index ac1b749..f47d9e8 100755
549--- a/tools/swig/test/testTensor.py
550+++ b/tools/swig/test/testTensor.py
551@@ -1,4 +1,4 @@
552-#! /usr/bin/env python
553+#!/usr/bin/env python3
554 from __future__ import division, absolute_import, print_function
555
556 # System imports
557diff --git a/tools/swig/test/testVector.py b/tools/swig/test/testVector.py
558index 45e763b..067b922 100755
559--- a/tools/swig/test/testVector.py
560+++ b/tools/swig/test/testVector.py
561@@ -1,4 +1,4 @@
562-#! /usr/bin/env python
563+#!/usr/bin/env python3
564 from __future__ import division, absolute_import, print_function
565
566 # System imports
567diff --git a/tools/test-installed-numpy.py b/tools/test-installed-numpy.py
568index 5240253..fd7541c 100755
569--- a/tools/test-installed-numpy.py
570+++ b/tools/test-installed-numpy.py
571@@ -1,4 +1,4 @@
572-#!/usr/bin/env python
573+#!/usr/bin/env python3
574 from __future__ import division, absolute_import, print_function
575
576 # A simple script to test the installed version of numpy by calling
577--
5782.7.4
579
diff --git a/meta/recipes-devtools/python-numpy/python-numpy.inc b/meta/recipes-devtools/python-numpy/python-numpy.inc
index 8413434af9..42032a04a8 100644
--- a/meta/recipes-devtools/python-numpy/python-numpy.inc
+++ b/meta/recipes-devtools/python-numpy/python-numpy.inc
@@ -8,6 +8,7 @@ SRCNAME = "numpy"
8SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \ 8SRC_URI = "https://github.com/${SRCNAME}/${SRCNAME}/releases/download/v${PV}/${SRCNAME}-${PV}.tar.gz \
9 file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \ 9 file://0001-Don-t-search-usr-and-so-on-for-libraries-by-default-.patch \
10 file://0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch \ 10 file://0001-numpy-random-setup.py-remove-the-detection-of-x86-ta.patch \
11 file://0001-convert-shebang-from-python-to-python3.patch \
11 " 12 "
12SRC_URI[md5sum] = "9147c3ee75e58d657b5b8b5a4f3564e0" 13SRC_URI[md5sum] = "9147c3ee75e58d657b5b8b5a4f3564e0"
13SRC_URI[sha256sum] = "fb0415475e673cb9a6dd816df999e0ab9f86fa3af2b1770944e7288d2bea4ac9" 14SRC_URI[sha256sum] = "fb0415475e673cb9a6dd816df999e0ab9f86fa3af2b1770944e7288d2bea4ac9"