diff options
Diffstat (limited to 'dev-python/python-dsv/files/python-dsv-1.4.1-wxversion.patch')
-rw-r--r-- | dev-python/python-dsv/files/python-dsv-1.4.1-wxversion.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-python/python-dsv/files/python-dsv-1.4.1-wxversion.patch b/dev-python/python-dsv/files/python-dsv-1.4.1-wxversion.patch new file mode 100644 index 00000000000..e72dd78ab28 --- /dev/null +++ b/dev-python/python-dsv/files/python-dsv-1.4.1-wxversion.patch @@ -0,0 +1,16 @@ +--- DSV/DSV.py ++++ DSV/DSV.py +@@ -134,6 +134,13 @@ + os.putenv('LANG', 'C') + + try: ++ import wxversion ++ wxversion.select("2.8") ++except Exception, e: ++ print >> sys.stderr, "%s: wxPython 2.8 not installed." %e ++ sys.exit(1) ++ ++try: + from wxPython import wx, grid + except ImportError: + wx = None |