Accepting request 853106 from devel:languages:python

- Revert to 2.6.1 (higher version break python-Pelican).

OBS-URL: https://build.opensuse.org/request/show/853106
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=31
This commit is contained in:
Dominique Leuenberger 2020-12-05 19:35:43 +00:00 committed by Git OBS Bridge
commit 220e5c6e19
4 changed files with 12 additions and 6 deletions

3
Pygments-2.6.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44
size 3303050

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:381985fcc551eb9d37c52088a32914e00517e57f4a21609f48141ba08e193fa0
size 2350457

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Dec 4 13:06:36 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Revert to 2.6.1 (higher version break python-Pelican).
-------------------------------------------------------------------
Sat Oct 24 18:12:13 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>

View File

@ -19,7 +19,8 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pygments
Version: 2.7.2
# DO NOT UPGRADE UNTIL PELICAN IS COMPATIBLE!
Version: 2.6.1
Release: 0
Summary: A syntax highlighting package written in Python
License: BSD-2-Clause
@ -59,8 +60,8 @@ source code. Highlights are:
# Remove non-oss licensed files, see bnc# 760344
rm tests/examplefiles/firefox.mak tests/examplefiles/example.webidl
# Remove unnecessary executable bit
find . -type f -print0 | xargs -0 chmod -x
# Remove unnecessary shebang
sed -i '1 { /^#!/ d }' pygments/lexers/_usd_builtins.py
%build
%python_build