2021-09-26 22:59:36 +03:00
|
|
|
Summary: Adds support for Doxygen xml output to reStructuredText and Sphinx
|
|
|
|
Name: python-breathe
|
|
|
|
License: BSD
|
|
|
|
Group: Development/Python
|
2023-11-29 20:30:15 +00:00
|
|
|
Version: 4.18.1
|
|
|
|
Release: 1
|
2021-09-26 22:59:36 +03:00
|
|
|
URL: https://github.com/michaeljones/breathe
|
|
|
|
Source0: https://github.com/michaeljones/breathe/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: doxygen
|
|
|
|
BuildRequires: which
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
BuildRequires: python3-six
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
BuildRequires: python3-docutils
|
|
|
|
BuildRequires: python3-pytest
|
2023-11-29 20:30:15 +00:00
|
|
|
BuildRequires: python3-nose
|
2025-01-31 15:08:46 +00:00
|
|
|
BuildRequires: python3egg(sphinx) >= 3.0
|
2021-09-26 22:59:36 +03:00
|
|
|
# NOTE: git is only needed because part of the build process checks if it's in a git repo
|
2023-11-29 19:27:08 +00:00
|
|
|
BuildRequires: git-core
|
2021-09-26 22:59:36 +03:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%define _description \
|
|
|
|
Breathe is an extension to reStructuredText and Sphinx to be able to read and \
|
|
|
|
render the Doxygen xml output.
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%package -n python3-breathe
|
|
|
|
Summary: %{summary}
|
2021-09-26 23:09:37 +03:00
|
|
|
Group: Development/Python
|
2021-09-26 22:59:36 +03:00
|
|
|
Requires: python3-six
|
|
|
|
Requires: doxygen
|
|
|
|
|
|
|
|
%description -n python3-breathe
|
|
|
|
%_description
|
|
|
|
|
|
|
|
%files -n python3-breathe
|
2023-11-29 19:27:08 +00:00
|
|
|
%doc LICENSE README.rst
|
2021-09-26 22:59:36 +03:00
|
|
|
%{_bindir}/breathe-apidoc
|
|
|
|
%{python3_sitelib}/*
|
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%package doc
|
|
|
|
Summary: Documentation files for breathe
|
2021-09-26 23:09:37 +03:00
|
|
|
Group: Documentation
|
2021-09-26 22:59:36 +03:00
|
|
|
# tinyxml uses zlib license
|
|
|
|
License: BSD and zlib
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
This package contains documentation for developer documentation for breathe.
|
|
|
|
|
|
|
|
%files doc
|
2023-11-29 20:30:15 +00:00
|
|
|
%doc LICENSE
|
|
|
|
#documentation/build/html
|
2021-09-26 22:59:36 +03:00
|
|
|
|
|
|
|
#------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
%prep
|
2023-11-29 19:27:08 +00:00
|
|
|
%setup -qn breathe-%{version}
|
2021-09-26 22:59:36 +03:00
|
|
|
|
|
|
|
%build
|
|
|
|
%py3_build
|
|
|
|
# Build the documentation
|
2023-11-29 20:30:15 +00:00
|
|
|
#make_build DOXYGEN=$(which doxygen) PYTHONPATH=$(pwd) html
|
2021-09-26 22:59:36 +03:00
|
|
|
# Remove temporary build files
|
2023-11-29 20:30:15 +00:00
|
|
|
#rm documentation/build/html/.buildinfo
|
2021-09-26 22:59:36 +03:00
|
|
|
|
|
|
|
%install
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
%check
|
2023-11-29 20:30:15 +00:00
|
|
|
#make_build dev-test
|