File: Use_python3.patch

package info (click to toggle)
openscad 2021.01-9
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 36,096 kB
  • sloc: cpp: 53,199; sh: 4,384; ansic: 4,382; python: 1,813; yacc: 853; javascript: 762; lex: 417; lisp: 163; xml: 127; makefile: 118
file content (132 lines) | stat: -rw-r--r-- 3,828 bytes parent folder | download | duplicates (3)
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
From: Kristian Nielsen <knielsen@knielsen-hq.org>
Date: Wed, 2 Jan 2019 17:10:41 +0100
Subject: Use #!/usr/bin/python3 shebang

Following Debian Pyhthon policy, use #!/usr/bin/python3 in executable python
scripts over #!/usr/bin/env python.

Forwarded: not-needed
---
 scripts/git-archive-all.py     | 2 +-
 scripts/macosx-sanity-check.py | 2 +-
 scripts/makereleasejson.py     | 2 +-
 tests/cgalstlsanitytest        | 2 +-
 tests/export_import_pngtest.py | 2 +-
 tests/export_pngtest.py        | 2 +-
 tests/mingw_convert_ctest.py   | 2 +-
 tests/shouldfail.py            | 2 +-
 tests/test_cmdline_tool.py     | 2 +-
 tests/test_pretty_print.py     | 2 +-
 tests/validatestl.py           | 2 +-
 11 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/scripts/git-archive-all.py b/scripts/git-archive-all.py
index 0bfa585..37dfcde 100755
--- a/scripts/git-archive-all.py
+++ b/scripts/git-archive-all.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/python3
 # coding=utf-8
 
 from __future__ import print_function
diff --git a/scripts/macosx-sanity-check.py b/scripts/macosx-sanity-check.py
index 0724efa..fe6d50c 100755
--- a/scripts/macosx-sanity-check.py
+++ b/scripts/macosx-sanity-check.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 #
 # This is used to verify that all the dependant libraries of a Mac OS X executable
diff --git a/scripts/makereleasejson.py b/scripts/makereleasejson.py
index 58ef124..9276c17 100755
--- a/scripts/makereleasejson.py
+++ b/scripts/makereleasejson.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # Used by github-release.sh
 
diff --git a/tests/cgalstlsanitytest b/tests/cgalstlsanitytest
index dc75f5e..566d409 100755
--- a/tests/cgalstlsanitytest
+++ b/tests/cgalstlsanitytest
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 import re, sys, subprocess, os
 from validatestl import validateSTL
diff --git a/tests/export_import_pngtest.py b/tests/export_import_pngtest.py
index 06406fe..75529ea 100644
--- a/tests/export_import_pngtest.py
+++ b/tests/export_import_pngtest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # Export-import test
 #
diff --git a/tests/export_pngtest.py b/tests/export_pngtest.py
index f34983c..d9096fa 100644
--- a/tests/export_pngtest.py
+++ b/tests/export_pngtest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # Export test
 #
diff --git a/tests/mingw_convert_ctest.py b/tests/mingw_convert_ctest.py
index b33de39..7ccff4d 100644
--- a/tests/mingw_convert_ctest.py
+++ b/tests/mingw_convert_ctest.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 #
 # Mingw_x_testfile - convert paths in CTestTestfile.cmake so they work 
diff --git a/tests/shouldfail.py b/tests/shouldfail.py
index bdc34b6..393ca00 100644
--- a/tests/shouldfail.py
+++ b/tests/shouldfail.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # Test expected failure
 #
diff --git a/tests/test_cmdline_tool.py b/tests/test_cmdline_tool.py
index 7ee31a5..0dcb923 100755
--- a/tests/test_cmdline_tool.py
+++ b/tests/test_cmdline_tool.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 #
 # Regression test driver for cmd-line tools
 #
diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py
index 9e0cb50..71d5731 100644
--- a/tests/test_pretty_print.py
+++ b/tests/test_pretty_print.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 # test_pretty_print by don bright 2012. Copyright assigned to Marius Kintel and
 # Clifford Wolf 2012. Released under the GPL 2, or later, as described in
diff --git a/tests/validatestl.py b/tests/validatestl.py
index d8e4aac..4716306 100755
--- a/tests/validatestl.py
+++ b/tests/validatestl.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 
 #
 # Simple tool to validate an STL.