Hello community,

here is the log from the commit of package python-Pygments for openSUSE:Factory 
checked in at 2020-04-19 21:49:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Pygments (Old)
 and      /work/SRC/openSUSE:Factory/.python-Pygments.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Pygments"

Sun Apr 19 21:49:17 2020 rev:29 rq:793948 version:2.6.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Pygments/python-Pygments.changes  
2019-06-07 12:18:12.372793508 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-Pygments.new.2738/python-Pygments.changes    
    2020-04-19 21:49:21.036066420 +0200
@@ -1,0 +2,137 @@
+Tue Apr 14 11:38:23 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Don't use %python3_only command, but properly use alternatives.
+
+-------------------------------------------------------------------
+Wed Mar 18 21:42:09 UTC 2020 - Benoît Monin <benoit.mo...@gmx.fr>
+
+- fix the path of non-oss licensed files to remove
+
+-------------------------------------------------------------------
+Fri Mar 13 16:20:21 UTC 2020 - Benoît Monin <benoit.mo...@gmx.fr>
+
+- set the minimal version of python to 3.5 to match upstream
+  requirement
+
+-------------------------------------------------------------------
+Mon Mar  9 19:52:24 UTC 2020 - Benoît Monin <benoit.mo...@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.mo...@gmx.fr>
+
+- update to version 2.5.2:
+  * Fix incompatibility with some setuptools versions (PR#1316)
+  * Fix lexing of ReST field lists (PR#1279)
+  * Fix lexing of Matlab keywords as field names (PR#1282)
+  * Recognize double-quoted strings in Matlab (PR#1278)
+  * Avoid slow backtracking in Vim lexer (PR#1312)
+  * Fix Scala highlighting of types (PR#1315)
+  * Highlight field lists more consistently in ReST (PR#1279)
+  * Fix highlighting Matlab keywords in field names (PR#1282)
+  * Recognize Matlab double quoted strings (PR#1278)
+  * Add some Terraform keywords
+  * Update Modelica lexer to 3.4
+  * Update Crystal examples
+- additional changes from version 2.5.1:
+  * This release fixes a packaging issue. No functional changes.
+- additional changes from version 2.5.0:
+  * Added lexers:
+    + Email (PR#1246)
+    + Erlang, Elxir shells (PR#823, #1521)
+    + Notmuch (PR#1264)
+    + Scdoc (PR#1268)
+    + Solidity (#1214)
+    + Zeek (new name for Bro) (PR#1269)
+    + Zig (PR#820)
+  * Updated lexers:
+    + Apache2 Configuration (PR#1251)
+    + Bash sessions (#1253)
+    + CSound (PR#1250)
+    + Dart
+    + Dockerfile
+    + Emacs Lisp
+    + Handlebars (PR#773)
+    + Java (#1101, #987)
+    + Logtalk (PR#1261)
+    + Matlab (PR#1271)
+    + Praat (PR#1277)
+    + Python3 (PR#1255)
+    + Ruby
+    + YAML (#1528)
+    + Velocity
+  * Added styles:
+    + Inkpot (PR#1276)
+  * The PythonLexer class is now an alias for the former
+    Python3Lexer. The old PythonLexer is available as Python2Lexer.
+  * Bump NasmLexer priority over TasmLexer for .asm files
+    (fixes #1326)
+  * Default font in the ImageFormatter has been updated
+    (#928, PR#1245)
+  * Test suite switched to py.test, removed nose dependency (#1490)
+  * Reduce TeraTerm lexer score -- it used to match nearly all
+    languages (#1256)
+  * Treat Skylark/Starlark files as Python files (PR#1259)
+  * Image formatter: actually respect line_number_separator option
+  * Add LICENSE file to wheel builds
+  * Agda: fix lambda highlighting
+  * Dart: support @ annotations
+  * Dockerfile: accept FROM ... AS syntax
+  * Emacs Lisp: add more string functions
+  * GAS: accept registers in directive arguments
+  * Java: make structural punctuation (braces, parens, colon,
+    comma) Punctuation, not Operator (#987)
+  * Java: support var contextual keyword (#1101)
+  * Matlab: Fix recognition of function keyword (PR#1271)
+  * Python: recognize .jy filenames (#976)
+  * Python: recognize f string prefix (#1156)
+  * Ruby: support squiggly heredocs
+  * Shell sessions: recognize Virtualenv prompt (PR#1266)
+  * Velocity: support silent reference syntax
+- drop denose.patch: fixed upstream
+- fix postuninstall alternative
+
+-------------------------------------------------------------------

Old:
----
  Pygments-2.4.2.tar.gz
  denose.patch

New:
----
  Pygments-2.6.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Pygments.spec ++++++
--- /var/tmp/diff_new_pack.RgK5wQ/_old  2020-04-19 21:49:22.364069084 +0200
+++ /var/tmp/diff_new_pack.RgK5wQ/_new  2020-04-19 21:49:22.368069092 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Pygments
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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,17 +16,17 @@
 #
 
 
+%define skip_python2 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-Pygments
-Version:        2.4.2
+Version:        2.6.1
 Release:        0
 Summary:        A syntax highlighting package written in Python
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
 URL:            http://pygments.org
 Source:         
https://files.pythonhosted.org/packages/source/P/Pygments/Pygments-%{version}.tar.gz
-# bt#birkenfeld/pygments-main#1490
-Patch1:         denose.patch
+BuildRequires:  %{python_module base >= 3.5}
 # We need pytest just because of its test runner, it seems even
 # python3 stdlib unittest runner doesn't work
 BuildRequires:  %{python_module pytest}
@@ -55,41 +55,41 @@
 
 %prep
 %setup -q -n Pygments-%{version}
-%autopatch -p1
 
 # Remove non-oss licensed files, see bnc# 760344
-rm tests/examplefiles/{Sorting,test}.mod
+rm tests/examplefiles/firefox.mak tests/examplefiles/example.webidl
+
+# Remove unnecessary shebang
+sed -i '1 { /^#!/ d }' pygments/lexers/_usd_builtins.py
 
 %build
 %python_build
 
 %install
 %python_install
-%{python_expand %$python_install
-mv %{buildroot}%{_bindir}/pygmentize 
%{buildroot}%{_bindir}/pygmentize-%{$python_bin_suffix}
-rm -rf %{buildroot}%{$python_sitelib}/tests
-%fdupes %{buildroot}%{$python_sitelib}
-%if "%{python3_bin_suffix}" != ""
 install -Dm0644 doc/pygmentize.1 %{buildroot}%{_mandir}/man1/pygmentize.1
-%endif
+%python_clone -a %{buildroot}%{_bindir}/pygmentize
+%python_clone -a %{buildroot}%{_mandir}/man1/pygmentize.1
+%{python_expand rm -rf %{buildroot}%{$python_sitelib}/tests
+%fdupes %{buildroot}%{$python_sitelib}
 }
 
 %prepare_alternative pygmentize
 
 %post
-%python_install_alternative pygmentize
+%{python_install_alternative pygmentize pygmentize.1}
 
 %postun
-%python_install_alternative pygmentize
+%python_uninstall_alternative pygmentize
 
 %check
 %pytest
 
 %files %{python_files}
 %license LICENSE
-%doc AUTHORS CHANGES TODO
+%doc AUTHORS CHANGES
 %python_alternative %{_bindir}/pygmentize
-%python3_only %{_mandir}/man1/pygmentize.1*
+%python_alternative %{_mandir}/man1/pygmentize.1%{ext_man}
 %{python_sitelib}/pygments/
 %{python_sitelib}/Pygments-%{version}-py%{python_version}.egg-info/
 

++++++ Pygments-2.4.2.tar.gz -> Pygments-2.6.1.tar.gz ++++++
/work/SRC/openSUSE:Factory/python-Pygments/Pygments-2.4.2.tar.gz 
/work/SRC/openSUSE:Factory/.python-Pygments.new.2738/Pygments-2.6.1.tar.gz 
differ: char 5, line 1


Reply via email to