Debian Codegraph @

debian/patches/python3

raw
1 Author: Michael R. Crusoe <[email protected]>
2 Description: Scripts are already Python3 compatible; mark them as so
3 --- hhsuite.orig/scripts/a3m.py
4 +++ hhsuite/scripts/a3m.py
5 @@ -1,4 +1,4 @@
6 -#!/usr/bin/env python
7 +#!/usr/bin/env python3
8
9
10 class A3MFormatError(Exception):
11 --- hhsuite.orig/scripts/check_a3m.py
12 +++ hhsuite/scripts/check_a3m.py
13 @@ -1,4 +1,4 @@
14 -#!/usr/bin/env python
15 +#!/usr/bin/env python3
16
17 from a3m import A3M_Container
18 from a3m import A3MFormatError
19 --- hhsuite.orig/scripts/cif2fasta.py
20 +++ hhsuite/scripts/cif2fasta.py
21 @@ -1,4 +1,4 @@
22 -#!/usr/bin/env python
23 +#!/usr/bin/env python3
24
25 """
26 Created on Mon Jun 15 21:49:32 2015
27 --- hhsuite.orig/scripts/ffindex.py
28 +++ hhsuite/scripts/ffindex.py
29 @@ -1,4 +1,4 @@
30 -#!/usr/bin/env python
31 +#!/usr/bin/env python3
32
33 '''
34 Created on Apr 30, 2014
35 --- hhsuite.orig/scripts/get_a3m_size.py
36 +++ hhsuite/scripts/get_a3m_size.py
37 @@ -1,4 +1,4 @@
38 -#!/usr/bin/env python
39 +#!/usr/bin/env python3
40
41 from a3m import A3M_Container
42 from a3m import A3MFormatError
43 --- hhsuite.orig/scripts/hh_reader.py
44 +++ hhsuite/scripts/hh_reader.py
45 @@ -1,4 +1,4 @@
46 -#!/usr/bin/env python
47 +#!/usr/bin/env python3
48
49 """
50 Parser for hhr result files created with hhblits|hhsearch|hhalign -o <hhr_file>
51 --- hhsuite.orig/scripts/hhmakemodel.py
52 +++ hhsuite/scripts/hhmakemodel.py
53 @@ -1,4 +1,4 @@
54 -#!/usr/bin/env python
55 +#!/usr/bin/env python3
56
57 from hh_reader import read_result
58 from copy import deepcopy
59 --- hhsuite.orig/scripts/hhsuitedb.py
60 +++ hhsuite/scripts/hhsuitedb.py
61 @@ -1,4 +1,4 @@
62 -#!/usr/bin/env python
63 +#!/usr/bin/env python3
64
65 """
66 hhbsuite.py
67 --- hhsuite.orig/scripts/pdbfilter.py
68 +++ hhsuite/scripts/pdbfilter.py
69 @@ -1,4 +1,4 @@
70 -#!/usr/bin/env python
71 +#!/usr/bin/env python3
72
73 """
74 Created in Jun 2016