python-mkdocs-material/python-mkdocs-material.spec

70 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package python-mkdocs-material
#
# Copyright (c) 2023 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-mkdocs-material
Version: 9.1.3
Release: 0
Summary: Material theme for mkdocs
License: MIT
URL: https://squidfunk.github.io/mkdocs-material/
Source: https://files.pythonhosted.org/packages/source/m/mkdocs_material/mkdocs_material-%{version}.tar.gz
BuildRequires: python-rpm-macros
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module hatch_nodejs_version}
BuildRequires: %{python_module hatch_requirements_txt}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module jinja2 >= 3.0}
BuildRequires: %{python_module Markdown >= 3.2}
BuildRequires: %{python_module mkdocs >= 1.4.2}
BuildRequires: %{python_module mkdocs-material-extensions >= 1.1}
BuildRequires: %{python_module pygments >= 2.12}
BuildRequires: %{python_module pymdown-extensions >= 9.4}
BuildRequires: fdupes
Requires: python-jinja2 >= 3.0
Requires: python-Markdown >= 3.2
Requires: python-mkdocs >= 1.4.2
Requires: python-mkdocs-material-extensions >= 1.1
Requires: python-pygments >= 2.14
Requires: python-pymdown-extensions >= 9.9.1
BuildArch: noarch
%python_subpackages
%description
Material theme for mkdocs
%prep
%setup -q -n mkdocs_material-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
# no tests available upstream
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/material/
%{python_sitelib}/mkdocs_material-%{version}.dist-info/
%changelog