15
0

Accepting request 1046211 from home:benoit_monin:branches:devel:languages:python

- update to 2.14.0
- set minimum python version to 3.6: increased upstream -- gh#pygments/pygments#2059
- remove lxml BuildRequires: dropped upstream -- gh#pygments/pygments#2301
- remove skip_python2: python >= 3.6 is already required
- drop python_module macro definition: provided by python-rpm-macros

OBS-URL: https://build.opensuse.org/request/show/1046211
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=89
This commit is contained in:
2023-01-02 17:30:17 +00:00
committed by Git OBS Bridge
parent 3ae33bb23d
commit ae08bbbd7f
4 changed files with 79 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Pygments
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -23,18 +23,15 @@
%bcond_with libalternatives
%endif
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pygments
Version: 2.13.0
Version: 2.14.0
Release: 0
Summary: A syntax highlighting package written in Python
License: BSD-2-Clause
Group: Development/Languages/Python
URL: http://pygments.org
Source: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.5}
BuildRequires: %{python_module lxml}
BuildRequires: %{python_module base >= 3.6}
BuildRequires: %{python_module pytest >= 7}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wcag-contrast-ratio}