File python-sphinx-mdinclude.spec of Package python-sphinx-mdinclude
#
# spec file for package python-sphinx_mdinclude
#
# Copyright (c) 2026 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_mdinclude
Version: 0.6.2
Release: 0
Summary: Markdown extension for Sphinx
License: MIT
URL: None
Source: https://files.pythonhosted.org/packages/source/s/sphinx-mdinclude/sphinx_mdinclude-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module flit-core >= 3.8}
BuildRequires: %{python_module pip}
# SECTION test requirements
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module docutils >= 0.19}
BuildRequires: %{python_module mistune >= 3.0}
BuildRequires: %{python_module pygments >= 2.8}
BuildRequires: %{python_module Sphinx >= 6}
# /SECTION
BuildRequires: fdupes
Requires: python-docutils >= 0.19
Requires: python-mistune >= 3.0
Requires: python-pygments >= 2.8
Requires: python-Sphinx >= 6
Suggests: python-docutils == 0.21.2
Suggests: python-mistune == 3.0.2
Suggests: python-attribution == 1.7.1
Suggests: python-black == 24.4.2
Suggests: python-coverage == 7.5.1
Suggests: python-flake8 == 7.0.0
Suggests: python-flit == 3.9.0
Suggests: python-mypy == 1.10.0
Suggests: python-Sphinx == 7.3.7
Suggests: python-ufmt == 2.5.1
Suggests: python-usort == 1.0.8.post1
BuildArch: noarch
%python_subpackages
%description
Sphinx extension for including or writing pages in Markdown format.
%prep
%autosetup -p1 -n sphinx_mdinclude-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%{python_sitelib}/sphinx_mdinclude
%{python_sitelib}/sphinx_mdinclude-%{version}.dist-info
%changelog