%bcond_with tests %global forgeurl https://github.com/svenevs/exhale %global _description %{expand: Automatic C++ library API documentation generator using Doxygen, Sphinx, and Breathe. Exhale revives Doxygen's class, file, and page hierarchies in reStructuredText documents to make these hierarchies available in Sphinx documented projects.} Name: python-exhale Version: 0.3.5 %forgemeta Release: 1%{?dist} Summary: Automatic C++ library API documentation generator License: BSD URL: %{forgeurl} Source0: %{forgesource} BuildArch: noarch %{?python_enable_dependency_generator} %description %_description %package -n python3-exhale Summary: %{summary} BuildRequires: python3-devel BuildRequires: python-unversioned-command BuildRequires: %{py3_dist setuptools} %{py3_dist pytest} %{?python_provide:%python_provide python3-exhale} %description -n python3-exhale %_description %prep %forgeautosetup -p1 rm -rf %{modname}.egg-info %build %py3_build %install %py3_install %check %if %{with tests} # Jinja2<3.1, sphinx, breathe>=4.32.0, beautifulsoup4, lxml>=4.6.4, six, pytest, pytest-raises>=0.10, pytest-cov, ipdb %pytest -k "not configs" %endif %files -n python3-exhale %license LICENSE %doc README.rst %{python3_sitelib}/exhale-%{version}-py%{python3_version}.egg-info %{python3_sitelib}/exhale %changelog * Fri Aug 05 2022 Alessio - 2.0.2-1 - Update to 2.0.2