[packages/python3-zope.component] - added fix for intersphinx mapping
qboosh
qboosh at pld-linux.org
Mon May 5 21:54:53 CEST 2025
commit 3f597f7020905e60bcfce72228b86cf4d3f2a52d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon May 5 21:49:57 2025 +0200
- added fix for intersphinx mapping
python3-zope.component.spec | 2 ++
zope.component-intersphinx.patch | 17 +++++++++++++++++
2 files changed, 19 insertions(+)
---
diff --git a/python3-zope.component.spec b/python3-zope.component.spec
index a1ac9dc..1cc0f13 100644
--- a/python3-zope.component.spec
+++ b/python3-zope.component.spec
@@ -13,6 +13,7 @@ License: ZPL v2.1
Group: Libraries/Python
Source0: https://files.pythonhosted.org/packages/source/z/zope.component/zope.component-%{version}.tar.gz
# Source0-md5: 55d4d24f425b18e2368a18c468f8cc47
+Patch0: zope.component-intersphinx.patch
URL: https://www.zope.dev/
BuildRequires: python3 >= 1:3.7
BuildRequires: python3-devel >= 1:3.7
@@ -66,6 +67,7 @@ Dokumentacja API modułu Pythona zope.deferredimport.
%prep
%setup -q -n zope.component-%{version}
+%patch -P0 -p1
%build
%py3_build %{?with_tests:test}
diff --git a/zope.component-intersphinx.patch b/zope.component-intersphinx.patch
new file mode 100644
index 0000000..97b2986
--- /dev/null
+++ b/zope.component-intersphinx.patch
@@ -0,0 +1,17 @@
+--- zope.component-6.0/docs/conf.py.orig 2023-04-14 08:04:41.000000000 +0200
++++ zope.component-6.0/docs/conf.py 2025-05-05 21:45:10.978352669 +0200
+@@ -275,9 +275,9 @@ autoclass_content = 'both'
+ # How to display URL addresses: 'footnote', 'no', or 'inline'.
+ #texinfo_show_urls = 'footnote'
+ intersphinx_mapping = {
+- 'https://docs.python.org/3/': None,
+- 'https://zopeinterface.readthedocs.io/en/latest/': None,
+- 'https://zopesecurity.readthedocs.io/en/latest/': None,
+- 'https://zopeevent.readthedocs.io/en/latest/': None,
+- 'https://persistent.readthedocs.io/en/latest/': None,
++ 'python': ('https://docs.python.org/3/', None),
++ 'zope.interface': ('https://zopeinterface.readthedocs.io/en/latest/', None),
++ 'zope.security': ('https://zopesecurity.readthedocs.io/en/latest/', None),
++ 'zope.event': ('https://zopeevent.readthedocs.io/en/latest/', None),
++ 'persistent': ('https://persistent.readthedocs.io/en/latest/', None),
+ }
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/python3-zope.component.git/commitdiff/3f597f7020905e60bcfce72228b86cf4d3f2a52d
More information about the pld-cvs-commit
mailing list