[python-sfml] 02/04: Fix FTBFS with Sphinx 1.5

James Cowgill jcowgill at moszumanska.debian.org
Fri Jul 7 17:49:04 UTC 2017


This is an automated email from the git hooks/post-receive script.

jcowgill pushed a commit to branch master
in repository python-sfml.

commit fa6dad696becdf3c145b979600822c021369d06f
Author: Graham Inggs <ginggs at debian.org>
Date:   Fri Jul 7 18:26:53 2017 +0100

    Fix FTBFS with Sphinx 1.5
    
    Closes: #867491
---
 debian/patches/06_fix-sphinx-rtype.patch | 49 ++++++++++++++++++++++++++++++++
 debian/patches/series                    |  1 +
 2 files changed, 50 insertions(+)

diff --git a/debian/patches/06_fix-sphinx-rtype.patch b/debian/patches/06_fix-sphinx-rtype.patch
new file mode 100644
index 0000000..16e1f0a
--- /dev/null
+++ b/debian/patches/06_fix-sphinx-rtype.patch
@@ -0,0 +1,49 @@
+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 <ginggs at 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
diff --git a/debian/patches/series b/debian/patches/series
index 34491a6..a8a7abb 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
 03_disable-intersphinx.patch
 04_Use-anonymous-cdef-enum-in-style.pxd-Fixes-119.patch
 05_doc-ftbfs.patch
+06_fix-sphinx-rtype.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/python-sfml.git



More information about the Pkg-games-commits mailing list