From d65ead726bfe774ba9eb32c4f4fb55aaef98494d3ac4474ccfadc5e82880ae77 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 16 Nov 2020 15:25:33 +0000 Subject: [PATCH] Accepting request 848903 from openSUSE:Factory Revert to r29 OBS-URL: https://build.opensuse.org/request/show/848903 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=70 --- Pygments-2.6.1.tar.gz | 3 ++ Pygments-2.7.2.tar.gz | 3 -- python-Pygments.changes | 86 ----------------------------------------- python-Pygments.spec | 6 +-- 4 files changed, 6 insertions(+), 92 deletions(-) create mode 100644 Pygments-2.6.1.tar.gz delete mode 100644 Pygments-2.7.2.tar.gz diff --git a/Pygments-2.6.1.tar.gz b/Pygments-2.6.1.tar.gz new file mode 100644 index 0000000..1c4d4ec --- /dev/null +++ b/Pygments-2.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:647344a061c249a3b74e230c739f434d7ea4d8b1d5f3721bc0f3558049b38f44 +size 3303050 diff --git a/Pygments-2.7.2.tar.gz b/Pygments-2.7.2.tar.gz deleted file mode 100644 index 86db46b..0000000 --- a/Pygments-2.7.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:381985fcc551eb9d37c52088a32914e00517e57f4a21609f48141ba08e193fa0 -size 2350457 diff --git a/python-Pygments.changes b/python-Pygments.changes index e6eeada..984642b 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,89 +1,3 @@ -------------------------------------------------------------------- -Sat Oct 24 18:12:13 UTC 2020 - Benoît Monin - -- 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 - -- 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 - -- 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 diff --git a/python-Pygments.spec b/python-Pygments.spec index 09b0ff1..61d9084 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -19,7 +19,7 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pygments -Version: 2.7.2 +Version: 2.6.1 Release: 0 Summary: A syntax highlighting package written in Python License: BSD-2-Clause @@ -59,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 executable bit -find . -type f -print0 | xargs -0 chmod -x +# Remove unnecessary shebang +sed -i '1 { /^#!/ d }' pygments/lexers/_usd_builtins.py %build %python_build