[packages/python3-pyglet] - patch to fix build with recent sphinx_autodoc_typehints

qboosh qboosh at pld-linux.org
Tue Nov 25 20:03:40 CET 2025


commit bd6882783b44ed5eb553a723be4e4caf194152de
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Nov 25 20:03:46 2025 +0100

    - patch to fix build with recent sphinx_autodoc_typehints

 pyglet-sphinx_autodoc_typehints.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/pyglet-sphinx_autodoc_typehints.patch b/pyglet-sphinx_autodoc_typehints.patch
new file mode 100644
index 0000000..50cb905
--- /dev/null
+++ b/pyglet-sphinx_autodoc_typehints.patch
@@ -0,0 +1,11 @@
+--- pyglet-2.1.11/doc/conf.py.orig	2025-06-28 14:59:10.784658700 +0200
++++ pyglet-2.1.11/doc/conf.py	2025-11-22 22:00:53.963856796 +0100
+@@ -65,7 +65,7 @@ class _RstSnippetParser(RSTParser):
+         """Override to skip processing rst_epilog/rst_prolog for typing."""
+ 
+ 
+-sphinx_autodoc_typehints.parser.RSTParser = _RstSnippetParser
++sphinx_autodoc_typehints.RSTParser = _RstSnippetParser
+ 
+ 
+ def write_build(data, filename):
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-pyglet.git/commitdiff/bd6882783b44ed5eb553a723be4e4caf194152de




More information about the pld-cvs-commit mailing list