14
0

Compare commits

6 Commits

Author SHA256 Message Date
35848b45eb Accepting request 1278840 from devel:languages:python
Forwarded request #1278653 from glaubitz

- Update to 0.9
    * Fixed handling of begin/end inside inline math.
      - Thanks to Tianxiang Xia for the bug report.
    * Modernized packaging.
    * Python ≥ 3.9 and setuptools ≥ 77.0 are now required.
  - Adjust upstream source name in spec file
  - Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1278840
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-markdown-math?expand=0&rev=3
2025-05-20 20:45:54 +00:00
c83fd43560 - Update to 0.9
* Fixed handling of begin/end inside inline math.
    - Thanks to Tianxiang Xia for the bug report.
  * Modernized packaging.
  * Python ≥ 3.9 and setuptools ≥ 77.0 are now required.
- Adjust upstream source name in spec file
- Update BuildRequires from pyproject.toml

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-markdown-math?expand=0&rev=7
2025-05-20 14:43:03 +00:00
93f235de02 Accepting request 1224236 from devel:languages:python
- Add proper Provides/Obsoletes

OBS-URL: https://build.opensuse.org/request/show/1224236
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-markdown-math?expand=0&rev=2
2024-11-15 14:43:56 +00:00
e3c5a8dc7f Fix Provides/Obsoletes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-markdown-math?expand=0&rev=5
2024-11-14 15:45:58 +00:00
3d30a3c4f6 - Add proper Provides/Obsoletes
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-markdown-math?expand=0&rev=4
2024-11-14 14:36:08 +00:00
c0b5a5a846 Accepting request 1223730 from devel:languages:python
- 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/request/show/1223730
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-markdown-math?expand=0&rev=1
2024-11-12 18:26:42 +00:00
4 changed files with 23 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8564212af679fc18d53f38681f16080fcd3d186073f23825c7ce86fadd3e3635
size 8509

View File

@@ -1,7 +1,19 @@
-------------------------------------------------------------------
Tue May 20 11:15:40 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 0.9
* Fixed handling of begin/end inside inline math.
- Thanks to Tianxiang Xia for the bug report.
* Modernized packaging.
* Python ≥ 3.9 and setuptools ≥ 77.0 are now required.
- Adjust upstream source name in spec file
- Update BuildRequires from pyproject.toml
-------------------------------------------------------------------
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
- Add proper Provides/Obsoletes
-------------------------------------------------------------------
Mon May 31 10:40:07 UTC 2021 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-python-markdown-math
#
# Copyright (c) 2024 SUSE LLC
# 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
@@ -16,17 +16,18 @@
#
%{?sle15_python_module_pythons}
Name: python-python-markdown-math
Version: 0.8
Version: 0.9
Release: 0
Summary: Math extension for Python-Markdown
License: BSD-3-Clause
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
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 setuptools >= 77.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -35,13 +36,15 @@ BuildArch: noarch
# SECTION Required for tests in %%check
BuildRequires: %{python_module Markdown}
# /SECTION
Provides: python-markdown-math = %version
Obsoletes: python-markdown-math < %version
%python_subpackages
%description
This extension adds math formulas support to Python-Markdown.
%prep
%autosetup -p1 -n python-markdown-math-%{version}
%autosetup -p1 -n python_markdown_math-%{version}
%build
%pyproject_wheel

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:567395553dc4941e79b3789a1096dcabb3fda9539d150d558ef3507948b264a3
size 8680