From 93bda100447f932e2afb05984ea228945a57d849 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= Date: Wed, 28 Aug 2019 23:34:55 +0200 Subject: [PATCH] New upstream release 4.13.1 --- .gitignore | 1 + 0001-Add-events-attribute-to-MockApp.patch | 25 +++++++++++++++++++++ python-breathe.spec | 26 ++++++++++++++++------ sources | 2 +- 4 files changed, 46 insertions(+), 8 deletions(-) create mode 100644 0001-Add-events-attribute-to-MockApp.patch diff --git a/.gitignore b/.gitignore index d1b7cf8..d19627d 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /v4.7.2.tar.gz /v4.7.3.tar.gz /v4.13.0.post0.tar.gz +/v4.13.1.tar.gz diff --git a/0001-Add-events-attribute-to-MockApp.patch b/0001-Add-events-attribute-to-MockApp.patch new file mode 100644 index 0000000..64a0a05 --- /dev/null +++ b/0001-Add-events-attribute-to-MockApp.patch @@ -0,0 +1,25 @@ +From a1e7ba3a69aa9b4974ae706fe4ae69c570d169c5 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= +Date: Wed, 28 Aug 2019 23:12:21 +0200 +Subject: [PATCH] Add events attribute to MockApp + +This fixes test failures with Sphinx 2.1.2 +--- + tests/test_renderer.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/test_renderer.py b/tests/test_renderer.py +index 7fd2b98..f0348d8 100644 +--- a/tests/test_renderer.py ++++ b/tests/test_renderer.py +@@ -77,6 +77,7 @@ class MockApp(object): + self.config.add('cpp_paren_attributes', [], 'env', ()) + self.config.add('cpp_index_common_prefix', [], 'env', ()) + self.registry = MockRegistry() ++ self.events = None + + def add_node(self, node): + if not docutils.is_node_registered(node): +-- +2.21.0 + diff --git a/python-breathe.spec b/python-breathe.spec index 5d3a11d..e0e242b 100644 --- a/python-breathe.spec +++ b/python-breathe.spec @@ -5,21 +5,24 @@ Breathe is an extension to reStructuredText and Sphinx to be able to read and \ render the Doxygen xml output. Name: python-%{srcname} -Version: 4.13.0.post0 -Release: 3%{?dist} +Version: 4.13.1 +Release: 1%{?dist} Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx License: BSD URL: https://github.com/%{owner}/%{srcname} Source0: https://github.com/%{owner}/%{srcname}/archive/v%{version}.tar.gz +Patch0: 0001-Add-events-attribute-to-MockApp.patch BuildArch: noarch -BuildRequires: doxygen +BuildRequires: doxygen >= 1.8.4 BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-setuptools -BuildRequires: python%{python3_pkgversion}-six -BuildRequires: python%{python3_pkgversion}-sphinx +BuildRequires: %{py3_dist six} >= 1.9 +BuildRequires: %{py3_dist Sphinx} >= 2.0 +BuildRequires: %{py3_dist docutils} >= 0.12 +BuildRequires: %{py3_dist nose} # NOTE: git is only needed because part of the build process checks if it's in # a git repo BuildRequires: git @@ -32,6 +35,7 @@ BuildRequires: git %package -n python%{python3_pkgversion}-%{srcname} Summary: %{summary} Requires: python%{python3_pkgversion}-six +Requires: doxygen >= 1.8.4 %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %description -n python%{python3_pkgversion}-%{srcname} %_description @@ -45,19 +49,23 @@ License: BSD and zlib This package contains documentation for developer documentation for %{srcname}. %prep -%autosetup -n %{srcname}-%{version} +%autosetup -p 1 -n %{srcname}-%{version} %build %py3_build # Build the documentation -make %{?_smp_mflags} html +make %{?_smp_mflags} DOXYGEN=$(which doxygen) html # Remove temporary build files rm documentation/build/html/.buildinfo %install %py3_install +%check +make dev-test + %files -n python%{python3_pkgversion}-%{srcname} +%doc README.rst %{_bindir}/breathe-apidoc %{python3_sitelib}/* %license LICENSE @@ -67,6 +75,10 @@ rm documentation/build/html/.buildinfo %license LICENSE %changelog +* Wed Aug 28 2019 Dan Čermák - 4.13.1-1 +- New upstream release 4.13.1 +- Enable test run in %%check + * Mon Aug 19 2019 Miro Hrončok - 4.13.0.post0-3 - Rebuilt for Python 3.8 diff --git a/sources b/sources index c96b283..277510c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (v4.13.0.post0.tar.gz) = 29d1a589349d92d4f8206b0ab9e321adc9a02df96883b94754aa7e4425d572c67407fca9de9bb5fae917f01bc81fdcf22c0118a0480afc0c796f14aa2f974b8f +SHA512 (v4.13.1.tar.gz) = d5072c174568091c458cb4def2c2cbe942f79629866688092e242fc4af92a952f89275922babf88bcbf6f1a5c44a29e0326849ca1e1b9ead2beed1954ea2581c