diff --git a/Pygments-2.11.1.tar.gz b/Pygments-2.11.1.tar.gz new file mode 100644 index 0000000..ccb348a --- /dev/null +++ b/Pygments-2.11.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59b895e326f0fb0d733fd28c6839bd18ad0687ba20efc26d4277fd1d30b971f4 +size 4206490 diff --git a/Pygments-2.9.0.tar.gz b/Pygments-2.9.0.tar.gz deleted file mode 100644 index 5bcdf2f..0000000 --- a/Pygments-2.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a18f47b506a429f6f4b9df81bb02beab9ca21d0a5fee38ed15aef65f0545519f -size 4048049 diff --git a/python-Pygments.changes b/python-Pygments.changes index 2dff35e..2199b57 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Jan 3 11:09:21 UTC 2022 - Martin Liška + +- Update to 2.11.1: + https://github.com/pygments/pygments/blob/master/CHANGES +- Remove one test as it requires wcag-contrast-ratio Python package. + ------------------------------------------------------------------- Thu Sep 9 08:48:02 UTC 2021 - Stefan Schubert diff --git a/python-Pygments.spec b/python-Pygments.spec index 8c9357f..b97370f 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pygments # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -26,8 +26,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pygments -# DO NOT UPGRADE UNTIL PELICAN IS COMPATIBLE! -Version: 2.9.0 +Version: 2.11.1 Release: 0 Summary: A syntax highlighting package written in Python License: BSD-2-Clause @@ -38,6 +37,7 @@ BuildRequires: %{python_module base >= 3.5} # We need pytest just because of its test runner, it seems even # python3 stdlib unittest runner doesn't work BuildRequires: %{python_module pytest} +BuildRequires: %{python_module lxml} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros >= 20210929 @@ -97,6 +97,8 @@ install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1 %python_uninstall_alternative pygmentize %check +# skip test that requires wcag-contrast-ratio Python package +rm ./tests/contrast/test_contrasts.py %pytest %files %{python_files}