New upstream release 4.13.1

epel9
Dan Čermák 5 years ago
parent 0ec9413d67
commit 93bda10044
No known key found for this signature in database
GPG Key ID: E632C3380610D1C5

1
.gitignore vendored

@ -6,3 +6,4 @@
/v4.7.2.tar.gz /v4.7.2.tar.gz
/v4.7.3.tar.gz /v4.7.3.tar.gz
/v4.13.0.post0.tar.gz /v4.13.0.post0.tar.gz
/v4.13.1.tar.gz

@ -0,0 +1,25 @@
From a1e7ba3a69aa9b4974ae706fe4ae69c570d169c5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Dan=20=C4=8Cerm=C3=A1k?= <dan.cermak@cgc-instruments.com>
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

@ -5,21 +5,24 @@ Breathe is an extension to reStructuredText and Sphinx to be able to read and \
render the Doxygen xml output. render the Doxygen xml output.
Name: python-%{srcname} Name: python-%{srcname}
Version: 4.13.0.post0 Version: 4.13.1
Release: 3%{?dist} Release: 1%{?dist}
Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx
License: BSD License: BSD
URL: https://github.com/%{owner}/%{srcname} URL: https://github.com/%{owner}/%{srcname}
Source0: https://github.com/%{owner}/%{srcname}/archive/v%{version}.tar.gz Source0: https://github.com/%{owner}/%{srcname}/archive/v%{version}.tar.gz
Patch0: 0001-Add-events-attribute-to-MockApp.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: doxygen BuildRequires: doxygen >= 1.8.4
BuildRequires: python%{python3_pkgversion}-devel BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python%{python3_pkgversion}-six BuildRequires: %{py3_dist six} >= 1.9
BuildRequires: python%{python3_pkgversion}-sphinx 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 # NOTE: git is only needed because part of the build process checks if it's in
# a git repo # a git repo
BuildRequires: git BuildRequires: git
@ -32,6 +35,7 @@ BuildRequires: git
%package -n python%{python3_pkgversion}-%{srcname} %package -n python%{python3_pkgversion}-%{srcname}
Summary: %{summary} Summary: %{summary}
Requires: python%{python3_pkgversion}-six Requires: python%{python3_pkgversion}-six
Requires: doxygen >= 1.8.4
%{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}} %{?python_provide:%python_provide python%{python3_pkgversion}-%{srcname}}
%description -n python%{python3_pkgversion}-%{srcname} %_description %description -n python%{python3_pkgversion}-%{srcname} %_description
@ -45,19 +49,23 @@ License: BSD and zlib
This package contains documentation for developer documentation for %{srcname}. This package contains documentation for developer documentation for %{srcname}.
%prep %prep
%autosetup -n %{srcname}-%{version} %autosetup -p 1 -n %{srcname}-%{version}
%build %build
%py3_build %py3_build
# Build the documentation # Build the documentation
make %{?_smp_mflags} html make %{?_smp_mflags} DOXYGEN=$(which doxygen) html
# Remove temporary build files # Remove temporary build files
rm documentation/build/html/.buildinfo rm documentation/build/html/.buildinfo
%install %install
%py3_install %py3_install
%check
make dev-test
%files -n python%{python3_pkgversion}-%{srcname} %files -n python%{python3_pkgversion}-%{srcname}
%doc README.rst
%{_bindir}/breathe-apidoc %{_bindir}/breathe-apidoc
%{python3_sitelib}/* %{python3_sitelib}/*
%license LICENSE %license LICENSE
@ -67,6 +75,10 @@ rm documentation/build/html/.buildinfo
%license LICENSE %license LICENSE
%changelog %changelog
* Wed Aug 28 2019 Dan Čermák <dan.cermak@cgc-instruments.com> - 4.13.1-1
- New upstream release 4.13.1
- Enable test run in %%check
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.13.0.post0-3 * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 4.13.0.post0-3
- Rebuilt for Python 3.8 - Rebuilt for Python 3.8

@ -1 +1 @@
SHA512 (v4.13.0.post0.tar.gz) = 29d1a589349d92d4f8206b0ab9e321adc9a02df96883b94754aa7e4425d572c67407fca9de9bb5fae917f01bc81fdcf22c0118a0480afc0c796f14aa2f974b8f SHA512 (v4.13.1.tar.gz) = d5072c174568091c458cb4def2c2cbe942f79629866688092e242fc4af92a952f89275922babf88bcbf6f1a5c44a29e0326849ca1e1b9ead2beed1954ea2581c

Loading…
Cancel
Save