diff options
Diffstat (limited to 'dev-python/python-dsv/files')
-rw-r--r-- | dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1 (renamed from dev-python/python-dsv/files/digest-python-dsv-1.4.0) | 0 | ||||
-rw-r--r-- | dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch | 17 |
2 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/python-dsv/files/digest-python-dsv-1.4.0 b/dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1 index 7a5d01a66971..7a5d01a66971 100644 --- a/dev-python/python-dsv/files/digest-python-dsv-1.4.0 +++ b/dev-python/python-dsv/files/digest-python-dsv-1.4.0-r1 diff --git a/dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch b/dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch new file mode 100644 index 000000000000..249cf73b474e --- /dev/null +++ b/dev-python/python-dsv/files/python-dsv-1.4.0-wxversion.patch @@ -0,0 +1,17 @@ +diff -Naur DSV-1.4.0-orig/DSV/DSV.py DSV-1.4.0/DSV/DSV.py +--- DSV-1.4.0-orig/DSV/DSV.py 2003-01-22 16:50:40.000000000 -0600 ++++ DSV-1.4.0/DSV/DSV.py 2007-12-03 19:30:54.000000000 -0600 +@@ -124,6 +124,13 @@ + os.putenv('LANG', 'C') + + try: ++ import wxversion ++ wxversion.select("2.6") ++except Exception, e: ++ print >> sys.stderr, "%s: wxPython 2.6 not installed." %e ++ sys.exit(1) ++ ++try: + from wxPython import wx, grid + except ImportError: + wx = None |