diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2007-12-05 03:45:14 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2007-12-05 03:45:14 +0000 |
commit | 78f7943328d7e5a5e2a09ead421613f81c482dfd (patch) | |
tree | 385608a2a116b3174cdb972a744aca850b29b6f9 /dev-util/documancer/files | |
parent | stable for x86 (diff) | |
download | gentoo-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.patch | 16 |
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') |