summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2007-12-04 08:34:03 +0000
committerAli Polatel <hawking@gentoo.org>2007-12-04 08:34:03 +0000
commit3401feadff09ee889134c839bb3aa1ad51069e51 (patch)
treed236de8d23607d26dc46369803222dd5ea155c5d /dev-python/python-dsv/files
parentStable on amd64, bug #195512. (diff)
downloadgentoo-2-3401feadff09ee889134c839bb3aa1ad51069e51.tar.gz
gentoo-2-3401feadff09ee889134c839bb3aa1ad51069e51.tar.bz2
gentoo-2-3401feadff09ee889134c839bb3aa1ad51069e51.zip
Revbump. Added patch to prevent running against other SLOTs of wxpython, #201165. Drop old.
(Portage version: 2.1.4_rc4)
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.patch17
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