Accepting request 943586 from home:marxin:branches:devel:languages:python
- Update to 2.11.1: https://github.com/pygments/pygments/blob/master/CHANGES - Remove one test as it requires wcag-contrast-ratio Python package. I verified python-pelican package can be built with updated Pygments. OBS-URL: https://build.opensuse.org/request/show/943586 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=79
This commit is contained in:
parent
49e9ec500a
commit
c2e2356a47
3
Pygments-2.11.1.tar.gz
Normal file
3
Pygments-2.11.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:59b895e326f0fb0d733fd28c6839bd18ad0687ba20efc26d4277fd1d30b971f4
|
||||
size 4206490
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a18f47b506a429f6f4b9df81bb02beab9ca21d0a5fee38ed15aef65f0545519f
|
||||
size 4048049
|
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 3 11:09:21 UTC 2022 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- 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 <schubi@suse.de>
|
||||
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user