Accepting request 686451 from devel:languages:python
- Update to 4.12.0: * More sphinx fixes - Remove merged patch sphinx18.patch - Update to 4.11.1: * Fixes for newer sphinx releases - Switch to github tarball for tests and license - Add patch to fix build with sphinx 1.8: * sphinx18.patch OBS-URL: https://build.opensuse.org/request/show/686451 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-breathe?expand=0&rev=3
This commit is contained in:
commit
e2af28853c
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:dd15efc66d65180e4c994edd15fcb642812ad04ac9c36738b28bf248d7c0be32
|
||||
size 66285
|
@ -1,3 +1,19 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 19 14:57:47 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 4.12.0:
|
||||
* More sphinx fixes
|
||||
- Remove merged patch sphinx18.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 6 14:17:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Update to 4.11.1:
|
||||
* Fixes for newer sphinx releases
|
||||
- Switch to github tarball for tests and license
|
||||
- Add patch to fix build with sphinx 1.8:
|
||||
* sphinx18.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 12:46:19 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-breathe
|
||||
#
|
||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -18,36 +18,33 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
%bcond_without test
|
||||
Name: python-breathe
|
||||
Version: 4.7.2
|
||||
Version: 4.12.0
|
||||
Release: 0
|
||||
Summary: Sphinx Doxygen renderer
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Url: https://github.com/michaeljones/breathe
|
||||
Source: https://files.pythonhosted.org/packages/source/b/breathe/breathe-%{version}.tar.gz
|
||||
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 docutils >= 0.12}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module nose}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.9}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module Sphinx >= 1.4}
|
||||
BuildRequires: %{python_module docutils >= 0.5}
|
||||
BuildRequires: %{python_module six >= 1.4}
|
||||
%endif
|
||||
Requires: python-Sphinx >= 1.4
|
||||
Requires: python-docutils >= 0.5
|
||||
Requires: python-six >= 1.4
|
||||
Requires: python-Sphinx >= 1.8
|
||||
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
|
||||
%ifpython3
|
||||
Provides: python3-sphinxcontrib-breathe = %{version}
|
||||
Obsoletes: python3-sphinxcontrib-breathe <= %{version}
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
@ -65,6 +62,9 @@ able to read and render Doxygen xml output.
|
||||
%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}
|
||||
|
||||
@ -72,8 +72,8 @@ able to read and render Doxygen xml output.
|
||||
%{python_uninstall_alternative breathe-apidoc}
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc README.rst
|
||||
%license LICENSE
|
||||
%python_alternative %{_bindir}/breathe-apidoc
|
||||
%{python_sitelib}/breathe
|
||||
%{python_sitelib}/breathe-%{version}-py*.egg-info
|
||||
|
3
v4.12.0.tar.gz
Normal file
3
v4.12.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9e0e6518274e579ca387d0d9e5b6601a56754ee01b4139bd3d719b71d99b6d09
|
||||
size 170669
|
Loading…
x
Reference in New Issue
Block a user