diff --git a/0001-Add-MockApp.emit.patch b/0001-Add-MockApp.emit.patch deleted file mode 100644 index cbd672a..0000000 --- a/0001-Add-MockApp.emit.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 1ac526b963e7e80f028b800cf2339cad5cd9daef Mon Sep 17 00:00:00 2001 -From: Jakob Lykke Andersen -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 - diff --git a/breathe-4.14.1.tar.gz b/breathe-4.14.1.tar.gz deleted file mode 100644 index 8acd07c..0000000 --- a/breathe-4.14.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2df018a4b205406da4f5cf7a1208871307a9ec465fea3629a5166e837e172997 -size 171166 diff --git a/breathe-4.14.2.tar.gz b/breathe-4.14.2.tar.gz new file mode 100644 index 0000000..b8848a8 --- /dev/null +++ b/breathe-4.14.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90c60cc10115f3cf3aa8bee16c3f77b1969fada96975f51926eb4c911f42aff7 +size 171956 diff --git a/python-breathe.changes b/python-breathe.changes index 3ea0a3e..c80f5e5 100644 --- a/python-breathe.changes +++ b/python-breathe.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Apr 14 08:59:32 UTC 2020 - Paolo Stivanin + +- Update to 4.14.2: + * Fixes to use Sphinx 2.4.4 + * Switch to pytest from nose. +- Remove 0001-Add-MockApp.emit.patch + ------------------------------------------------------------------- Thu Apr 2 08:06:45 UTC 2020 - Dan Čermák diff --git a/python-breathe.spec b/python-breathe.spec index 899eb61..8de9b12 100644 --- a/python-breathe.spec +++ b/python-breathe.spec @@ -18,19 +18,17 @@ %define skip_python2 1 Name: python-breathe -Version: 4.14.1 +Version: 4.14.2 Release: 0 Summary: Sphinx Doxygen renderer License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/michaeljones/breathe -Source: %{URL}/archive/v%{version}.tar.gz#/breathe-%{version}.tar.gz -# https://github.com/michaeljones/breathe/pull/486 -Patch0: 0001-Add-MockApp.emit.patch +Source: https://github.com/michaeljones/breathe/archive/v%{version}.tar.gz#/breathe-%{version}.tar.gz BuildRequires: %{python_module Sphinx >= 2.0} BuildRequires: %{python_module docutils >= 0.12} BuildRequires: %{python_module mock} -BuildRequires: %{python_module nose} +BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.9} BuildRequires: fdupes @@ -59,7 +57,7 @@ able to read and render Doxygen xml output. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%make_build dev-test +%pytest %files %{python_files} %doc README.rst