Accepting request 906363 from devel:languages:python

- Update to 2.9.0:
  - This time the list of changes is truly too long, take a look
    at https://github.com/pygments/pygments/blob/master/CHANGES.

OBS-URL: https://build.opensuse.org/request/show/906363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Pygments?expand=0&rev=33
This commit is contained in:
Dominique Leuenberger 2021-07-25 18:09:02 +00:00 committed by Git OBS Bridge
commit f188dea4f7
4 changed files with 12 additions and 8 deletions

View File

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

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

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jul 15 05:11:04 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Update to 2.9.0:
- This time the list of changes is truly too long, take a look
at https://github.com/pygments/pygments/blob/master/CHANGES.
-------------------------------------------------------------------
Fri Jan 29 15:42:09 UTC 2021 - Matej Cepl <mcepl@suse.com>

View File

@ -20,7 +20,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pygments
# DO NOT UPGRADE UNTIL PELICAN IS COMPATIBLE!
Version: 2.7.4
Version: 2.9.0
Release: 0
Summary: A syntax highlighting package written in Python
License: BSD-2-Clause
@ -57,11 +57,8 @@ source code. Highlights are:
%prep
%setup -q -n Pygments-%{version}
# Remove non-oss licensed files, see bnc# 760344
rm tests/examplefiles/firefox.mak tests/examplefiles/example.webidl
# Remove unnecessary shebang
sed -i '1 { /^#!/ d }' pygments/lexers/_usd_builtins.py
# sed -i '1 { /^#!/ d }' pygments/lexers/_usd_builtins.py
%build
%python_build