[packages/python3-zope.schema] - added patch to adjust intersphinx mapping

qboosh qboosh at pld-linux.org
Wed Apr 30 07:38:26 CEST 2025


commit a4343e4b6316ee8930593c6d5072fd119c321e42
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed Apr 30 06:15:28 2025 +0200

    - added patch to adjust intersphinx mapping

 python3-zope.schema.spec      |  2 ++
 zope.schema-intersphinx.patch | 13 +++++++++++++
 2 files changed, 15 insertions(+)
---
diff --git a/python3-zope.schema.spec b/python3-zope.schema.spec
index bc2d7c6..99e89e9 100644
--- a/python3-zope.schema.spec
+++ b/python3-zope.schema.spec
@@ -13,6 +13,7 @@ License:	ZPL v2.1
 Group:		Libraries/Python
 Source0:	https://files.pythonhosted.org/packages/source/z/zope.schema/zope.schema-%{version}.tar.gz
 # Source0-md5:	d938af4000a89fa101d2f48f7a8fdd75
+Patch0:		zope.schema-intersphinx.patch
 URL:		https://www.zope.dev/
 BuildRequires:	python3 >= 1:3.7
 BuildRequires:	python3-devel >= 1:3.7
@@ -53,6 +54,7 @@ Dokumentacja API modułu Pythona zope.schema.
 
 %prep
 %setup -q -n %{module}-%{version}
+%patch -P0 -p1
 
 %build
 %py3_build
diff --git a/zope.schema-intersphinx.patch b/zope.schema-intersphinx.patch
new file mode 100644
index 0000000..36a3cb5
--- /dev/null
+++ b/zope.schema-intersphinx.patch
@@ -0,0 +1,13 @@
+--- zope.schema-7.0.1/docs/conf.py.orig	2025-04-29 22:22:00.870185191 +0200
++++ zope.schema-7.0.1/docs/conf.py	2025-04-29 22:22:09.666901620 +0200
+@@ -252,8 +252,8 @@ texinfo_documents = [
+ #texinfo_show_urls = 'footnote'
+ 
+ intersphinx_mapping = {
+-    'https://docs.python.org/': None,
+-    'https://zopecomponent.readthedocs.io/en/latest': None,
++    "python": ('https://docs.python.org/', None),
++    "zope": ('https://zopecomponent.readthedocs.io/en/latest', None),
+ }
+ 
+ extlinks = {'issue': ('https://github.com/zopefoundation/zope.schema/issues/%s',
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python3-zope.schema.git/commitdiff/a4343e4b6316ee8930593c6d5072fd119c321e42



More information about the pld-cvs-commit mailing list