From a8ebab016210e15f4ea774dc27e86e7626493870a1434389c517fcc8e2e67212 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Mon, 11 Nov 2024 13:35:50 +0000 Subject: [PATCH] - Add sphinx8.patch to support sphinx8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-atomicwrites?expand=0&rev=19 --- python-atomicwrites.changes | 5 +++++ python-atomicwrites.spec | 8 +++++--- sphinx8.patch | 10 ++++++++++ 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 sphinx8.patch diff --git a/python-atomicwrites.changes b/python-atomicwrites.changes index 65f83f3..38925c8 100644 --- a/python-atomicwrites.changes +++ b/python-atomicwrites.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 11 13:34:27 UTC 2024 - Daniel Garcia + +- Add sphinx8.patch to support sphinx8 + ------------------------------------------------------------------- Mon Jul 25 21:00:19 UTC 2022 - Dirk Müller diff --git a/python-atomicwrites.spec b/python-atomicwrites.spec index 0676ae7..c0f1885 100644 --- a/python-atomicwrites.spec +++ b/python-atomicwrites.spec @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-atomicwrites # -# Copyright (c) 2022 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,8 @@ License: MIT Group: Development/Languages/Python URL: https://github.com/untitaker/python-atomicwrites Source: https://files.pythonhosted.org/packages/source/a/atomicwrites/atomicwrites-%{version}.tar.gz +# PATCH-FIX-OPENSUSE sphinx8.patch -- daniel.garcia@suse.com +Patch0: sphinx8.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -54,7 +56,7 @@ Features that distinguish it from other similar libraries: - High-level API that wraps a very flexible class-based API. %prep -%setup -q -n atomicwrites-%{version} +%autosetup -p1 -n atomicwrites-%{version} rm -rf atomicwrites.egg-info %if %{with doc} diff --git a/sphinx8.patch b/sphinx8.patch new file mode 100644 index 0000000..12e1073 --- /dev/null +++ b/sphinx8.patch @@ -0,0 +1,10 @@ +Index: atomicwrites-1.4.1/docs/conf.py +=================================================================== +--- atomicwrites-1.4.1.orig/docs/conf.py ++++ atomicwrites-1.4.1/docs/conf.py +@@ -105,4 +105,4 @@ epub_copyright = '2015, Markus Unterwadi + epub_exclude_files = ['search.html'] + + # 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)}