Sync from SUSE:SLFO:Main python-Whoosh revision d2be44b4ae3d94b42d9dbbd6cd88ada9

This commit is contained in:
Adrian Schröter 2024-12-13 11:05:26 +01:00
parent bc37d2acc1
commit fc93d7c636
3 changed files with 35 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From 46b1be3b6fff90d854f234e83aba849201e15d0e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <foss@grueninger.de>
Date: Wed, 4 Sep 2024 17:29:05 +0200
Subject: [PATCH] docs: Update intersphinx_mapping
---
docs/source/conf.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/source/conf.py b/docs/source/conf.py
index e106a33..9d76ec5 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -192,7 +192,7 @@ latex_documents = [
# Example configuration for intersphinx: refer to the Python standard library.
-intersphinx_mapping = {'http://docs.python.org/': None}
+intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}
# Autodoc config
autoclass_content = "both"
--
2.46.0

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 4 15:42:36 UTC 2024 - Christoph G <foss@grueninger.de>
- Fix intersphinx mapping by adding
docs-Update-intersphinx_mapping.patch
-------------------------------------------------------------------
Wed May 3 10:41:31 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-Whoosh
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -32,6 +32,9 @@ Patch1: py2encoding.patch
# PATCH-FIX-UPSTREAM NullMatcherClass-hashable.patch gh#whoosh-community/whoosh#570 mcepl@suse.com
# NullMatcherClass needs __hash__ method as well for Sphinx4 compatiblity.
Patch2: NullMatcherClass-hashable.patch
# PATCH-FIX-UPSTREAM docs-Update-intersphinx_mapping.patch gh#whoosh-community/whoosh#582
# fix intersphinx_mapping
Patch3: docs-Update-intersphinx_mapping.patch
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros