## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global pypi_name pymdown-extensions Name: python-%{pypi_name} Version: 10.12 Release: %autorelease Summary: Extension pack for Python Markdown # Most of the package is MIT except two files (highlight.py and superfences.py) License: MIT and BSD-2-Clause URL: https://facelessuser.github.io/pymdown-extensions Source: %{pypi_source pymdown_extensions} BuildArch: noarch %description PyMdown Extensions (pymdownx) is a collection of extensions for Python Markdown. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel # Needed for the tests to pass BuildRequires: python3-pygments >= 2.18.0 %description -n python3-%{pypi_name} PyMdown Extensions (pymdownx) is a collection of extensions for Python Markdown. %pyproject_extras_subpkg -n python3-pymdown-extensions extra %prep %autosetup -n pymdown_extensions-%{version} -p1 # Drop invalid entry that breaks the pyproject macros sed -i '/\.\[extra\]/d' pyproject.toml %generate_buildrequires %pyproject_buildrequires -t -x extra %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pymdownx %check %tox %files -n python3-%{pypi_name} -f %{pyproject_files} %license LICENSE.md %doc README.md %changelog ## START: Generated by rpmautospec * Thu Dec 12 2024 Davide Cavalca - 10.12-1 - Update to 10.12; Fixes: RHBZ#2314062, RHBZ#2325198 * Fri Sep 27 2024 Davide Cavalca - 10.11-1 - Update to 10.11; Fixes: RHBZ#2314062 * Wed Aug 28 2024 Davide Cavalca - 10.9-1 - Update to 10.9; Fixes: RHBZ#2308406 - Convert to pyproject macros - Convert license tag to SPDX * Fri Jul 23 2021 Fedora Release Engineering - 7.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 7.0-5 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 7.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 7.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro HronĨok - 7.0-2 - Rebuilt for Python 3.9 * Wed Apr 8 2020 Robin Lee - 7.0-1 - Update to 7.0 * Thu Mar 12 2020 Robin Lee - 6.3-2 - Bump release for koji error: https://pagure.io/fedora-infrastructure/issue/8738 * Sun Mar 8 2020 Robin Lee - 6.3-1 - Update to 6.3 * Wed Apr 11 2018 Stephen Gallagher - 3.5-4 - Update license information * Wed Apr 04 2018 Stephen Gallagher - 3.5-1 - Initial package. ## END: Generated by rpmautospec