Package: jsxgraph / 1.10.1+dfsg1-1

python3.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
Index: jsxgraph/JSXCompressor/compress.py
===================================================================
--- jsxgraph.orig/JSXCompressor/compress.py
+++ jsxgraph/JSXCompressor/compress.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 '''
     Copyright 2009-2013
Index: jsxgraph/JSXCompressor/decompress.py
===================================================================
--- jsxgraph.orig/JSXCompressor/decompress.py
+++ jsxgraph/JSXCompressor/decompress.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 '''
     Copyright 2009-2020
Index: jsxgraph/utils/makeexample.py
===================================================================
--- jsxgraph.orig/utils/makeexample.py
+++ jsxgraph/utils/makeexample.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 '''
     Copyright 2009-2020
Index: jsxgraph/examples/bspnc/decompress.py
===================================================================
--- jsxgraph.orig/examples/bspnc/decompress.py
+++ jsxgraph/examples/bspnc/decompress.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # -*- coding: utf-8 -*-
 '''
     Copyright 2009
@@ -43,4 +43,4 @@ if __name__ == '__main__':
     #text = base64.b64encode(zlib.compress(urllib.quote(text), 9))
     text = urllib.unquote(zlib.decompress(base64.b64decode(text)))
     #text = zlib.decompress(base64.b64decode(text))
-    print text
+    print (text)