Accepting request 843900 from home:benoit_monin:branches:devel:languages:python

- update to version 2.7.2
- drop shebang removal in _usd_builtins.py: fixed upstream

OBS-URL: https://build.opensuse.org/request/show/843900
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=68
This commit is contained in:
Matej Cepl 2020-10-25 17:29:50 +00:00 committed by Git OBS Bridge
parent 5f4f7358e8
commit 759f262137
4 changed files with 24 additions and 7 deletions

View File

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

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

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

View File

@ -1,3 +1,23 @@
-------------------------------------------------------------------
Sat Oct 24 18:12:13 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
- 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
-------------------------------------------------------------------
Thu Sep 17 18:36:32 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>

View File

@ -19,7 +19,7 @@
%define skip_python2 1
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pygments
Version: 2.7.1
Version: 2.7.2
Release: 0
Summary: A syntax highlighting package written in Python
License: BSD-2-Clause
@ -59,9 +59,6 @@ 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