tags 646177 + patch tags 646177 + pending thanks Dear maintainer,
I've prepared an NMU for python-djvulibre (versioned as 0.3.3-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should delay it longer. Regards. -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `-
diff -Nru python-djvulibre-0.3.3/debian/changelog python-djvulibre-0.3.3/debian/changelog --- python-djvulibre-0.3.3/debian/changelog 2011-06-26 23:41:15.000000000 +0200 +++ python-djvulibre-0.3.3/debian/changelog 2012-03-19 18:40:06.000000000 +0100 @@ -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 <[email protected]> Mon, 19 Mar 2012 18:39:54 +0100 + python-djvulibre (0.3.3-1) unstable; urgency=low * New maintainer (Closes: #598157). diff -Nru python-djvulibre-0.3.3/debian/patches/series python-djvulibre-0.3.3/debian/patches/series --- python-djvulibre-0.3.3/debian/patches/series 2011-06-22 18:39:45.000000000 +0200 +++ python-djvulibre-0.3.3/debian/patches/series 2012-03-19 18:39:27.000000000 +0100 @@ -1,2 +1,3 @@ build_sphinx.diff lizardtech_link.diff +test_export_ps_normalize_whitespace.diff diff -Nru python-djvulibre-0.3.3/debian/patches/test_export_ps_normalize_whitespace.diff python-djvulibre-0.3.3/debian/patches/test_export_ps_normalize_whitespace.diff --- python-djvulibre-0.3.3/debian/patches/test_export_ps_normalize_whitespace.diff 1970-01-01 01:00:00.000000000 +0100 +++ python-djvulibre-0.3.3/debian/patches/test_export_ps_normalize_whitespace.diff 2012-03-19 18:38:38.000000000 +0100 @@ -0,0 +1,31 @@ +# HG changeset patch +# User Jakub Wilk <[email protected]> +# 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
signature.asc
Description: Digital signature

