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

- update to version 2.6.1
- disable python2 build: Pygments is python 3 only now
- remove shebang from pygments/lexers/_usd_builtins.py: unneeded

OBS-URL: https://build.opensuse.org/request/show/783089
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Pygments?expand=0&rev=60
This commit is contained in:
Matej Cepl 2020-03-09 22:31:50 +00:00 committed by Git OBS Bridge
parent 6d9951f6c1
commit 5053a4cf20
4 changed files with 56 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe
size 20263984

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

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

View File

@ -1,3 +1,50 @@
-------------------------------------------------------------------
Mon Mar 9 19:52:24 UTC 2020 - Benoît Monin <benoit.monin@gmx.fr>
- 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 <benoit.monin@gmx.fr>

View File

@ -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