File: python3.patch

package info (click to toggle)
boinc 8.2.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 110,632 kB
  • sloc: cpp: 178,901; php: 115,537; pascal: 56,058; ansic: 49,303; xml: 17,863; python: 8,756; javascript: 6,538; sh: 5,800; makefile: 2,254; objc: 1,867; perl: 1,843; sql: 831; java: 429; lisp: 47; csh: 30
file content (57 lines) | stat: -rw-r--r-- 1,710 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
Index: boinc/py/Boinc/add_util.py
===================================================================
--- boinc.orig/py/Boinc/add_util.py
+++ boinc/py/Boinc/add_util.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # add_util.py - used in make_project
 
Index: boinc/py/Boinc/boincxml.py
===================================================================
--- boinc.orig/py/Boinc/boincxml.py
+++ boinc/py/Boinc/boincxml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # boincxml.py - XML utilities for boinc
 
Index: boinc/py/Boinc/configxml.py
===================================================================
--- boinc.orig/py/Boinc/configxml.py
+++ boinc/py/Boinc/configxml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # configxml.py - module to read and parse config.xml, run_state.xml
 
Index: boinc/py/Boinc/projectxml.py
===================================================================
--- boinc.orig/py/Boinc/projectxml.py
+++ boinc/py/Boinc/projectxml.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 
 # projectxml.py - module to read and parse project.xml
 
Index: boinc/py/Makefile.am
===================================================================
--- boinc.orig/py/Makefile.am
+++ boinc/py/Makefile.am
@@ -29,10 +29,10 @@ $(srcdir)/Boinc/boinc_db.py: $(top_srcdi
 # all: $(srcdir)/Boinc/boinc_db.py
 
 all-local:
-	python setup.py build --build-base=$(top_builddir)/py
+	python3 setup.py build --build-base=$(top_builddir)/py
 
 install-exec-local:
-	python setup.py install --prefix=$(prefix) --root=$(DESTDIR)
+	python3 setup.py install --prefix=$(prefix) --root=$(DESTDIR)
 
 clean:
 	rm -rf $(top_builddir)/py/lib.*