forked from pool/python-python-markdown-math
- Fix the name of the package, it should be python-python-markdown-math
- version update to 0.8 * GitLab-style math blocks are now supported in nested environments such as lists. - Thanks to Ran Shaham for the contribution. * Tests now pass with Python-Markdown 3.3. * This extension now requires Python ≥ 3.4 and Python-Markdown ≥ 3.0. * Fixed deprecation warnings with Python-Markdown 3.x. * Added support for GitLab-style delimiters. - %check: use %pyunittest rpm macro - Trim foreign markup from description. - Initial package. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-markdown-math?expand=0&rev=2
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 12 15:08:49 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
|
||||
|
||||
- Fix the name of the package, it should be python-python-markdown-math
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 31 10:40:07 UTC 2021 - pgajdos@suse.com
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-markdown-math
|
||||
# spec file for package python-python-markdown-math
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,17 +16,18 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-markdown-math
|
||||
Name: python-python-markdown-math
|
||||
Version: 0.8
|
||||
Release: 0
|
||||
Summary: Math extension for Python-Markdown
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
Provides: python-markdown-math = %version-%release
|
||||
Obsoletes: python-markdown-math < %version-%release
|
||||
URL: https://github.com/mitya57/python-markdown-math
|
||||
Source: https://files.pythonhosted.org/packages/source/p/python-markdown-math/python-markdown-math-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-Markdown
|
||||
@@ -40,13 +41,13 @@ BuildRequires: %{python_module Markdown}
|
||||
This extension adds math formulas support to Python-Markdown.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1 -n python-markdown-math-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
@@ -55,6 +56,8 @@ This extension adds math formulas support to Python-Markdown.
|
||||
%files %{python_files}
|
||||
%license LICENSE
|
||||
%doc README.md changelog
|
||||
%{python_sitelib}/*
|
||||
%{python_sitelib}/mdx_math.py
|
||||
%pycache_only %{python_sitelib}/__pycache__/mdx_math*.pyc
|
||||
%{python_sitelib}/python_markdown_math-%{version}*-info
|
||||
|
||||
%changelog
|
Reference in New Issue
Block a user