Hello community,
here is the log from the commit of package python-Pygments for openSUSE:Factory
checked in at 2019-02-24 17:00:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Pygments (Old)
and /work/SRC/openSUSE:Factory/.python-Pygments.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-Pygments"
Sun Feb 24 17:00:20 2019 rev:25 rq:673460 version:2.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Pygments/python-Pygments.changes
2019-01-15 09:13:39.170387181 +0100
+++
/work/SRC/openSUSE:Factory/.python-Pygments.new.28833/python-Pygments.changes
2019-02-24 17:00:21.800766991 +0100
@@ -1,0 +2,20 @@
+Mon Feb 11 17:51:51 UTC 2019 - Jan Engelhardt <[email protected]>
+
+- Avoid name in summary (rpmlint).
+- Ensure neutrality of description.
+
+-------------------------------------------------------------------
+Mon Feb 11 11:10:41 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 2.3.1:
+ * Update lexers
+ * Minimum Python versions changed to 2.7 and 3.5
+ * Added support for Python 3.7 generator changes (PR#772)
+ * Fix incorrect token type in SCSS for single-quote strings (#1322)
+ * Use `terminal256` formatter if `TERM` contains `256` (PR#666)
+ * Fix incorrect handling of GitHub style fences in Markdown (PR#741, #1389)
+ * Fix `%a` not being highlighted in Python3 strings (PR#727)
+- Drop patch python_37.diff which was merged upstream
+- Refresh patch denose.patch
+
+-------------------------------------------------------------------
Old:
----
Pygments-2.2.0.tar.gz
python_37.diff
New:
----
Pygments-2.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-Pygments.spec ++++++
--- /var/tmp/diff_new_pack.csasJy/_old 2019-02-24 17:00:23.028766407 +0100
+++ /var/tmp/diff_new_pack.csasJy/_new 2019-02-24 17:00:23.028766407 +0100
@@ -18,19 +18,18 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Pygments
-Version: 2.2.0
+Version: 2.3.1
Release: 0
-Summary: Pygments is a syntax highlighting package written in Python
+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
-Patch0: python_37.diff
Patch1: denose.patch
-BuildRequires: %{python_module setuptools}
# We need pytest just because of its test runner, it seems even
# python3 stdlib unittest runner doesn't work
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
@@ -42,23 +41,21 @@
%python_subpackages
%description
-Pygments is a syntax highlighting package written in Python.
-
-It is a generic syntax highlighter for general use in all kinds of software
+Pygments is a generic syntax highlighter for general use in all kinds of
software
such as forum systems, wikis or other applications that need to prettify
source code. Highlights are:
* a wide range of common languages and markup formats is supported
- * special attention is paid to details, increasing quality by a fair amount
- * support for new languages and formats are added easily
+ * support for new languages and formats can be added
* a number of output formats, presently HTML, LaTeX, RTF, SVG, all image
formats that PIL supports and ANSI sequences
* it is usable as a command-line tool and as a library
- * ... and it highlights even Brainfuck!
+ * highlights Brainfuck
%prep
%setup -q -n Pygments-%{version}
%autopatch -p1
+
# Remove non-oss licensed files, see bnc# 760344
rm tests/examplefiles/{Sorting,test}.mod
++++++ Pygments-2.2.0.tar.gz -> Pygments-2.3.1.tar.gz ++++++
++++ 48519 lines of diff (skipped)
++++++ denose.patch ++++++
--- /var/tmp/diff_new_pack.csasJy/_old 2019-02-24 17:00:23.400766230 +0100
+++ /var/tmp/diff_new_pack.csasJy/_new 2019-02-24 17:00:23.400766230 +0100
@@ -1,14 +1,17 @@
---- a/tests/run.py
-+++ b/tests/run.py
-@@ -16,18 +16,13 @@ from __future__ import print_function
-
+Index: Pygments-2.3.1/tests/run.py
+===================================================================
+--- Pygments-2.3.1.orig/tests/run.py
++++ Pygments-2.3.1/tests/run.py
+@@ -17,6 +17,7 @@ from __future__ import print_function
import os
import sys
+ import warnings
+import unittest
# only find tests in this directory
if os.path.dirname(__file__):
- os.chdir(os.path.dirname(__file__))
+@@ -30,12 +31,6 @@ warnings.filterwarnings("error", module=
+ category=DeprecationWarning)
-try:
@@ -20,14 +23,16 @@
# make sure the current source is first on sys.path
sys.path.insert(0, '..')
-@@ -47,4 +42,4 @@ else:
+@@ -55,4 +50,4 @@ else:
print('Pygments test suite running (Python %s)...' %
sys.version.split()[0],
file=sys.stderr)
-nose.main()
+unittest.main()
---- a/tests/support.py
-+++ b/tests/support.py
+Index: Pygments-2.3.1/tests/support.py
+===================================================================
+--- Pygments-2.3.1.orig/tests/support.py
++++ Pygments-2.3.1/tests/support.py
@@ -5,7 +5,7 @@ Support for Pygments tests
import os
@@ -37,8 +42,10 @@
def location(mod_name):
---- a/tests/test_cmdline.py
-+++ b/tests/test_cmdline.py
+Index: Pygments-2.3.1/tests/test_cmdline.py
+===================================================================
+--- Pygments-2.3.1.orig/tests/test_cmdline.py
++++ Pygments-2.3.1/tests/test_cmdline.py
@@ -143,7 +143,7 @@ class CmdLineTest(unittest.TestCase):
def test_h_opt(self):
@@ -202,7 +209,9 @@
# same with -v: should reraise the exception
try:
+Index: Pygments-2.3.1/tests/__init__.py
+===================================================================
--- /dev/null
-+++ b/tests/__init__.py
++++ Pygments-2.3.1/tests/__init__.py
@@ -0,0 +1 @@
+