Gentoo Archives: gentoo-commits

From: "Raul Porcel (armin76)" <armin76@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/bittornado/files: bittornado-0.3.18-wxversion.patch digest-bittornado-0.3.18-r1 bittornado-wxpython-pre2.5-fix.patch digest-bittornado-0.3.18
Date: Tue, 04 Dec 2007 19:12:01
Message-Id: E1IzdBU-00031Z-F1@stork.gentoo.org
1 armin76 07/12/04 19:11:56
2
3 Added: bittornado-0.3.18-wxversion.patch
4 digest-bittornado-0.3.18-r1
5 Removed: bittornado-wxpython-pre2.5-fix.patch
6 digest-bittornado-0.3.18
7 Log:
8 Add patch to use wxPython-2.6, by Ryan Hill <dirtyepic at gentoo dot org>, bug #201247 and remove ancient patch
9 (Portage version: 2.1.3.19, RepoMan options: --force)
10
11 Revision Changes Path
12 1.1 net-p2p/bittornado/files/bittornado-0.3.18-wxversion.patch
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittornado/files/bittornado-0.3.18-wxversion.patch?rev=1.1&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittornado/files/bittornado-0.3.18-wxversion.patch?rev=1.1&content-type=text/plain
16
17 Index: bittornado-0.3.18-wxversion.patch
18 ===================================================================
19 diff -Naur BitTornado-CVS-orig/btcompletedirgui.py BitTornado-CVS/btcompletedirgui.py
20 --- BitTornado-CVS-orig/btcompletedirgui.py 2006-12-23 12:20:52.000000000 -0600
21 +++ BitTornado-CVS/btcompletedirgui.py 2007-12-04 11:09:36.000000000 -0600
22 @@ -19,12 +19,16 @@
23 import sys
24 from os import getcwd
25 from os.path import join
26 +
27 try:
28 - from wxPython.wx import *
29 -except:
30 - print 'wxPython is either not installed or has not been installed properly.'
31 + import wxversion
32 + wxversion.select("2.6")
33 +except Exception, e:
34 + print >> sys.stderr, "%s: wxPython 2.6 not installed." %e
35 sys.exit(1)
36
37 +from wxPython.wx import *
38 +
39 try:
40 True
41 except:
42 diff -Naur BitTornado-CVS-orig/btdownloadgui.py BitTornado-CVS/btdownloadgui.py
43 --- BitTornado-CVS-orig/btdownloadgui.py 2007-12-04 11:06:58.000000000 -0600
44 +++ BitTornado-CVS/btdownloadgui.py 2007-12-04 11:10:36.000000000 -0600
45 @@ -18,10 +18,13 @@
46 assert version >= '2', "Install Python 2.0 or greater"
47
48 try:
49 - from wxPython.wx import *
50 -except:
51 - print 'wxPython is either not installed or has not been installed properly.'
52 - exit(1)
53 + import wxversion
54 + wxversion.select("2.6")
55 +except Exception, e:
56 + print >> sys.stderr, "%s: wxPython 2.6 not installed." %e
57 + sys.exit(1)
58 +
59 +from wxPython.wx import *
60 from BitTornado.download_bt1 import BT1Download, defaults, parse_params, get_usage, get_response
61 from BitTornado.RawServer import RawServer, UPnP_ERROR
62 from random import seed
63 diff -Naur BitTornado-CVS-orig/btmaketorrentgui.py BitTornado-CVS/btmaketorrentgui.py
64 --- BitTornado-CVS-orig/btmaketorrentgui.py 2006-12-23 12:20:56.000000000 -0600
65 +++ BitTornado-CVS/btmaketorrentgui.py 2007-12-04 11:11:30.000000000 -0600
66 @@ -21,12 +21,16 @@
67 import sys
68 from os import getcwd
69 from os.path import join, isdir
70 +
71 try:
72 - from wxPython.wx import *
73 -except:
74 - print 'wxPython is either not installed or has not been installed properly.'
75 + import wxversion
76 + wxversion.select("2.6")
77 +except Exception, e:
78 + print >> sys.stderr, "%s: wxPython 2.6 not installed." %e
79 sys.exit(1)
80
81 +from wxPython.wx import *
82 +
83 try:
84 True
85 except:
86 diff -Naur BitTornado-CVS-orig/bt-t-make.py BitTornado-CVS/bt-t-make.py
87 --- BitTornado-CVS-orig/bt-t-make.py 2006-12-23 12:20:52.000000000 -0600
88 +++ BitTornado-CVS/bt-t-make.py 2007-12-04 11:14:35.000000000 -0600
89 @@ -22,12 +22,16 @@
90 from os import getcwd, listdir
91 from os.path import join, isdir
92 from traceback import print_exc
93 +
94 try:
95 - from wxPython.wx import *
96 -except:
97 - print 'wxPython is either not installed or has not been installed properly.'
98 + import wxversion
99 + wxversion.select("2.6")
100 +except Exception, e:
101 + print >> sys.stderr, "%s: wxPython 2.6 not installed." %e
102 sys.exit(1)
103
104 +from wxPython.wx import *
105 +
106 try:
107 True
108 except:
109
110
111
112 1.1 net-p2p/bittornado/files/digest-bittornado-0.3.18-r1
113
114 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittornado/files/digest-bittornado-0.3.18-r1?rev=1.1&view=markup
115 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/bittornado/files/digest-bittornado-0.3.18-r1?rev=1.1&content-type=text/plain
116
117 Index: digest-bittornado-0.3.18-r1
118 ===================================================================
119 RMD160 77e61f01101c2878d4e993e0581365a71c375892 BitTornado-0.3.18.tar.gz 189227
120 SHA256 d9e6ad0bf5b2e9820bab809c5a4fcd94e844a57f396ac51547fe47dbe255d9e0 BitTornado-0.3.18.tar.gz 189227
121
122
123
124 --
125 gentoo-commits@g.o mailing list