Package: python-docutils / 0.21.2+dfsg-2

Metadata

Package Version Patches format
python-docutils 0.21.2+dfsg-2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
doc debian paths.diff | (download)

docs/user/tools.txt | 4 3 + 1 - 0 !
1 file changed, 3 insertions(+), 1 deletion(-)

 rename buildhtml.py to rst-buildhtml

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 | 24 24 + 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 | 6 4 + 2 - 0 !
docutils/writers/latex2e/__init__.py | 9 7 + 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, 51 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.

static help message.diff | (download)

docutils/frontend.py | 4 2 + 2 - 0 !
test/data/help/docutils.txt | 3 2 + 1 - 0 !
test/data/help/rst2html.txt | 3 2 + 1 - 0 !
test/data/help/rst2latex.txt | 3 2 + 1 - 0 !
4 files changed, 8 insertions(+), 5 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
source date epoch.diff | (download)

docutils/parsers/rst/directives/misc.py | 13 7 + 6 - 0 !
docutils/transforms/universal.py | 8 7 + 1 - 0 !
2 files changed, 14 insertions(+), 7 deletions(-)

 support source_date_epoch in date directive and "generated on" line

Co-authored-by: Chris Lamb <lamby@debian.org>
fix license issue.diff | (download)

test/test_utils/test_math/test__init__.py | 5 1 + 4 - 0 !
1 file changed, 1 insertion(+), 4 deletions(-)

 fix license issue

verbose tests.diff | (download)

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

 run tests with verbosity=2