15
0

- 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/package/show/devel:languages:python/python-Pygments?expand=0&rev=77
This commit is contained in:
2021-07-15 05:18:14 +00:00
committed by Git OBS Bridge
parent 025919c22e
commit 3ee1378582
4 changed files with 12 additions and 8 deletions

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