15
0

Accepting request 853103 from openSUSE:Factory

- update to version 2.7.2:
  * Updated lexers:
    + Latex (PR#1517, #1516)
    + LLVM (PR#1565)
    + SPARQL (PR#1559)
  * Fixed Python console/traceback lexer problems with custom
    exceptions without messages (#1548)
  * Allow loading ttc fonts on Mac/image formatter (#1223)
  * Improve analyze_text across a variety of lexers (PR#1549)
  * Removed CSS rule which forced the vertical padding to 0 for
    line numbers (PR#1583, #1579)
  * Fix TNTLexer crashing on unexpected EOL (#1568, PR#1570)
  * regexlint can be now run locally as part of tox tests (PR#1557)
  * Fix typos (PR#1550, #1562)
  * Add Python 3.9 as a supported version (PR#1554)
- drop shebang removal in _usd_builtins.py: fixed upstream

- update to version 2.7.1:
  * Fixed a regression in the JSON lexer (#1544)

- update to version 2.7.0:
  * Added lexers:
    + Arrow (PR#1481, PR#1499)
    + BARE (PR#1488)
    + Devicetree (PR#1434)
    + F* (PR#1409)
    + GDScript (PR#1457)
    + Pointless (PR#1494)
    + PromQL (PR#1506)
    + PsySH (PR#1438)

OBS-URL: https://build.opensuse.org/request/show/853103
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=72
This commit is contained in:
2020-12-04 12:49:27 +00:00
committed by Git OBS Bridge
parent 96ca53093c
commit 02ae8942a5
4 changed files with 89 additions and 9 deletions

View File

@@ -19,8 +19,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pygments
# DO NOT UPGRADE UNTIL PELICAN IS COMPATIBLE!
Version: 2.6.1
Version: 2.7.2
Release: 0
Summary: A syntax highlighting package written in Python
License: BSD-2-Clause
@@ -60,8 +59,8 @@ source code. Highlights are:
# 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
# Remove unnecessary executable bit
find . -type f -print0 | xargs -0 chmod -x
%build
%python_build