pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/py-sphinx-argparse/patches



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Dec 28 21:23:36 UTC 2025

Added Files:
        pkgsrc/textproc/py-sphinx-argparse/patches: patch-sphinxarg_ext.py

Log Message:
py-sphinx-argparse: add missing patch


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/textproc/py-sphinx-argparse/patches/patch-sphinxarg_ext.py

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/textproc/py-sphinx-argparse/patches/patch-sphinxarg_ext.py
diff -u /dev/null pkgsrc/textproc/py-sphinx-argparse/patches/patch-sphinxarg_ext.py:1.1
--- /dev/null   Sun Dec 28 21:23:36 2025
+++ pkgsrc/textproc/py-sphinx-argparse/patches/patch-sphinxarg_ext.py   Sun Dec 28 21:23:36 2025
@@ -0,0 +1,16 @@
+$NetBSD: patch-sphinxarg_ext.py,v 1.1 2025/12/28 21:23:36 wiz Exp $
+
+Work around sphinx 9 compatibility problem.
+https://github.com/sphinx-doc/sphinx/issues/14206
+
+--- sphinxarg/ext.py.orig      2025-12-28 19:31:54.689028452 +0000
++++ sphinxarg/ext.py
+@@ -11,7 +11,7 @@ from docutils.frontend import get_defaul
+ from docutils.parsers.rst import Parser
+ from docutils.parsers.rst.directives import flag, unchanged
+ from docutils.statemachine import StringList
+-from sphinx.ext.autodoc import mock
++from sphinx.ext.autodoc._dynamic._mock import mock
+ from sphinx.util.docutils import SphinxDirective, new_document
+ from sphinx.util.nodes import nested_parse_with_titles
+ 



Home | Main Index | Thread Index | Old Index