/[gentoo-x86]/dev-python/python-dsv/files/python-dsv-1.4.1-wxversion.patch
Gentoo

Contents of /dev-python/python-dsv/files/python-dsv-1.4.1-wxversion.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Fri Nov 11 21:41:49 2011 UTC (8 years, 4 months ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/x-diff
Version bump and use wxpython 2.8 instead of 2.6 wrt #330683

(Portage version: 2.2.0_alpha73/cvs/Linux x86_64)

1 --- DSV/DSV.py
2 +++ DSV/DSV.py
3 @@ -134,6 +134,13 @@
4 os.putenv('LANG', 'C')
5
6 try:
7 + import wxversion
8 + wxversion.select("2.8")
9 +except Exception, e:
10 + print >> sys.stderr, "%s: wxPython 2.8 not installed." %e
11 + sys.exit(1)
12 +
13 +try:
14 from wxPython import wx, grid
15 except ImportError:
16 wx = None

  ViewVC Help
Powered by ViewVC 1.1.20