Hello community, here is the log from the commit of package python-breathe for openSUSE:Factory checked in at 2020-04-02 17:43:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-breathe (Old) and /work/SRC/openSUSE:Factory/.python-breathe.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-breathe" Thu Apr 2 17:43:58 2020 rev:6 rq:790810 version:4.14.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-breathe/python-breathe.changes 2020-02-04 19:52:27.745290424 +0100 +++ /work/SRC/openSUSE:Factory/.python-breathe.new.3248/python-breathe.changes 2020-04-02 17:43:59.257430198 +0200 @@ -1,0 +2,9 @@ +Thu Apr 2 08:06:45 UTC 2020 - Dan Čermák <[email protected]> + +- Fix FTBFS due to test failure + + Add patch: 0001-Add-MockApp.emit.patch + This is cherry picked from https://github.com/michaeljones/breathe/pull/486 + and fixes test failures with sphinx 2.4.4 + +------------------------------------------------------------------- New: ---- 0001-Add-MockApp.emit.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-breathe.spec ++++++ --- /var/tmp/diff_new_pack.Ck5qrA/_old 2020-04-02 17:43:59.809430866 +0200 +++ /var/tmp/diff_new_pack.Ck5qrA/_new 2020-04-02 17:43:59.813430870 +0200 @@ -24,7 +24,9 @@ License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/michaeljones/breathe -Source: https://github.com/michaeljones/breathe/archive/v%{version}.tar.gz#/breathe-%{version}.tar.gz +Source: %{URL}/archive/v%{version}.tar.gz#/breathe-%{version}.tar.gz +# https://github.com/michaeljones/breathe/pull/486 +Patch0: 0001-Add-MockApp.emit.patch BuildRequires: %{python_module Sphinx >= 2.0} BuildRequires: %{python_module docutils >= 0.12} BuildRequires: %{python_module mock} @@ -47,7 +49,7 @@ able to read and render Doxygen xml output. %prep -%setup -q -n breathe-%{version} +%autosetup -p1 -n breathe-%{version} %build %python_build @@ -57,7 +59,7 @@ %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v tests/ +%make_build dev-test %files %{python_files} %doc README.rst ++++++ 0001-Add-MockApp.emit.patch ++++++ >From 1ac526b963e7e80f028b800cf2339cad5cd9daef Mon Sep 17 00:00:00 2001 From: Jakob Lykke Andersen <[email protected]> Date: Wed, 18 Mar 2020 11:23:25 +0100 Subject: [PATCH] Add MockApp.emit --- tests/test_renderer.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/test_renderer.py b/tests/test_renderer.py index 0c8df08..95ea3f7 100644 --- a/tests/test_renderer.py +++ b/tests/test_renderer.py @@ -83,6 +83,9 @@ class MockApp(object): if not docutils.is_node_registered(node): docutils.register_node(node) + def emit(self, name, *args): + print('[MockApp] was supposed to emit event: %r%s' % (name, repr(args)[:100])) + class MockState: def __init__(self): -- 2.26.0
