File: python3-paths.patch

package info (click to toggle)
magics%2B%2B 4.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 94,096 kB
  • sloc: cpp: 164,444; xml: 27,055; perl: 6,352; ansic: 4,097; python: 3,761; sh: 739; javascript: 703; f90: 278; makefile: 90
file content (30 lines) | stat: -rw-r--r-- 1,028 bytes parent folder | 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
Index: magics++-4.5.0/tools/mapgen_clip
===================================================================
--- magics++-4.5.0.orig/tools/mapgen_clip
+++ magics++-4.5.0/tools/mapgen_clip
@@ -1,4 +1,4 @@
-#!/usr/bin/env python3
+#!/usr/bin/python3
 #
 # Copyright 2007 European Centre for Medium-Range Weather Forecasts (ECMWF)
 # 
Index: magics++-4.5.0/tools/xml2cc_mv.py
===================================================================
--- magics++-4.5.0.orig/tools/xml2cc_mv.py
+++ magics++-4.5.0/tools/xml2cc_mv.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 import jinja2
 from xml.sax.handler import ContentHandler
 from xml.sax import make_parser
Index: magics++-4.5.0/tools/xml2mv.py
===================================================================
--- magics++-4.5.0.orig/tools/xml2mv.py
+++ magics++-4.5.0/tools/xml2mv.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # (C) Copyright 1996-2016 ECMWF.
 #
 # This software is licensed under the terms of the Apache Licence Version 2.0