Package: python-docutils / 0.15.2+dfsg-1

Metadata

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

Patch series

view the series file
Patch File delta Description
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.

Bug: http://sourceforge.net/p/docutils/bugs/169/
Bug-Debian: http://bugs.debian.org/563696
doc debian paths.diff | (download)

README.txt | 21 19 + 2 - 0 !
docs/user/tools.txt | 43 36 + 7 - 0 !
2 files changed, 55 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 slides

Use 'sensible-browser' (rather than 'firefox') 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 | 9 5 + 4 - 0 !
docutils/writers/html5_polyglot/__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 !
9 files changed, 33 insertions(+), 14 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
static help message.diff | (download)

docutils/frontend.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 make the help message not depend on runtime encoding

This message goes into manpage, and we do not want the manpage to misleadingly
mention build-time locale there.

Bug: https://bugs.debian.org/791587
restore default role.diff | (download)

docs/user/slide-shows.txt | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 restore default role after including s5defs.txt

The default role is not reset after a document is processed, so other
documents from docutils' own docs may get :incremental: as default role,
which causes the build to be not reproducible.

no resource warning.diff | (download)

test/test_io.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 make sure fileinput does not trigger a resourcewarning

As that warning would make the test fail.