diff --git a/Pygments-2.5.2.tar.gz b/Pygments-2.5.2.tar.gz deleted file mode 100644 index 84f0b55..0000000 --- a/Pygments-2.5.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe -size 20263984 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/python-Pygments.changes b/python-Pygments.changes index b4ec84a..b96c3ca 100644 --- a/python-Pygments.changes +++ b/python-Pygments.changes @@ -1,3 +1,50 @@ +------------------------------------------------------------------- +Mon Mar 9 19:52:24 UTC 2020 - Benoît Monin + +- update to version 2.6.1: + * This release fixes a packaging issue. No functional changes. +- additional changes from version 2.6.0: + * Running Pygments on Python 2.x is no longer supported. + * Added lexers: + + Linux kernel logs (PR#1310) + + LLVM MIR (PR#1361) + + MiniScript (PR#1397) + + Mosel (PR#1287, PR#1326) + + Parsing Expression Grammar (PR#1336) + + ReasonML (PR#1386) + + Ride (PR#1319, PR#1321) + + Sieve (PR#1257) + + USD (PR#1290) + + WebIDL (PR#1309) + * Updated lexers: + + Apache2 (PR#1378) + + Chapel (PR#1357) + + CSound (PR#1383) + + D (PR#1375, PR#1362) + + Idris (PR#1360) + + Perl6/Raku lexer (PR#1344) + + Python3 (PR#1382, PR#1385) + + Rust: Updated lexer to cover more builtins (mostly macros) + and miscellaneous new syntax (PR#1320) + + SQL: Add temporal support keywords (PR#1402) + * The 256-color/true-color terminal formatters now support the + italic attribute in styles (PR#1288) + * Support HTTP 2/3 header (PR#1308) + * Support missing reason in HTTP header (PR#1322) + * Boogie/Silver: support line continuations and triggers, move + contract keywords to separate category (PR#1299) + * GAS: support C-style comments (PR#1291) + * Fix names in S lexer (PR#1330, PR#1333) + * Fix numeric literals in Ada (PR#1334) + * Recognize .mjs files as Javascript (PR#1392) + * Recognize .eex files as Elixir (PR#1387) + * Fix re.MULTILINE usage (PR#1388) + * Recognize pipenv and poetry dependency & lock files (PR#1376) + * Improve font search on Windows (#1247) + * Remove unused script block (#1401) +- disable python2 build: Pygments is python 3 only now +- remove shebang from pygments/lexers/_usd_builtins.py: unneeded + ------------------------------------------------------------------- Sun Dec 8 17:22:40 UTC 2019 - Benoît Monin diff --git a/python-Pygments.spec b/python-Pygments.spec index 7aa3da8..50abd6c 100644 --- a/python-Pygments.spec +++ b/python-Pygments.spec @@ -1,7 +1,7 @@ # # spec file for package python-Pygments # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,9 +16,10 @@ # +%define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Pygments -Version: 2.5.2 +Version: 2.6.1 Release: 0 Summary: A syntax highlighting package written in Python License: BSD-2-Clause @@ -57,6 +58,9 @@ source code. Highlights are: # Remove non-oss licensed files, see bnc# 760344 rm tests/examplefiles/{Sorting,test}.mod +# Remove unnecessary shebang +sed -i '1 { /^#!/ d }' pygments/lexers/_usd_builtins.py + %build %python_build