%global _empty_manifest_terminate_build 0

Name:           python-mdit-py-plugins
Version:        0.6.1
Release:        1
Summary:        Collection of plugins for markdown-it-py.

License:        MIT
URL:            https://github.com/executablebooks/mdit-py-plugins
Source:         https://github.com/executablebooks/mdit-py-plugins/archive/refs/tags/v%{version}.tar.gz

BuildArch:      noarch
BuildRequires:  python3-devel
BuildRequires:  python3-pytest
BuildRequires:  python3-setuptools
BuildRequires:  python3-pip
BuildRequires:  python3-wheel
BuildRequires:  python3-hatchling
BuildRequires:  python3-flit-core

%global _description %{expand:
Collection of plugins for markdown-it-py.}


%description %_description

%package -n     python3-mdit-py-plugins
Summary:        %{summary}

%description -n python3-mdit-py-plugins %_description


%prep
%autosetup -p1 -n mdit-py-plugins-%{version}

%build
%pyproject_build

%install
%pyproject_install

%files -n python3-mdit-py-plugins
%doc README.md
%license LICENSE*
%{python3_sitelib}/mdit_py_plugins
%{python3_sitelib}/mdit_py_plugins*.dist-info/

%changelog
* Tue May 19 2026  openeuler_bot <infra@openeuler.sh> - 0.6.1-1
- update python-mdit-py-plugins to 0.6.1 

* Fri May 08 2026  openeuler_bot <infra@openeuler.sh> - 0.6.0-1
- update python-mdit-py-plugins to 0.6.0 

* Fri Aug 22 2025 dongqi <dongqi1@kylinos.cn> - 0.5.0-1
- Update package to version 0.5.0
- Drop Python 3.9 
- Add plugin & tests to render subscripts

* Tue Sep 24 2024 xuhe <xuhe@kylinos.cn> - 0.4.2-1
- Update version to 0.4.2
- Export plugins explicitly with __all__.
- Expand support for Python-Markdown in the admon plugin.
- Use ruff-format.
- Add option for footnotes references to always be matched.
- Test against 3.12.
- codecov no longer works on forks.
- Improve parsing of nested amsmath.
- Add allowed option for inline/block attributes.

* Tue Aug 1 2023 Dongxing Wang <dxwangk@isoftstone.com> - 0.4.0-1
- Initial package