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:
Matej Cepl 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

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

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,7 +1,88 @@
-------------------------------------------------------------------
Mon Nov 16 15:32:36 UTC 2020 - Matej Cepl <mcepl@suse.com>
Sat Oct 24 18:12:13 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
- Revert to 2.6.1 to unbrake Pelican.
- 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>
- update to version 2.7.1:
* Fixed a regression in the JSON lexer (#1544)
-------------------------------------------------------------------
Sun Sep 13 20:17:53 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
- 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)
+ Singularity (PR#1285)
+ TiddlyWiki5 (PR#1390)
+ TNT (PR#1414)
+ YANG (PR#1408, PR#1428)
* Updated lexers:
+ APL (PR#1503)
+ C++ (PR#1350, which also fixes: #1222, #996, #906, #828,
#1162, #1166, #1396)
+ Chapel (PR#1423)
+ CMake (#1491)
+ CSound (#1509)
+ Cython (PR#1507)
+ Dart (PR#1449)
+ Fennel (PR#1535)
+ Fortran (PR#1442)
+ GAS (PR#1530)
+ HTTP (PR#1432, #1520, PR#1521)
+ Inform 6 (PR#1461)
+ Javascript (PR#1533)
+ JSON (#1065, PR#1528)
+ Lean (PR#1415)
+ Matlab (PR#1399)
+ Markdown (#1492, PR#1495)
+ MySQL (#975, #1063, #1453, PR#1527)
+ NASM (PR#1465)
+ Nim (PR#1426)
+ PostgreSQL (PR#1513)
+ PowerShell (PR#1398, PR#1497)
+ Protobuf (PR#1505)
+ Robot (PR#1480)
+ SQL (PR#1402)
+ SystemVerilog (PR#1436, PR#1452, PR#1454, PR#1460, PR#1462,
PR#1463, PR#1464, PR#1471, #1496, PR#1504)
+ TeraTerm (PR#1337)
+ XML (#1502)
* Added a new filter for math symbols (PR#1406)
* The Kconfig lexer will match Kconfig derivative names now
(PR#1458)
* Improved HTML formatter output (PR#1500)
* .markdown is now recognized as an extension for Markdown files
(PR#1476)
* Fixed line number colors for Solarized (PR#1477, #1356)
* Improvements to exception handling (PR#1478)
* Improvements to tests (PR#1532, PR#1533, PR#1539)
* Various code cleanups (PR#1536, PR#1537, PR#1538)
- remove unnecessary executable bit on all source files
-------------------------------------------------------------------
Tue Apr 14 11:38:23 UTC 2020 - Matej Cepl <mcepl@suse.com>

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