c9ee04f460
* Add various specifiers to functions and variables. #628 * Add multiply inherited class for PHP objects. #630 * Initial support for table rendering. #632 * Add rendering of \section, \subsection and \subsubsection. #635 * Sphinx 3.5 compatibility. #640 * Fix linking to sections. #639 * Add table examples to documentation. #638 * Fix doxygenfile causing duplicate IDs for unspecified sections. #622 * Fixes for doxygenfunction (friend keyword, friend class, arg checks). #623 * Add test for ellipsis ('...') in args. #610 * Sphinx 3.4.x compatibility. #617 * Adapt friendclass to Doxygen 1.9. #618 * Add support for \parblock parsing and rendering. #603 * Allow lookup in doxygenfunction without writing param names. #606 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-breathe?expand=0&rev=30
78 lines
2.3 KiB
RPMSpec
78 lines
2.3 KiB
RPMSpec
#
|
|
# spec file for package python-breathe
|
|
#
|
|
# Copyright (c) 2021 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
|
|
Name: python-breathe
|
|
Version: 4.27.0
|
|
Release: 0
|
|
Summary: Sphinx Doxygen renderer
|
|
License: BSD-3-Clause
|
|
URL: https://github.com/michaeljones/breathe
|
|
Source: https://github.com/michaeljones/breathe/archive/v%{version}.tar.gz
|
|
BuildRequires: %{python_module Sphinx >= 3.0.4}
|
|
BuildRequires: %{python_module docutils >= 0.12}
|
|
BuildRequires: %{python_module mock}
|
|
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
|