Package: python-cogent / 1.9-14

fix_python_shebang_line.patch Patch series | 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
Author: Steffen Moeller <moeller@debian.org>
Description: fix path to python interpreter
--- PyCogent-1.5.3.orig/cogent/align/dp_calculation.py
+++ PyCogent-1.5.3/cogent/align/dp_calculation.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env/python
+#!/usr/bin/python
 
 from cogent.maths.markov import SiteClassTransitionMatrix
 from cogent.recalculation.definition import PositiveParamDefn, \
--- PyCogent-1.5.3.orig/cogent/data/molecular_weight.py
+++ PyCogent-1.5.3/cogent/data/molecular_weight.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env Python
+#!/usr/bin/python
 """Data for molecular weight calculations on proteins and nucleotides."""
 
 __author__ = "Rob Knight"
--- PyCogent-1.5.3.orig/cogent/format/text_tree.py
+++ PyCogent-1.5.3/cogent/format/text_tree.py
@@ -1,4 +1,4 @@
-#!/bin/env python
+#!/usr/bin/python
 # file text_tree.py
 """Simple base text representation of phylo tree."""
 
--- PyCogent-1.5.3.orig/cogent/recalculation/__init__.py
+++ PyCogent-1.5.3/cogent/recalculation/__init__.py
@@ -1,4 +1,4 @@
-#!/usr/bin/envthon
+#!/usr/bin/python
 __all__ = ['array', 'calculation', 'definition', 'scope', 'setting']
 
 __author__ = "Peter Maxwell"
--- PyCogent-1.5.3.orig/cogent/recalculation/setting.py
+++ PyCogent-1.5.3/cogent/recalculation/setting.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python'
+#!/usr/bin/python
 """Instances of these classes are assigned to different parameter/scopes
 by a parameter controller"""
 
--- PyCogent-1.5.3.orig/cogent/phylo/maximum_likelihood.py
+++ PyCogent-1.5.3/cogent/phylo/maximum_likelihood.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python'
+#!/usr/bin/python
 from tree_space import TreeEvaluator, ancestry2tree
 from least_squares import WLS
 from math import exp