[packages/python-zope.deferredimport] - fix sphinx config syntax, rel 7

baggins baggins at pld-linux.org
Mon Apr 28 23:35:00 CEST 2025


commit cc0cd55a1b4f5f3156d83f50bf7c85dbc05706d0
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Apr 29 01:34:39 2025 +0200

    - fix sphinx config syntax, rel 7

 python-zope.deferredimport.spec | 4 +++-
 sphinx.patch                    | 8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/python-zope.deferredimport.spec b/python-zope.deferredimport.spec
index fe4f484..6f32faf 100644
--- a/python-zope.deferredimport.spec
+++ b/python-zope.deferredimport.spec
@@ -11,11 +11,12 @@ Summary(pl.UTF-8):	Opóźnianie importu modułów Pythona
 Name:		python-%{module}
 # keep 4.x here for python2 support
 Version:	4.4
-Release:	6
+Release:	7
 License:	ZPL v2.1
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/z/zope.deferredimport/zope.deferredimport-%{version}.tar.gz
 # Source0-md5:	05db5a4e2129966e510f9b73368cb7d6
+Patch0:		sphinx.patch
 URL:		https://www.zope.dev/
 %if %{with python2}
 BuildRequires:	python >= 1:2.7
@@ -76,6 +77,7 @@ Dokumentacja API modułu Pythona zope.deferredimport.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch -P0 -p1
 
 %build
 %if %{with python2}
diff --git a/sphinx.patch b/sphinx.patch
new file mode 100644
index 0000000..70563d4
--- /dev/null
+++ b/sphinx.patch
@@ -0,0 +1,8 @@
+--- zope.deferredimport-4.4/docs/conf.py~	2021-12-10 09:16:04.000000000 +0100
++++ zope.deferredimport-4.4/docs/conf.py	2025-04-29 01:33:29.879999287 +0200
+@@ -271,4 +271,4 @@
+ 
+ 
+ # Example configuration for intersphinx: refer to the Python standard library.
+-intersphinx_mapping = {'http://docs.python.org/': None}
++intersphinx_mapping = {'python': ('http://docs.python.org/', None)}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-zope.deferredimport.git/commitdiff/cc0cd55a1b4f5f3156d83f50bf7c85dbc05706d0



More information about the pld-cvs-commit mailing list