File python-sphinx-toolbox.spec of Package pyhton-sphinx-toolbox
#
# spec file for package python-sphinx-toolbox
#
# Copyright (c) 2025 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/
#
Name: python-sphinx-toolbox
Version: 4.0.0
Release: 0
Summary: Box of handy tools for Sphinx
License: MIT
URL: https://github.com/sphinx-toolbox/sphinx-toolbox
Source: sphinx-toolbox-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module whey}
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-httpserver}
BuildRequires: %{python_module pytest-randomly}
BuildRequires: %{python_module pytest-timeout}
BuildRequires: %{python_module coincidence >= 0.2.0}
BuildRequires: %{python_module coverage >= 5.1}
BuildRequires: %{python_module coverage-pyver-pragma >= 0.2.1}
BuildRequires: %{python_module defusedxml >= 0.7.1}
BuildRequires: %{python_module flake8-dunder-all >= 0.0.4}
BuildRequires: %{python_module hypothesis >= 5.35.4}
BuildRequires: %{python_module importlib-metadata >= 3.6.0}
BuildRequires: %{python_module pprint36 >= 3.9.0.2}
BuildRequires: %{python_module pygments >= 2.11.0}
BuildRequires: %{python_module sphobjinv >= 2.0.1}
BuildRequires: %{python_module apeye >= 0.4.0}
BuildRequires: %{python_module autodocsumm >= 0.2.0}
BuildRequires: %{python_module beautifulsoup4 >= 4.9.1}
BuildRequires: %{python_module cachecontrol >= 0.13.0}
BuildRequires: %{python_module dict2css >= 0.2.3}
BuildRequires: %{python_module docutils >= 0.16}
BuildRequires: %{python_module domdf-python-tools >= 2.9.0}
BuildRequires: %{python_module filelock >= 3.8.0}
BuildRequires: %{python_module html5lib >= 1.1}
BuildRequires: %{python_module ruamel.yaml >= 0.16.12}
BuildRequires: %{python_module Sphinx >= 3.2.0}
BuildRequires: %{python_module sphinx-autodoc-typehints >= 1.11.1}
BuildRequires: %{python_module sphinx-jinja2-compat >= 0.1.0}
BuildRequires: %{python_module sphinx-prompt >= 1.1.0}
BuildRequires: %{python_module sphinx-tabs >= 1.2.1}
BuildRequires: %{python_module tabulate >= 0.8.7}
BuildRequires: %{python_module typing-extensions >= 3.7.4.3}
# /SECTION
BuildRequires: fdupes
Requires: python-apeye >= 0.4.0
Requires: python-autodocsumm >= 0.2.0
Requires: python-beautifulsoup4 >= 4.9.1
Requires: python-cachecontrol >= 0.13.0
Requires: python-dict2css >= 0.2.3
Requires: python-docutils >= 0.16
Requires: python-domdf-python-tools >= 2.9.0
Requires: python-filelock >= 3.8.0
Requires: python-html5lib >= 1.1
Requires: python-ruamel.yaml >= 0.16.12
Requires: python-Sphinx >= 3.2.0
Requires: python-sphinx-autodoc-typehints >= 1.11.1
Requires: python-sphinx-jinja2-compat >= 0.1.0
Requires: python-sphinx-prompt >= 1.1.0
Requires: python-sphinx-tabs >= 1.2.1
Requires: python-tabulate >= 0.8.7
Requires: python-typing-extensions >= 3.7.4.3
Suggests: python-coincidence >= 0.4.3
Suggests: python-pygments <= 2.13.0
Suggests: python-coincidence >= 0.4.3
Suggests: python-pygments <= 2.13.0
BuildArch: noarch
%python_subpackages
%description
Box of handy tools for Sphinx
%prep
%autosetup -p1 -n sphinx-toolbox-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%{python_sitelib}/sphinx_toolbox
%{python_sitelib}/sphinx_toolbox-%{version}.dist-info
%changelog