From c3b75e41c902b19737ef5eff6d8481a35a7636e68470a7053d7d3bc1c6364f00 Mon Sep 17 00:00:00 2001 From: Nico Krapp Date: Tue, 21 Jan 2025 06:55:03 +0000 Subject: [PATCH] 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 --- python-pymdown-extensions.changes | 6 ++++++ python-pymdown-extensions.spec | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/python-pymdown-extensions.changes b/python-pymdown-extensions.changes index adf6f25..8a4447c 100644 --- a/python-pymdown-extensions.changes +++ b/python-pymdown-extensions.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jan 18 15:52:16 UTC 2025 - ecsos + +- Add %{?sle15_python_module_pythons} +- Fix build requires versions. + ------------------------------------------------------------------- Wed Jan 8 20:08:07 UTC 2025 - BenoƮt Monin diff --git a/python-pymdown-extensions.spec b/python-pymdown-extensions.spec index 7871179..2b18799 100644 --- a/python-pymdown-extensions.spec +++ b/python-pymdown-extensions.spec @@ -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