[Python-modules-commits] r10932 - in packages/gamera/trunk/debian (3 files)

jwilk-guest at users.alioth.debian.org jwilk-guest at users.alioth.debian.org
Thu Dec 31 10:52:06 UTC 2009


    Date: Thursday, December 31, 2009 @ 10:52:05
  Author: jwilk-guest
Revision: 10932

Work around python-docutils bug, which broke documentation generation
(closes: #563139). (gendoc-source-path.diff)

Added:
  packages/gamera/trunk/debian/patches/gendoc-source-path.diff
Modified:
  packages/gamera/trunk/debian/changelog
  packages/gamera/trunk/debian/patches/series

Modified: packages/gamera/trunk/debian/changelog
===================================================================
--- packages/gamera/trunk/debian/changelog	2009-12-31 00:24:01 UTC (rev 10931)
+++ packages/gamera/trunk/debian/changelog	2009-12-31 10:52:05 UTC (rev 10932)
@@ -9,8 +9,10 @@
   * Update debian/copyright in accordance to the latest DEP-5 version.
   * Use “XSPV: >= 2.4”, as recent Python Policy frowns on “XSPV: all”.
   * Move the gamera.gui.has_gui module to the python-gamera package.
+  * Work around python-docutils bug, which broke documentation generation
+    (closes: #563139). (gendoc-source-path.diff)
 
- -- Jakub Wilk <ubanus at users.sf.net>  Thu, 31 Dec 2009 01:20:24 +0100
+ -- Jakub Wilk <ubanus at users.sf.net>  Thu, 31 Dec 2009 11:50:52 +0100
 
 gamera (3.2.3-1) unstable; urgency=low
 

Added: packages/gamera/trunk/debian/patches/gendoc-source-path.diff
===================================================================
--- packages/gamera/trunk/debian/patches/gendoc-source-path.diff	                        (rev 0)
+++ packages/gamera/trunk/debian/patches/gendoc-source-path.diff	2009-12-31 10:52:05 UTC (rev 10932)
@@ -0,0 +1,19 @@
+Description: Work around python-docutils bug, which broke documentation
+ generation.
+Author: Jakub Wilk <ubanus at users.sf.net>
+Bug: http://tech.groups.yahoo.com/group/gamera-devel/message/1912
+Bug-Debian: http://bugs.debian.org/563139
+
+Index: gamera-3.2.3/gamera/gendoc.py
+===================================================================
+--- gamera-3.2.3.orig/gamera/gendoc.py	2009-09-15 13:40:27.000000000 +0200
++++ gamera-3.2.3/gamera/gendoc.py	2009-12-31 10:19:45.000000000 +0100
+@@ -244,7 +244,7 @@
+                             'stylesheet_path': None,
+                             'stylesheet': 'default.css'}
+                try:
+-                  publish_file(source=fd, destination_path=output_file, 
++                  publish_file(source=fd, source_path=filename, destination_path=output_file, 
+                                writer_name="html", settings_overrides=overrides)
+                except TypeError:
+                   publish_file(source=fd, destination_path=output_file)

Modified: packages/gamera/trunk/debian/patches/series
===================================================================
--- packages/gamera/trunk/debian/patches/series	2009-12-31 00:24:01 UTC (rev 10931)
+++ packages/gamera/trunk/debian/patches/series	2009-12-31 10:52:05 UTC (rev 10932)
@@ -1,5 +1,6 @@
 gendoc-use-wxversion.diff
 gendoc-draw-text.diff
+gendoc-source-path.diff
 fix-paths.diff
 use-system-galib.diff
 use-system-vigra.diff




More information about the Python-modules-commits mailing list