Compare commits
1 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| e2a1d255d0 |
@@ -1,14 +1,3 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 20 01:45:43 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Skip test suite because of gh#breathe-doc/breathe#987
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 4 13:47:35 UTC 2023 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Make support-sphinx-7.2.patch backwards-compatible
|
||||
* and sent upstream: https://github.com/breathe-doc/breathe/pull/956
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 29 02:48:53 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-breathe
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -37,7 +37,7 @@ BuildRequires: python-rpm-macros
|
||||
Requires: python-Sphinx >= 4.0
|
||||
Requires: python-docutils >= 0.12
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Provides: python-sphinxcontrib-breathe = %{version}
|
||||
Obsoletes: python-sphinxcontrib-breathe < %{version}
|
||||
BuildArch: noarch
|
||||
@@ -54,8 +54,7 @@ able to read and render Doxygen xml output.
|
||||
%pyproject_wheel
|
||||
|
||||
%check
|
||||
# Tests fail because of gh#breathe-doc/breathe#987
|
||||
# %%pytest
|
||||
%pytest
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
|
||||
@@ -2,16 +2,12 @@ Index: breathe-4.35.0/tests/test_renderer.py
|
||||
===================================================================
|
||||
--- breathe-4.35.0.orig/tests/test_renderer.py
|
||||
+++ breathe-4.35.0/tests/test_renderer.py
|
||||
@@ -35,7 +35,11 @@ def app(test_params, app_params, make_ap
|
||||
@@ -35,7 +35,7 @@ def app(test_params, app_params, make_ap
|
||||
"""
|
||||
args, kwargs = app_params
|
||||
assert "srcdir" in kwargs
|
||||
- kwargs["srcdir"].makedirs(exist_ok=True)
|
||||
+ try:
|
||||
+ kwargs["srcdir"].mkdir(parents=True, exist_ok=True)
|
||||
+ except AttributeError:
|
||||
+ # old version of Sphinx
|
||||
+ kwargs["srcdir"].makedirs(exist_ok=True)
|
||||
+ kwargs["srcdir"].mkdir(parents=True, exist_ok=True)
|
||||
(kwargs["srcdir"] / "conf.py").write_text("")
|
||||
app_ = make_app(*args, **kwargs)
|
||||
yield app_
|
||||
|
||||
Reference in New Issue
Block a user