Package: sphinx / 1.1.3+dfsg-4

Metadata

Package Version Patches format
sphinx 1.1.3+dfsg-4 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
disable_distribute_setup.diff | (download)

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

 disable use of distribute_setup, which bootstraps distribute installation
unversioned_grammar_pickle.diff | (download)

sphinx/pycode/pgen2/driver.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 don't embed python version in filename of grammar pickle.
show_more_stack_frames.diff | (download)

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

 when sphinx crashes, show 10 stack frames (instead of a single one).
 Normally, when Sphinx crashes, it doesn't display full stack trace (as other
 Python application do by default), but only a single one; rest of the stack
 trace is stored into a temporary file. Such behaviour is undesired in some
 circumstances; e.g. is Sphinx crashes on a buildd, the full stack trace is
 definitely lost.
 .
 This patch mitigates the problem by increasing number of show stack frames to
 10.
initialize_autodoc.diff | (download)

sphinx/ext/autosummary/generate.py | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

 make sphinx-autogen initialize the sphinx.ext.autodoc module.
sphinxcontrib_namespace.diff | (download)

sphinx/__init__.py | 13 13 + 0 - 0 !
1 file changed, 13 insertions(+)

 create namespace package sphinxcontrib.
 Create namespace package sphinxcontrib. This allows python-sphinxcontrib.*
 packages, both those using dh_python2 and those using python-support, to be
 co-importable.
python3_test_build_dir.diff | (download)

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

 fix build directory for test runner.
 Hardcode Python 3 build directory in the test runner to the one that Debian
 package uses.
skiptest_latex.diff | (download)

tests/test_build_latex.py | 13 7 + 6 - 0 !
1 file changed, 7 insertions(+), 6 deletions(-)

 raise skiptest if latex (or a required latex package) is not found
 If LaTeX (or a required LaTeX package) is not found when running
 test_build_latex, raise SkipTest instead of just printing a message to stderr.
fix_nepali_po.diff | (download)

sphinx/locale/ne/LC_MESSAGES/sphinx.po | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 remove nepali translations that must have been wrong
pygments_byte_strings.diff | (download)

sphinx/highlighting.py | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 fix unicode issues in pygmentsbridge.highlight_block()
 In some circumstances pygments.highlight() returns a byte string instead of
 Unicode string. PygmentsBridge.highlight_block() does expect Unicode strings
 only, so convert such strings forcibly to Unicode.
Bug-Debian: http://bugs.debian.org/660930
Bug: https://bitbucket.org/birkenfeld/sphinx/issue/905/typeerror-expected-a-character-buffer
fix_shorthandoff.diff | (download)

sphinx/writers/latex.py | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 latex writer: fix generation of \shorthandoff
 With Docutils  0.8, Babel.language is a full language name (rather than
 unparsed language code), which made ExtBabel.get_shorthandoff() always return
 empty string. Use Babel.get_language() instead, which returns full language
 name regardless of Docutils version.