1
0

Accepting request 793789 from home:polslinux:branches:devel:languages:python

- Update to 4.14.2:
  * Fixes to use Sphinx 2.4.4
  * Switch to pytest from nose.
- Remove 0001-Add-MockApp.emit.patch

OBS-URL: https://build.opensuse.org/request/show/793789
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-breathe?expand=0&rev=16
This commit is contained in:
Tomáš Chvátal 2020-04-14 09:30:12 +00:00 committed by Git OBS Bridge
parent fd19ba81db
commit a0ac40f328
5 changed files with 15 additions and 35 deletions

View File

@ -1,26 +0,0 @@
From 1ac526b963e7e80f028b800cf2339cad5cd9daef Mon Sep 17 00:00:00 2001
From: Jakob Lykke Andersen <Jakob@caput.dk>
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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2df018a4b205406da4f5cf7a1208871307a9ec465fea3629a5166e837e172997
size 171166

3
breathe-4.14.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90c60cc10115f3cf3aa8bee16c3f77b1969fada96975f51926eb4c911f42aff7
size 171956

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Apr 14 08:59:32 UTC 2020 - Paolo Stivanin <info@paolostivanin.com>
- 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 <dcermak@suse.com>

View File

@ -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