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

- update to version 2.7.0
- remove unnecessary executable bit on all source files

OBS-URL: https://build.opensuse.org/request/show/834354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=66
This commit is contained in:
Tomáš Chvátal 2020-09-15 06:58:50 +00:00 committed by Git OBS Bridge
parent a2330ab5d6
commit 0e1f838be3
4 changed files with 67 additions and 4 deletions

View File

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

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

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

View File

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