Add skip-wcag-contrast-ratio.patch to make python-wcag-contrast-ratio just optional dependency (gh#pygments/pygments!2564).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=105
This commit is contained in:
2023-11-05 07:40:18 +00:00
committed by Git OBS Bridge
parent b37f0f9357
commit 891dbeaad5
2 changed files with 3 additions and 2 deletions

View File

@@ -2,7 +2,8 @@
Sun Nov 5 07:15:50 UTC 2023 - Matěj Cepl <mcepl@cepl.eu>
- Add skip-wcag-contrast-ratio.patch to make
python-wcag-contrast-ratio just optional dependency.
python-wcag-contrast-ratio just optional dependency
(gh#pygments/pygments!2564).
-------------------------------------------------------------------
Mon Aug 7 13:10:31 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>

View File

@@ -32,7 +32,7 @@ License: BSD-2-Clause
Group: Development/Languages/Python
URL: https://pygments.org
Source: https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
# PATCH-FIX-UPSTREAM skip-wcag-contrast-ratio.patch bsc#[0-9]+ mcepl@suse.com
# PATCH-FIX-UPSTREAM skip-wcag-contrast-ratio.patch gh#pygments/pygments!2564 mcepl@suse.com
# Don't make wcag-contrast-ratio mandatory for testing
Patch0: skip-wcag-contrast-ratio.patch
BuildRequires: %{python_module base >= 3.7}