python-pymdown-extensions/python-pymdown-extensions.spec
2024-03-04 14:18:36 +08:00

59 lines
1.7 KiB
RPMSpec

%global _empty_manifest_terminate_build 0
%global pypi_name pymdown-extensions
%global source_name pymdown_extensions
Name: python-%{pypi_name}
Version: 10.7
Release: 1
Summary: Extension pack for Python Markdown.
License: MIT
URL: https://github.com/facelessuser/pymdown-extensions
Source0: https://files.pythonhosted.org/packages/6e/80/d973f39f614fd148f7f67ce457198d30d70eff93447b55bd964720c5f16b/pymdown_extensions-10.7.tar.gz
BuildArch: noarch
BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pip
BuildRequires: python3-wheel
BuildRequires: python3-hatchling
%description
Extension pack for Python Markdown.
%package -n python3-%{pypi_name}
Summary: %{summary}
%description -n python3-%{pypi_name}
Extension pack for Python Markdown.
%prep
%autosetup -p1 -n %{source_name}-%{version}
%build
%pyproject_build
%install
%pyproject_install
%files -n python3-%{pypi_name}
%doc README.md
%license LICENSE.md
%{python3_sitelib}/pymdownx
%{python3_sitelib}/pymdown_extensions*.dist-info/
%changelog
* Mon Mar 4 2024 Dongxing Wang <dongxing.wang_a@thundersoft.com> - 10.7-1
- Update package to version 10.7
Allow configuring custom repository providers based off the existing providers.
Admonitions and Details now allow configuring custom block classes and default titles.
Ensure that Keys does not parse base64 encoded URLs.
Allow PathLike objects for base_path to better support interactions with MkDocs.
Officially support Python 3.12 and drop Python 3.7 support.
Add new combine_header_slug option in legacy Tabbed extension and new Block Tab extension
* Wed Jun 28 2023 Dongxing Wang <dxwangk@isoftstone.com> - 10.0.1-1
- Initial package