Source: python-sfml Version: 2.2~git20150611.196c88+dfsg-3 Severity: important User: python-modules-t...@lists.alioth.debian.org Usertags: sphinx1.5
Dear maintainer, I am about to upload Sphinx 1.5 to unstable (it has been available in experimental for several months now). Your package fails to build with it: Warning, treated as error: /<<BUILDDIR>>/python-sfml-2.2~git20150611.196c88+dfsg/doc/source/api/audio.rst:145: WARNING: more than one target found for cross-reference u'string': sfml.graphics.Text.string, sfml.network.IpAddress.string Makefile:40: recipe for target 'html' failed The full build log can be found at: https://launchpad.net/ubuntu/+source/python-sfml/2.2~git20150611.196c88+dfsg-3build2/+build/12578767 The attached patch from Graham Inggs, originally from Ubuntu, fixes this failure. -- Dmitry Shachnev
Description: Fix Sphinx rtype Fixes FTBFS with recent versions of Sphinx which treat the following warning as an error: "more than one target found for cross-reference u'string': sfml.graphics.Text.string, sfml.network.IpAddress.string". Forwarded: no Author: Graham Inggs <gin...@debian.org> Last-Update: 2017-05-29 --- a/doc/source/api/audio.rst +++ b/doc/source/api/audio.rst @@ -142,7 +142,7 @@ will be converted internally in an array of **Int16**) and its lenght must be an even number. - :rtype: bytes or string + :rtype: bytes or str SoundBuffer ^^^^^^^^^^^ @@ -872,7 +872,7 @@ none is available, None is returned. :return: The name of the default audio capture device - :rtype: string (or None) + :rtype: str (or None) .. method:: set_device(name) --- a/doc/source/api/graphics.rst +++ b/doc/source/api/graphics.rst @@ -2142,7 +2142,7 @@ Set/get the text's string. - :rtype: bytes or string + :rtype: bytes or str .. py:attribute:: font --- a/doc/source/api/window.rst +++ b/doc/source/api/window.rst @@ -448,7 +448,7 @@ Return a copy of the data inside. - :rtype: bytes or string + :rtype: bytes or str Window
signature.asc
Description: PGP signature