From: | "Ryan Hill (dirtyepic)" <dirtyepic@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-util/documancer/files: documancer-0.2.6-wxversion.patch |
Date: | Wed, 05 Dec 2007 03:45:21 |
Message-Id: | E1IzlCE-0000Jg-Ia@stork.gentoo.org |
1 | dirtyepic 07/12/05 03:45:14 |
2 | |
3 | Added: documancer-0.2.6-wxversion.patch |
4 | Log: |
5 | Lock to wxpython-2.6 with wxversion. Make executable executable. |
6 | (Portage version: 2.1.4_rc7) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-util/documancer/files/documancer-0.2.6-wxversion.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/documancer/files/documancer-0.2.6-wxversion.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/documancer/files/documancer-0.2.6-wxversion.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: documancer-0.2.6-wxversion.patch |
15 | =================================================================== |
16 | diff -Naur documancer-0.2.6-orig/src/utils.py documancer-0.2.6/src/utils.py |
17 | --- documancer-0.2.6-orig/src/utils.py 2005-06-09 01:32:30.000000000 -0600 |
18 | +++ documancer-0.2.6/src/utils.py 2007-12-04 21:40:43.000000000 -0600 |
19 | @@ -121,6 +121,12 @@ |
20 | def config(): |
21 | global __configObject |
22 | if __configObject == None: |
23 | + try: |
24 | + import wxversion |
25 | + wxversion.select("2.6") |
26 | + except Exception, e: |
27 | + print >> sys.stderr, "%s: wxPython 2.6 not installed." %e |
28 | + sys.exit(1) |
29 | import wxPython.wx |
30 | if sys.platform == 'win32': |
31 | cfg = wxPython.wx.wxConfig('Documancer', 'Vaclav Slavik') |
32 | |
33 | |
34 | |
35 | -- |
36 | gentoo-commits@g.o mailing list |