Accepting request 1107345 from home:mcalabkova:branches:devel:languages:python
- Add patch sphinx72.patch OBS-URL: https://build.opensuse.org/request/show/1107345 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-autodocsumm?expand=0&rev=25
This commit is contained in:
parent
f34ca5d1f0
commit
c22da9591c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Aug 28 12:45:01 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Add patch sphinx72.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 19 09:03:48 UTC 2023 - Jiri Srain <jsrain@suse.com>
|
||||
|
||||
|
@ -25,6 +25,8 @@ Summary: Extended sphinx autodoc including automatic autosummaries
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/Chilipp/autodocsumm
|
||||
Source: https://github.com/Chilipp/autodocsumm/archive/v%{version}.tar.gz#/autodocsumm-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM https://github.com/Chilipp/autodocsumm/pull/88 fix build with Sphinx 7.2
|
||||
Patch: sphinx72.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module versioneer}
|
||||
BuildRequires: %{python_module wheel}
|
||||
|
13
sphinx72.patch
Normal file
13
sphinx72.patch
Normal file
@ -0,0 +1,13 @@
|
||||
Index: autodocsumm-0.2.11/tests/test_autodocsumm.py
|
||||
===================================================================
|
||||
--- autodocsumm-0.2.11.orig/tests/test_autodocsumm.py
|
||||
+++ autodocsumm-0.2.11/tests/test_autodocsumm.py
|
||||
@@ -36,7 +36,7 @@ def in_between(full, sub, s0, *others):
|
||||
|
||||
|
||||
def get_html(app, fname):
|
||||
- with open(app.outdir + '/' + fname) as f:
|
||||
+ with open(str(app.outdir) + '/' + fname) as f:
|
||||
return f.read()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user