File: gendoc-use-wxversion.diff

package info (click to toggle)
gamera 3.4.1%2Bsvn1423-4
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 22,292 kB
  • ctags: 25,015
  • sloc: xml: 122,324; ansic: 50,812; cpp: 50,489; python: 34,987; makefile: 119; sh: 101
file content (20 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: documentation generator: prefer wxPython 2.8
 Make the documentation generator prefer wxPython 2.8 over other versions.
 This patch is intended to alleviate Debian bug #451104.
Author: Jakub Wilk <jwilk@debian.org>
Forwarded: no
Reviewed-by: Daniel Stender <debian@danielstender.com>
Last-Update: 2014-08-06

--- a/doc/gendoc.py
+++ b/doc/gendoc.py
@@ -2,6 +2,9 @@
 
 from gamera import core, gendoc
 
+import wxversion
+wxversion.select(["3.0", "2.8", "2.6", "2.5", "2.4"])
+
 if __name__ == "__main__":
    core.init_gamera()
    gendoc.gendoc(classes=[