Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/amos/files: amos-3.1.0-goBambus2.py-indent-and-cleanup.patch
Date: Sun, 29 Dec 2013 00:24:21
Message-Id: 20131229002417.0A6FA2004E@flycatcher.gentoo.org
1 jlec 13/12/29 00:24:16
2
3 Added: amos-3.1.0-goBambus2.py-indent-and-cleanup.patch
4 Log:
5 sci-biology/amos: Fix python support
6
7 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
8
9 Revision Changes Path
10 1.1 sci-biology/amos/files/amos-3.1.0-goBambus2.py-indent-and-cleanup.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/amos/files/amos-3.1.0-goBambus2.py-indent-and-cleanup.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/amos/files/amos-3.1.0-goBambus2.py-indent-and-cleanup.patch?rev=1.1&content-type=text/plain
14
15 Index: amos-3.1.0-goBambus2.py-indent-and-cleanup.patch
16 ===================================================================
17 --- amos-3.1.0/src/Pipeline/goBambus2.py.orig 2013-09-11 01:05:29.850090457 +0200
18 +++ amos-3.1.0/src/Pipeline/goBambus2.py 2013-09-11 01:07:03.250090701 +0200
19 @@ -1,7 +1,7 @@
20 #pipeline script for assembly + Bambus 2
21 #contributed by Todd J Treangen
22
23 -import string, sys, os, subprocess#, spincursor
24 +import sys, os, subprocess#, spincursor
25
26 RED = "\033[0;31m"
27 GREEN = "\033[0;32m"
28 @@ -360,7 +360,7 @@
29 print "\t\t%s...failed%s"%(RED,NONE)
30 sys.exit(1)
31
32 - p = subprocess.Popen(AMOSDIR+"OutputResults -b %s -prefix %s %s"%(amosbank, prefix+".scaff.linear"), shell=True, stdin=subprocess.PIPE, stdout=vtext, stderr=logfile)
33 + p = subprocess.Popen(AMOSDIR+"OutputResults -b %s -prefix %s %s"%(amosbank, prefix+".scaff.linear"), shell=True, stdin=subprocess.PIPE, stdout=vtext, stderr=logfile)
34
35 if xopt_dict["verbose"] == 1:
36 print "10) running OutputResults"
37 @@ -388,4 +388,3 @@
38 else:
39 print "\t\t%s...failed%s"%(RED,NONE)
40 sys.exit(1)
41 -)