Package: python-docutils / 0.19+dfsg-6

Metadata

Package Version Patches format
python-docutils 0.19+dfsg-6 3.0 (quilt)

Patch series

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

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.

move data to usr share.diff | (download)

docutils/__init__.py | 27 27 + 0 - 0 !
docutils/parsers/rst/directives/misc.py | 3 2 + 1 - 0 !
docutils/writers/html4css1/__init__.py | 11 6 + 5 - 0 !
docutils/writers/html5_polyglot/__init__.py | 5 3 + 2 - 0 !
docutils/writers/latex2e/__init__.py | 4 2 + 2 - 0 !
docutils/writers/odf_odt/__init__.py | 4 2 + 2 - 0 !
docutils/writers/pep_html/__init__.py | 5 3 + 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, 48 insertions(+), 16 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 | 27 19 + 8 - 0 !
1 file changed, 19 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 !
test/data/help/docutils.txt | 3 2 + 1 - 0 !
2 files changed, 4 insertions(+), 3 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
no empty manual.diff | (download)

docutils/writers/manpage.py | 13 8 + 5 - 0 !
test/test_writers/test_manpage.py | 46 37 + 9 - 0 !
2 files changed, 45 insertions(+), 14 deletions(-)

 manpage writer: do not output empty "manual" in ``.th``