summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2007-12-05 03:45:14 +0000
committerRyan Hill <dirtyepic@gentoo.org>2007-12-05 03:45:14 +0000
commit78f7943328d7e5a5e2a09ead421613f81c482dfd (patch)
tree385608a2a116b3174cdb972a744aca850b29b6f9 /dev-util/documancer/files
parentstable for x86 (diff)
downloadgentoo-2-78f7943328d7e5a5e2a09ead421613f81c482dfd.tar.gz
gentoo-2-78f7943328d7e5a5e2a09ead421613f81c482dfd.tar.bz2
gentoo-2-78f7943328d7e5a5e2a09ead421613f81c482dfd.zip
Lock to wxpython-2.6 with wxversion. Make executable executable.
(Portage version: 2.1.4_rc7)
Diffstat (limited to 'dev-util/documancer/files')
-rw-r--r--dev-util/documancer/files/documancer-0.2.6-wxversion.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/dev-util/documancer/files/documancer-0.2.6-wxversion.patch b/dev-util/documancer/files/documancer-0.2.6-wxversion.patch
new file mode 100644
index 000000000000..99b2776d6afe
--- /dev/null
+++ b/dev-util/documancer/files/documancer-0.2.6-wxversion.patch
@@ -0,0 +1,16 @@
+diff -Naur documancer-0.2.6-orig/src/utils.py documancer-0.2.6/src/utils.py
+--- documancer-0.2.6-orig/src/utils.py 2005-06-09 01:32:30.000000000 -0600
++++ documancer-0.2.6/src/utils.py 2007-12-04 21:40:43.000000000 -0600
+@@ -121,6 +121,12 @@
+ def config():
+ global __configObject
+ if __configObject == None:
++ try:
++ import wxversion
++ wxversion.select("2.6")
++ except Exception, e:
++ print >> sys.stderr, "%s: wxPython 2.6 not installed." %e
++ sys.exit(1)
+ import wxPython.wx
+ if sys.platform == 'win32':
+ cfg = wxPython.wx.wxConfig('Documancer', 'Vaclav Slavik')