File: 0003-Use-python3.patch

package info (click to toggle)
mcpl 1.3.2-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 4,336 kB
  • sloc: ansic: 69,469; python: 2,689; cpp: 408; makefile: 40
file content (40 lines) | stat: -rw-r--r-- 1,372 bytes parent folder | download | duplicates (2)
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
From: Roland Mas <roland.mas@entierement.net>
Date: Wed, 1 Dec 2021 23:55:49 +0100
Subject: Use python3

---
 examples/pyexample_readmcpl | 2 +-
 src/python/mcpl.py          | 2 +-
 src/python/pymcpltool       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/pyexample_readmcpl b/examples/pyexample_readmcpl
index bd964bc..134dc44 100755
--- a/examples/pyexample_readmcpl
+++ b/examples/pyexample_readmcpl
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ###################################################################################
 #                                                                                 #
diff --git a/src/python/mcpl.py b/src/python/mcpl.py
index 52f1711..cc7a73f 100644
--- a/src/python/mcpl.py
+++ b/src/python/mcpl.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Python module for accessing MCPL files.
 
 The MCPL (Monte Carlo Particle Lists) format is thoroughly documented on the
diff --git a/src/python/pymcpltool b/src/python/pymcpltool
index 5802088..5812448 100755
--- a/src/python/pymcpltool
+++ b/src/python/pymcpltool
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ###################################################################################
 #                                                                                 #