[Python-modules-commits] r21394 - in packages/python-djvulibre/trunk/debian (3 files)

jwilk at users.alioth.debian.org jwilk at users.alioth.debian.org
Mon Apr 23 20:41:34 UTC 2012


    Date: Monday, April 23, 2012 @ 20:41:32
  Author: jwilk
Revision: 21394

Integrate 0.3.3-1.1 NMU.

Added:
  packages/python-djvulibre/trunk/debian/patches/test_export_ps_normalize_whitespace.diff
Modified:
  packages/python-djvulibre/trunk/debian/changelog
  packages/python-djvulibre/trunk/debian/patches/series

Modified: packages/python-djvulibre/trunk/debian/changelog
===================================================================
--- packages/python-djvulibre/trunk/debian/changelog	2012-04-23 19:52:20 UTC (rev 21393)
+++ packages/python-djvulibre/trunk/debian/changelog	2012-04-23 20:41:32 UTC (rev 21394)
@@ -1,3 +1,12 @@
+python-djvulibre (0.3.3-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Fix "FTBFS: FAIL: test_decode.test_documents.test_export_ps":
+    new patch test_export_ps_normalize_whitespace.diff from upstream repo.
+    (Closes: #646177)
+
+ -- gregor herrmann <gregoa at debian.org>  Mon, 19 Mar 2012 18:39:54 +0100
+
 python-djvulibre (0.3.3-1) unstable; urgency=low
 
   * New maintainer (Closes: #598157).

Modified: packages/python-djvulibre/trunk/debian/patches/series
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/series	2012-04-23 19:52:20 UTC (rev 21393)
+++ packages/python-djvulibre/trunk/debian/patches/series	2012-04-23 20:41:32 UTC (rev 21394)
@@ -1,2 +1,3 @@
 build_sphinx.diff
 lizardtech_link.diff
+test_export_ps_normalize_whitespace.diff

Added: packages/python-djvulibre/trunk/debian/patches/test_export_ps_normalize_whitespace.diff
===================================================================
--- packages/python-djvulibre/trunk/debian/patches/test_export_ps_normalize_whitespace.diff	                        (rev 0)
+++ packages/python-djvulibre/trunk/debian/patches/test_export_ps_normalize_whitespace.diff	2012-04-23 20:41:32 UTC (rev 21394)
@@ -0,0 +1,31 @@
+# HG changeset patch
+# User Jakub Wilk <jwilk at jwilk.net>
+# Date 1319235301 -7200
+# Node ID 5bee6af2b1d1cd3bc0d24ce0f0d9563984f4535c
+# Parent  b17e4a09e09938ba6b3402cf035b5c1932af8394
+test_export_ps: normalize whitespace.
+
+diff -r b17e4a09e09938ba6b3402cf035b5c1932af8394 -r 5bee6af2b1d1cd3bc0d24ce0f0d9563984f4535c tests/test_decode.py
+--- a/tests/test_decode.py	Sat Oct 22 00:14:07 2011 +0200
++++ b/tests/test_decode.py	Sat Oct 22 00:15:01 2011 +0200
+@@ -304,15 +304,16 @@
+             stdout, stderr = ipc.Popen(['ps2ascii', tmp.name], stdout=ipc.PIPE, stderr=ipc.PIPE, env={}).communicate()
+             assert_equal(stderr, b(''))
+             stdout = stdout.split(b('\n'))
++            stdout = [b(' ').join(line.split()) for line in stdout]
+             assert_equal(stdout, [
+                 b(''),
+                 b(''),
+-                b(' 3C'),
+-                b(' red green blue cyan magenta yellow'),
++                b('3C'),
++                b('red green blue cyan magenta yellow'),
+                 b(''),
+-                b(' red green blue cyan magenta yellow'),
++                b('red green blue cyan magenta yellow'),
+                 b(''),
+-                b(' 3\x0c'),
++                b('3'),
+             ])
+         finally:
+             del tmp




More information about the Python-modules-commits mailing list