14
0

Accepting request 1239014 from home:ecsos:python

- Add %{?sle15_python_module_pythons}
- Fix build requires versions.

OBS-URL: https://build.opensuse.org/request/show/1239014
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=21
This commit is contained in:
2025-01-21 06:55:03 +00:00
committed by Git OBS Bridge
parent 26e1094224
commit c3b75e41c9
2 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Jan 18 15:52:16 UTC 2025 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
- Fix build requires versions.
-------------------------------------------------------------------
Wed Jan 8 20:08:07 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>

View File

@@ -16,6 +16,9 @@
#
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-pymdown-extensions
Version: 10.14
Release: 0
@@ -24,18 +27,19 @@ License: MIT
URL: https://github.com/facelessuser/pymdown-extensions
Source: https://github.com/facelessuser/pymdown-extensions/archive/refs/tags/%{version}.tar.gz#/pymdown-extensions-%{version}.tar.gz
BuildRequires: %{python_module Markdown >= 3.6}
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
# test requirements
BuildRequires: %{python_module PyYAML >= 3.10}
BuildRequires: %{python_module Pygments >= 2.12}
BuildRequires: %{python_module Pygments >= 2.19.1}
BuildRequires: %{python_module pytest}
#
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Markdown >= 3.6
Requires: python-PyYAML >= 3.10
Recommends: python-Pygments >= 2.12
Recommends: python-Pygments >= 2.19.1
BuildArch: noarch
%python_subpackages