Package: plplot / 5.15.0+dfsg2-15

python3-interpreter-in-examples.patch Patch series | 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
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
Description: Use python3 instead of python as the interpreter for the examples
 This avoids the numerous Litian warnings example-unusual-interpreter.
Author: Rafael Laboissière <rafael@debian.org>
Forwarded: not-needed
Last-Update: 2020-11-21

--- plplot-5.15.0+dfsg.orig/examples/python/plplot_logo.py
+++ plplot-5.15.0+dfsg/examples/python/plplot_logo.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2008-2016 Alan W. Irwin
 #
--- plplot-5.15.0+dfsg.orig/examples/python/pyqt4_example.py
+++ plplot-5.15.0+dfsg/examples/python/pyqt4_example.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # A simple PLplot/PyQt example
 #
--- plplot-5.15.0+dfsg.orig/examples/python/pyqt5_example.py
+++ plplot-5.15.0+dfsg/examples/python/pyqt5_example.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # A simple PLplot/PyQt example
 #
--- plplot-5.15.0+dfsg.orig/examples/python/pythondemos.py
+++ plplot-5.15.0+dfsg/examples/python/pythondemos.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/pytkdemo
+++ plplot-5.15.0+dfsg/examples/python/pytkdemo
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*-python-*-
 # Geoffrey Furnish
 #
--- plplot-5.15.0+dfsg.orig/examples/python/test_axis_precision.py
+++ plplot-5.15.0+dfsg/examples/python/test_axis_precision.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Append to effective python path so that can find plplot modules.
 from plplot_python_start import *
--- plplot-5.15.0+dfsg.orig/examples/python/test_circle.py
+++ plplot-5.15.0+dfsg/examples/python/test_circle.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8; -*-
 
 # Append to effective python path so that can find plplot modules.
--- plplot-5.15.0+dfsg.orig/examples/python/test_fill.py
+++ plplot-5.15.0+dfsg/examples/python/test_fill.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Simple test of plfill for the case where the polygon is just outside the
 # window.
 
--- plplot-5.15.0+dfsg.orig/examples/python/test_gradient.py
+++ plplot-5.15.0+dfsg/examples/python/test_gradient.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Simple test of plgradient for a complicated polygon.
 
 # Append to effective python path so that can find plplot modules.
--- plplot-5.15.0+dfsg.orig/examples/python/test_hebrew_diacritic.py
+++ plplot-5.15.0+dfsg/examples/python/test_hebrew_diacritic.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8; -*-
 #  Copyright (C) 2010-2016 Alan W. Irwin
 
--- plplot-5.15.0+dfsg.orig/examples/python/test_linebreak.py
+++ plplot-5.15.0+dfsg/examples/python/test_linebreak.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8; -*-
 # Test whether line breaks work for utf8 "Peace" strings.
 # Append to effective python path so that can find plplot modules.
--- plplot-5.15.0+dfsg.orig/examples/python/test_plplot_encodings.py
+++ plplot-5.15.0+dfsg/examples/python/test_plplot_encodings.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8; -*-
 # Test whether utf8 and PLplot #[0x...] unicode encoding give same result.
 # Also test whether #<FCI-COMMAND-STRING/> form works to change font
--- plplot-5.15.0+dfsg.orig/examples/python/test_plsmem.py.in
+++ plplot-5.15.0+dfsg/examples/python/test_plsmem.py.in
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #  Copyright (C) 2010 Simon Wood
 #  Copyright (C) 2010 Hazen Babcock
--- plplot-5.15.0+dfsg.orig/examples/python/test_style.py
+++ plplot-5.15.0+dfsg/examples/python/test_style.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Test of all line styles and box styles using pllegend.
 
 # Append to effective python path so that can find plplot modules.
--- plplot-5.15.0+dfsg.orig/examples/python/test_superscript_subscript.py
+++ plplot-5.15.0+dfsg/examples/python/test_superscript_subscript.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Append to effective python path so that can find plplot modules.
 from plplot_python_start import *
--- plplot-5.15.0+dfsg.orig/examples/python/test_symbol_clip.py
+++ plplot-5.15.0+dfsg/examples/python/test_symbol_clip.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Append to effective python path so that can find plplot modules.
 from plplot_python_start import *
--- plplot-5.15.0+dfsg.orig/examples/python/test_type1.py
+++ plplot-5.15.0+dfsg/examples/python/test_type1.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright 2010-2016 Alan W. Irwin
 # This file is part of PLplot.
--- plplot-5.15.0+dfsg.orig/examples/python/testh.py
+++ plplot-5.15.0+dfsg/examples/python/testh.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Append to effective python path so that can find plplot modules.
 from plplot_python_start import *
--- plplot-5.15.0+dfsg.orig/examples/python/tutor.py
+++ plplot-5.15.0+dfsg/examples/python/tutor.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # tutor.c
 # Tony Richardson
--- plplot-5.15.0+dfsg.orig/examples/python/x00
+++ plplot-5.15.0+dfsg/examples/python/x00
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2012 Andrew Ross
 # Copyright (C) 2012-2016 Alan W. Irwin
--- plplot-5.15.0+dfsg.orig/examples/python/x01
+++ plplot-5.15.0+dfsg/examples/python/x01
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x02
+++ plplot-5.15.0+dfsg/examples/python/x02
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x03
+++ plplot-5.15.0+dfsg/examples/python/x03
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x04
+++ plplot-5.15.0+dfsg/examples/python/x04
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x05
+++ plplot-5.15.0+dfsg/examples/python/x05
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x06
+++ plplot-5.15.0+dfsg/examples/python/x06
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x07
+++ plplot-5.15.0+dfsg/examples/python/x07
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x08
+++ plplot-5.15.0+dfsg/examples/python/x08
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x09
+++ plplot-5.15.0+dfsg/examples/python/x09
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x10
+++ plplot-5.15.0+dfsg/examples/python/x10
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x11
+++ plplot-5.15.0+dfsg/examples/python/x11
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x12
+++ plplot-5.15.0+dfsg/examples/python/x12
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x13
+++ plplot-5.15.0+dfsg/examples/python/x13
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x14
+++ plplot-5.15.0+dfsg/examples/python/x14
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004  Alan W. Irwin
 # Copyright (C) 2004  Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x14.py
+++ plplot-5.15.0+dfsg/examples/python/x14.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #  Copyright (C) 2001-2017 Alan W. Irwin
 
--- plplot-5.15.0+dfsg.orig/examples/python/x15
+++ plplot-5.15.0+dfsg/examples/python/x15
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x16
+++ plplot-5.15.0+dfsg/examples/python/x16
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x17
+++ plplot-5.15.0+dfsg/examples/python/x17
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004  Alan W. Irwin
 # Copyright (C) 2004  Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x17.py
+++ plplot-5.15.0+dfsg/examples/python/x17.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright 2002 Gary Bishop
 # Copyright 2004-2016 Alan W. Irwin
--- plplot-5.15.0+dfsg.orig/examples/python/x18
+++ plplot-5.15.0+dfsg/examples/python/x18
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x19
+++ plplot-5.15.0+dfsg/examples/python/x19
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x20
+++ plplot-5.15.0+dfsg/examples/python/x20
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-0216 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x21
+++ plplot-5.15.0+dfsg/examples/python/x21
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x22
+++ plplot-5.15.0+dfsg/examples/python/x22
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x23
+++ plplot-5.15.0+dfsg/examples/python/x23
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x24
+++ plplot-5.15.0+dfsg/examples/python/x24
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x25
+++ plplot-5.15.0+dfsg/examples/python/x25
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x26
+++ plplot-5.15.0+dfsg/examples/python/x26
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x27
+++ plplot-5.15.0+dfsg/examples/python/x27
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x28
+++ plplot-5.15.0+dfsg/examples/python/x28
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x29
+++ plplot-5.15.0+dfsg/examples/python/x29
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x30
+++ plplot-5.15.0+dfsg/examples/python/x30
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/x31
+++ plplot-5.15.0+dfsg/examples/python/x31
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # This is a standalone example since at least one of the tests spans
 # plinit so must be done in the same module.
--- plplot-5.15.0+dfsg.orig/examples/python/x31.py
+++ plplot-5.15.0+dfsg/examples/python/x31.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #  Copyright (C) 2008-2016 Alan W. Irwin
 
--- plplot-5.15.0+dfsg.orig/examples/python/x33
+++ plplot-5.15.0+dfsg/examples/python/x33
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Copyright (C) 2004-2016 Alan W. Irwin
 # Copyright (C) 2004 Andrew Ross
--- plplot-5.15.0+dfsg.orig/examples/python/xtkpy
+++ plplot-5.15.0+dfsg/examples/python/xtkpy
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # This is a Python/Tk toolbar to run the Python demos.  Perhpas
 # eventually we will be able to have plframe in a Python/Tk context.