forked from pool/python-mkdocs-material-extensions
Accepting request 1072831 from home:ojkastl_buildservice:Branch_devel_languages_python
new package python-mkdocs-material-extensions OBS-URL: https://build.opensuse.org/request/show/1072831 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mkdocs-material-extensions?expand=0&rev=1
This commit is contained in:
63
python-mkdocs-material-extensions.spec
Normal file
63
python-mkdocs-material-extensions.spec
Normal file
@@ -0,0 +1,63 @@
|
||||
#
|
||||
# spec file for package python-mkdocs-material-extensions
|
||||
#
|
||||
# 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-extensions
|
||||
Version: 1.1.1
|
||||
Release: 0
|
||||
Summary: Extension pack for Python Markdown
|
||||
License: MIT
|
||||
URL: https://github.com/facelessuser/mkdocs-material-extensions
|
||||
Source: https://files.pythonhosted.org/packages/source/m/mkdocs_material_extensions/mkdocs_material_extensions-%{version}.tar.gz
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: %{python_module hatch}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module beautifulsoup4}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module Markdown}
|
||||
BuildRequires: %{python_module mkdocs-material}
|
||||
# /SECTION
|
||||
BuildRequires: fdupes
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Extension pack for Python Markdown
|
||||
|
||||
%prep
|
||||
%setup -q -n mkdocs_material_extensions-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# skip TestEmoji.test_twemoji that needs internet access
|
||||
%pytest -k 'not test_twemoji'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md changelog.md
|
||||
%license LICENSE.md
|
||||
%{python_sitelib}/materialx
|
||||
%{python_sitelib}/mkdocs_material_extensions-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user