python-breathe/python-breathe.spec
Matej Cepl 34a573b048 Accepting request 959941 from home:pgajdos:python
- version update to 4.33.1
  - 2022-02-14 - **Breathe v4.33.1**
    - Avoid warning about multiple graphviz directives.
      `#804 <https://github.com/michaeljones/breathe/pull/804>`__
  - 2022-02-14 - **Breathe v4.33.0**
    - Fix duplicate ``static`` in variable declarations.
      `#794 <https://github.com/michaeljones/breathe/pull/794>`__
    - Update CICD for Sphinx 4.4.0 series.
      `#795 <https://github.com/michaeljones/breathe/pull/795>`__
    - Pin version of black in CICD and reformat files.
      `#792 <https://github.com/michaeljones/breathe/pull/792>`__
    - Fix code block highlighting.
      `#760 <https://github.com/michaeljones/breathe/pull/760>`__
    - Refactoring, cleanup and typing improvements.
      `#802 <https://github.com/michaeljones/breathe/pull/802>`__
    - Doxygen dot graphs to Sphinx graphviz.
      `#757 <https://github.com/michaeljones/breathe/pull/757>`__
    - Support externally hosted images.
      `#705 <https://github.com/michaeljones/breathe/pull/705>`__
    - Address a peculiarity in Doxygen aliases in doc.
      `#770 <https://github.com/michaeljones/breathe/pull/770>`__
    - Add flag to doxygengroup, doxygennamespace to display only the description.
      `#718 <https://github.com/michaeljones/breathe/pull/718>`__
    - Add support for MD block quotes with attribution(s).
      `#759 <https://github.com/michaeljones/breathe/pull/759>`__
  - 2022-01-30 - **Breathe v4.32.0**
    - Added ``breathe_doxygen_aliases`` config variable.
      `#729 <https://github.com/michaeljones/breathe/pull/729>`__
    - Render ``\remark``/``\remarks`` and ``\see``/``\sa`` using Sphinx/Docutils
      admonition style nodes.

OBS-URL: https://build.opensuse.org/request/show/959941
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-breathe?expand=0&rev=35
2022-03-07 13:51:22 +00:00

78 lines
2.3 KiB
RPMSpec

#
# spec file for package python-breathe
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
%define modname breathe
Name: python-breathe
Version: 4.33.1
Release: 0
Summary: Sphinx Doxygen renderer
License: BSD-3-Clause
URL: https://github.com/michaeljones/breathe
Source: https://github.com/michaeljones/%{modname}/archive/v%{version}.tar.gz#/%{modname}-%{version}.tar.gz
BuildRequires: %{python_module Sphinx >= 3.0.4}
BuildRequires: %{python_module docutils >= 0.12}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six >= 1.9}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Sphinx >= 3.0
Requires: python-docutils >= 0.12
Requires: python-setuptools
Requires: python-six >= 1.9
Requires(post): update-alternatives
Requires(postun):update-alternatives
Provides: python-sphinxcontrib-breathe = %{version}
Obsoletes: python-sphinxcontrib-breathe < %{version}
BuildArch: noarch
%python_subpackages
%description
Breathe is an extension to reStructuredText and Sphinx to be
able to read and render Doxygen xml output.
%prep
%autosetup -p1 -n breathe-%{version}
%build
%python_build
%check
%pytest
%install
%python_install
%python_clone -a %{buildroot}%{_bindir}/breathe-apidoc
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%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
%{python_sitelib}/breathe
%{python_sitelib}/breathe-%{version}-py*.egg-info
%changelog