File: 0011-Switch-shebang-to-Python-3.patch

package info (click to toggle)
ros-ros-comm 1.17.4%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,400 kB
  • sloc: cpp: 42,116; python: 38,991; xml: 2,665; ansic: 2,384; sh: 274; makefile: 30
file content (172 lines) | stat: -rw-r--r-- 6,333 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
Date: Sun, 5 Apr 2020 20:50:41 +0200
Subject: Switch shebang to Python 3

---
 clients/roscpp/rosbuild/scripts/genmsg_cpp.py | 2 +-
 clients/roscpp/rosbuild/scripts/gensrv_cpp.py | 2 +-
 clients/roscpp/rosbuild/scripts/msg_gen.py    | 2 +-
 clients/rospy/rosbuild/scripts/genmsg_py.py   | 2 +-
 clients/rospy/rosbuild/scripts/gensrv_py.py   | 2 +-
 tools/topic_tools/scripts/demux_add           | 2 +-
 tools/topic_tools/scripts/demux_delete        | 2 +-
 tools/topic_tools/scripts/demux_list          | 2 +-
 tools/topic_tools/scripts/demux_select        | 2 +-
 tools/topic_tools/scripts/mux_add             | 2 +-
 tools/topic_tools/scripts/mux_delete          | 2 +-
 tools/topic_tools/scripts/mux_list            | 2 +-
 tools/topic_tools/scripts/mux_select          | 2 +-
 tools/topic_tools/scripts/relay_field         | 2 +-
 tools/topic_tools/scripts/transform           | 2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/clients/roscpp/rosbuild/scripts/genmsg_cpp.py b/clients/roscpp/rosbuild/scripts/genmsg_cpp.py
index e9b1dfb..7077c9e 100755
--- a/clients/roscpp/rosbuild/scripts/genmsg_cpp.py
+++ b/clients/roscpp/rosbuild/scripts/genmsg_cpp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2009, Willow Garage, Inc.
diff --git a/clients/roscpp/rosbuild/scripts/gensrv_cpp.py b/clients/roscpp/rosbuild/scripts/gensrv_cpp.py
index 20c5dcd..63b46c8 100755
--- a/clients/roscpp/rosbuild/scripts/gensrv_cpp.py
+++ b/clients/roscpp/rosbuild/scripts/gensrv_cpp.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2009, Willow Garage, Inc.
diff --git a/clients/roscpp/rosbuild/scripts/msg_gen.py b/clients/roscpp/rosbuild/scripts/msg_gen.py
index 599cc02..e3c37e8 100755
--- a/clients/roscpp/rosbuild/scripts/msg_gen.py
+++ b/clients/roscpp/rosbuild/scripts/msg_gen.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2009, Willow Garage, Inc.
diff --git a/clients/rospy/rosbuild/scripts/genmsg_py.py b/clients/rospy/rosbuild/scripts/genmsg_py.py
index b0d55e6..83f0ada 100755
--- a/clients/rospy/rosbuild/scripts/genmsg_py.py
+++ b/clients/rospy/rosbuild/scripts/genmsg_py.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/clients/rospy/rosbuild/scripts/gensrv_py.py b/clients/rospy/rosbuild/scripts/gensrv_py.py
index 6741bdd..40de447 100755
--- a/clients/rospy/rosbuild/scripts/gensrv_py.py
+++ b/clients/rospy/rosbuild/scripts/gensrv_py.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/tools/topic_tools/scripts/demux_add b/tools/topic_tools/scripts/demux_add
index 5459e25..ad0ba70 100755
--- a/tools/topic_tools/scripts/demux_add
+++ b/tools/topic_tools/scripts/demux_add
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/tools/topic_tools/scripts/demux_delete b/tools/topic_tools/scripts/demux_delete
index bd1905a..3e0e89e 100755
--- a/tools/topic_tools/scripts/demux_delete
+++ b/tools/topic_tools/scripts/demux_delete
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/tools/topic_tools/scripts/demux_list b/tools/topic_tools/scripts/demux_list
index be540c4..caf03ad 100755
--- a/tools/topic_tools/scripts/demux_list
+++ b/tools/topic_tools/scripts/demux_list
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/tools/topic_tools/scripts/demux_select b/tools/topic_tools/scripts/demux_select
index 863a62d..2cc0890 100755
--- a/tools/topic_tools/scripts/demux_select
+++ b/tools/topic_tools/scripts/demux_select
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/tools/topic_tools/scripts/mux_add b/tools/topic_tools/scripts/mux_add
index 944b4cf..694a459 100755
--- a/tools/topic_tools/scripts/mux_add
+++ b/tools/topic_tools/scripts/mux_add
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/tools/topic_tools/scripts/mux_delete b/tools/topic_tools/scripts/mux_delete
index f8e6c66..c90acb8 100755
--- a/tools/topic_tools/scripts/mux_delete
+++ b/tools/topic_tools/scripts/mux_delete
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/tools/topic_tools/scripts/mux_list b/tools/topic_tools/scripts/mux_list
index c369888..ae687f7 100755
--- a/tools/topic_tools/scripts/mux_list
+++ b/tools/topic_tools/scripts/mux_list
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/tools/topic_tools/scripts/mux_select b/tools/topic_tools/scripts/mux_select
index f39c96c..0f7e7c0 100755
--- a/tools/topic_tools/scripts/mux_select
+++ b/tools/topic_tools/scripts/mux_select
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # Software License Agreement (BSD License)
 #
 # Copyright (c) 2008, Willow Garage, Inc.
diff --git a/tools/topic_tools/scripts/relay_field b/tools/topic_tools/scripts/relay_field
index 1b767f8..db2228e 100755
--- a/tools/topic_tools/scripts/relay_field
+++ b/tools/topic_tools/scripts/relay_field
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 
 """
diff --git a/tools/topic_tools/scripts/transform b/tools/topic_tools/scripts/transform
index de812b2..f5d60f4 100755
--- a/tools/topic_tools/scripts/transform
+++ b/tools/topic_tools/scripts/transform
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 
 """