From 41f7f705b2887f4456d86bcd2aa3ef7bd3dd24efd81d1d5fbf6c04cca034e150 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 6 Jun 2019 13:32:17 +0000 Subject: [PATCH] - Update to 0.3.0: * Fixes build with new Sphinx releases OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-breathe?expand=0&rev=9 --- python-breathe.changes | 6 ++++++ python-breathe.spec | 21 +++++---------------- v4.12.0.tar.gz | 3 --- v4.13.0.post0.tar.gz | 3 +++ 4 files changed, 14 insertions(+), 19 deletions(-) delete mode 100644 v4.12.0.tar.gz create mode 100644 v4.13.0.post0.tar.gz diff --git a/python-breathe.changes b/python-breathe.changes index 788b630..2a707dc 100644 --- a/python-breathe.changes +++ b/python-breathe.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Jun 6 13:29:38 UTC 2019 - Tomáš Chvátal + +- Update to 4.13.0: + * Fixes for Sphinx 2.0 + ------------------------------------------------------------------- Tue Mar 19 14:57:47 UTC 2019 - Tomáš Chvátal diff --git a/python-breathe.spec b/python-breathe.spec index fe8ee33..d293fc4 100644 --- a/python-breathe.spec +++ b/python-breathe.spec @@ -17,16 +17,16 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python +%define skip_python2 1 Name: python-breathe -Version: 4.12.0 +Version: 4.13.0.post0 Release: 0 Summary: Sphinx Doxygen renderer 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 -BuildRequires: %{python_module Sphinx >= 1.8} +BuildRequires: %{python_module Sphinx >= 2.0} BuildRequires: %{python_module docutils >= 0.12} BuildRequires: %{python_module mock} BuildRequires: %{python_module nose} @@ -34,17 +34,13 @@ BuildRequires: %{python_module setuptools} BuildRequires: %{python_module six >= 1.9} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-Sphinx >= 1.8 +Requires: python-Sphinx >= 2.0 Requires: python-docutils >= 0.12 Requires: python-setuptools Requires: python-six >= 1.9 Provides: python-sphinxcontrib-breathe = %{version} Obsoletes: python-sphinxcontrib-breathe < %{version} BuildArch: noarch -%ifpython2 -Obsoletes: %{oldpython}-sphinxcontrib-breathe < %{version} -Provides: %{oldpython}-sphinxcontrib-breathe = %{version} -%endif %python_subpackages %description @@ -60,21 +56,14 @@ able to read and render Doxygen xml output. %install %python_install %python_expand %fdupes %{buildroot}%{$python_sitelib} -%python_clone -a %{buildroot}%{_bindir}/breathe-apidoc %check %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} nosetests-%{$python_bin_suffix} -v tests/ -%post -%{python_install_alternative breathe-apidoc} - -%postun -%{python_uninstall_alternative breathe-apidoc} - %files %{python_files} %doc README.rst %license LICENSE -%python_alternative %{_bindir}/breathe-apidoc +%python3_only %{_bindir}/breathe-apidoc %{python_sitelib}/breathe %{python_sitelib}/breathe-%{version}-py*.egg-info diff --git a/v4.12.0.tar.gz b/v4.12.0.tar.gz deleted file mode 100644 index 897c155..0000000 --- a/v4.12.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9e0e6518274e579ca387d0d9e5b6601a56754ee01b4139bd3d719b71d99b6d09 -size 170669 diff --git a/v4.13.0.post0.tar.gz b/v4.13.0.post0.tar.gz new file mode 100644 index 0000000..4bcdb5c --- /dev/null +++ b/v4.13.0.post0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0319a6943ee1e78f221c2763959714fa0f32bee2e2a9b8072b9f9ddd3991580d +size 170836