File: python3-shebang.patch

package info (click to toggle)
gubbins 3.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,940 kB
  • sloc: ansic: 5,069; python: 4,964; sh: 236; makefile: 133; cpp: 27
file content (71 lines) | stat: -rw-r--r-- 1,782 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
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
Description: fix unversioned Python shebang of a couple of scripts.

Author: Étienne Mollier <emollier@debian.org>
Forwarded: not-needed
Last-Update: 2024-05-22
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- gubbins.orig/python/gubbins/pyjar.py
+++ gubbins/python/gubbins/pyjar.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # encoding: utf-8
 #
 # pyjar written by Simon Harris
--- gubbins.orig/python/gubbins/run_gubbins.py
+++ gubbins/python/gubbins/run_gubbins.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # encoding: utf-8
 #
 # Wellcome Trust Sanger Institute
--- gubbins.orig/python/gubbins/PreProcessFasta.py
+++ gubbins/python/gubbins/PreProcessFasta.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # encoding: utf-8
 
 import sys
--- gubbins.orig/python/gubbins/ValidateFastaAlignment.py
+++ gubbins/python/gubbins/ValidateFastaAlignment.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # encoding: utf-8
 
 import os
--- gubbins.orig/python/gubbins/__init__.py
+++ gubbins/python/gubbins/__init__.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # encoding: utf-8
 
 """
--- gubbins.orig/python/gubbins/common.py
+++ gubbins/python/gubbins/common.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # encoding: utf-8
 #
 # Wellcome Trust Sanger Institute
--- gubbins.orig/python/gubbins/treebuilders.py
+++ gubbins/python/gubbins/treebuilders.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # encoding: utf-8
 #
 # Wellcome Trust Sanger Institute
--- gubbins.orig/python/gubbins/utils.py
+++ gubbins/python/gubbins/utils.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python3
 # encoding: utf-8
 #
 # Wellcome Trust Sanger Institute