Package: python-docutils / 0.12+dfsg-1

Metadata

Package Version Patches format
python-docutils 0.12+dfsg-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
python3 pil no bytestrings.diff | (download)

docutils/parsers/rst/directives/images.py | 7 5 + 2 - 0 !
docutils/writers/html4css1/__init__.py | 7 5 + 2 - 0 !
2 files changed, 10 insertions(+), 4 deletions(-)

 python 3: don't pass byte strings to pil.image.open()
 With Python 3.X, pass Unicode strings (rather than byte strings) to
 PIL.Image.open().
 .
 This is to work around a PIL bug: http://bugs.debian.org/708449
iepngfix license.diff | (download)

docutils/writers/s5_html/themes/default/iepngfix.htc | 2 1 + 1 - 0 !
test/functional/expected/ui/default/iepngfix.htc | 2 1 + 1 - 0 !
test/functional/expected/ui/small-black/iepngfix.htc | 2 1 + 1 - 0 !
3 files changed, 3 insertions(+), 3 deletions(-)

 update license information for ie png alpha fix.
 Upstream author of IE PNG Alpha Fix agreed that every version of his script
 can be distributed under the terms of the LGPL 2.1 or later version.
doc debian paths.diff | (download)

README.txt | 21 19 + 2 - 0 !
docs/user/tools.txt | 37 30 + 7 - 0 !
2 files changed, 49 insertions(+), 9 deletions(-)

 change paths in documentation to match debian's
 Change paths in documentation to match Debian's. Debian policy recommends not
 having extensions like .py on script names, and buildhtml seems too generic a
 name.
emacs sensible browser.diff | (download)

tools/editors/emacs/rst.el | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 use ‘sensible-browser’ to preview s5 slides.
 Use ‘sensible-browser’ (rather than ‘firefox’, which does not exist in Debian)
 as a program to preview S5 slides.
testall no stdout stderr redirect.diff | (download)

test/alltests.py | 3 0 + 3 - 0 !
1 file changed, 3 deletions(-)

 don't copy test suite output to a log.
 When running the test suite, don't copy stdout and stderr output to a log
 file, as this would break under LC_ALL=C, PYTHONWARNINGS=d and python3.X.
no test skipping.diff | (download)

test/test_writers/test_odt.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 do not skip tests.
 If Build-Depends are satisfied, importing ElementTree should not fail. If it
 does, it's better to fail than to skip the test silently.
parallel 2to3.diff | (download)

setup.py | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

 run 2to3 in parallel
test sys path.diff | (download)

test/DocutilsTestSupport.py | 7 2 + 5 - 0 !
1 file changed, 2 insertions(+), 5 deletions(-)

 fix sys.path for tests
 Fix sys.path in the test support module so that is matches paths that are in
 the Debian package.
move data to usr share.diff | (download)

docutils/__init__.py | 15 15 + 0 - 0 !
docutils/parsers/rst/directives/misc.py | 3 2 + 1 - 0 !
docutils/writers/html4css1/__init__.py | 4 2 + 2 - 0 !
docutils/writers/latex2e/__init__.py | 3 2 + 1 - 0 !
docutils/writers/odf_odt/__init__.py | 4 2 + 2 - 0 !
docutils/writers/pep_html/__init__.py | 4 2 + 2 - 0 !
docutils/writers/s5_html/__init__.py | 2 1 + 1 - 0 !
test/test_parsers/test_rst/test_directives/test_include.py | 3 2 + 1 - 0 !
8 files changed, 28 insertions(+), 10 deletions(-)

 allow all data files to be moved to /usr/share/docutils/.
no local roman.diff | (download)

docutils/parsers/rst/states.py | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 use the "roman" module from python-roman instead of the local copy.
rst2odt_prepstyles elementtree.diff | (download)

tools/rst2odt_prepstyles.py | 34 26 + 8 - 0 !
1 file changed, 26 insertions(+), 8 deletions(-)

 port rst2odt_prepstyles to elementtree
 rst2odt_prepstyles uses lxml to parse, modify and write XML.
 Use ElementTree, which is shipped with Python >= 2.5, in place of lxml.
Bug-Debian: http://bugs.debian.org/714319
odt writer ascii filenames.diff | (download)

docutils/writers/odf_odt/__init__.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 use only ascii filenames in the odf packages generated by the odt writer
 The odf_odt writer embeds images in its output files and uses the
 original filenames as part of the embedded filenames.  Since the
 OpenDocument standard does not specify the filename charset, recode to
 ASCII (dropping non-representable characters) to be on the safe side.
 This patch also removes an invalid assumption about the encoding
 used internally by the interpreter, which has caused Debian bug
 #714317, and fixes #714313.