Hello community,
here is the log from the commit of package python-pygments-pytest for
openSUSE:Factory checked in at 2019-09-23 12:03:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pygments-pytest (Old)
and /work/SRC/openSUSE:Factory/.python-pygments-pytest.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pygments-pytest"
Mon Sep 23 12:03:00 2019 rev:2 rq:729495 version:1.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pygments-pytest/python-pygments-pytest.changes
2019-04-08 10:35:19.091231165 +0200
+++
/work/SRC/openSUSE:Factory/.python-pygments-pytest.new.7948/python-pygments-pytest.changes
2019-09-23 12:03:05.641948131 +0200
@@ -1,0 +2,6 @@
+Fri Aug 30 01:14:27 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.3.0:
+ * no upstream changelog
+
+-------------------------------------------------------------------
Old:
----
v1.2.0.tar.gz
New:
----
v1.3.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pygments-pytest.spec ++++++
--- /var/tmp/diff_new_pack.y4w1aW/_old 2019-09-23 12:03:07.845947768 +0200
+++ /var/tmp/diff_new_pack.y4w1aW/_new 2019-09-23 12:03:07.845947768 +0200
@@ -18,22 +18,22 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pygments-pytest
-Version: 1.2.0
+Version: 1.3.0
Release: 0
Summary: A pygments lexer for pytest output
License: MIT
Group: Development/Languages/Python
URL: https://github.com/asottile/pygments-pytest
Source:
https://github.com/asottile/pygments-pytest/archive/v%{version}.tar.gz
+BuildRequires: %{python_module py > 1.7.1}
+BuildRequires: %{python_module pygments-ansi-color >= 0.0.3}
BuildRequires: %{python_module pygments}
BuildRequires: %{python_module pytest >= 4.0}
-BuildRequires: %{python_module py > 1.7.1}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module pygments-ansi-color}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-pytest
Requires: python-pygments
+Requires: python-pytest
BuildArch: noarch
%python_subpackages
++++++ v1.2.0.tar.gz -> v1.3.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pygments-pytest-1.2.0/.travis.yml
new/pygments-pytest-1.3.0/.travis.yml
--- old/pygments-pytest-1.2.0/.travis.yml 2019-02-28 17:50:06.000000000
+0100
+++ new/pygments-pytest-1.3.0/.travis.yml 2019-08-29 22:06:28.000000000
+0200
@@ -7,7 +7,7 @@
- env: TOXENV=py36
python: 3.6
- env: TOXENV=pypy
- python: pypy-5.7.1
+ python: pypy
- env: TOXENV=py36-pytest-master
python: 3.6
- env: TOXENV=py36-pytest-features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pygments-pytest-1.2.0/pygments_pytest.py
new/pygments-pytest-1.3.0/pygments_pytest.py
--- old/pygments-pytest-1.2.0/pygments_pytest.py 2019-02-28
17:50:06.000000000 +0100
+++ new/pygments-pytest-1.3.0/pygments_pytest.py 2019-08-29
22:06:28.000000000 +0200
@@ -14,7 +14,7 @@
flags = re.MULTILINE
def filename_line(self, match):
- yield match.start(1), Color.BoldRed, match.group(1)
+ yield match.start(1), Color.Bold.Red, match.group(1)
yield match.start(2), pygments.token.Text, match.group(2)
tokens = {
@@ -24,15 +24,15 @@
(r'^(?=.+\[ *\d+%\]$)', pygments.token.Text, 'progress_line'),
(r'^=+ (ERRORS|FAILURES) =+$', pygments.token.Text, 'failures'),
(r'^=+ warnings summary( \(final\))? =+$', Color.Yellow),
- (r'^(=+ )?[1-9]\d* (failed|error).*(=+)?$', Color.BoldRed),
- (r'^(=+ )?[1-9].*[1-9]\d* warnings.*(=+)?$', Color.BoldYellow),
- (r'^(=+ )?[1-9]\d* passed.*(=+)?$', Color.BoldGreen),
+ (r'^(=+ )?[1-9]\d* (failed|error).*(=+)?$', Color.Bold.Red),
+ (r'^(=+ )?[1-9].*[1-9]\d* warnings.*(=+)?$', Color.Bold.Yellow),
+ (r'^(=+ )?[1-9]\d* passed.*(=+)?$', Color.Bold.Green),
(
r'^(=+ )?[1-9]\d* (deselected|skipped).*(=+)?$',
- Color.BoldYellow,
+ Color.Bold.Yellow,
),
- (r'^(=+ )?[1-9]\d* (xfailed|xpassed).*(=+)?$', Color.BoldYellow),
- (r'^(=+ )?no tests ran.*(=+)?$', Color.BoldYellow),
+ (r'^(=+ )?[1-9]\d* (xfailed|xpassed).*(=+)?$', Color.Bold.Yellow),
+ (r'^(=+ )?no tests ran.*(=+)?$', Color.Bold.Yellow),
(r'.', pygments.token.Text), # prevent error tokens
],
'progress_line': [
@@ -51,8 +51,8 @@
'#pop',
),
- (r'^_+ .+ _+$', Color.BoldRed),
- (r'^E .*$', Color.BoldRed),
+ (r'^_+ .+ _+$', Color.Bold.Red),
+ (r'^E .*$', Color.Bold.Red),
(r'^(<[^>\n]+>|[^:\n]+)(:\d+:.*$)', filename_line),
(r'^( |>).+$', Color.Bold),
# otherwise pygments will reset our state machine to `root`
@@ -71,7 +71,7 @@
colors = colors or {}
assert set(colors) <= set(COLORS), set(colors) - set(COLORS)
return '.-Color-Bold { font-weight: bold; }\n' + ''.join(
- '.-Color-Bold{k}{{ color: {v}; font-weight: bold; }}\n'
+ '.-Color-Bold.{k}{{ color: {v}; font-weight: bold; }}\n'
'.-Color-{k}{{ color: {v}; }}\n'.format(k=k, v=colors.get(k, v))
for k, v in sorted(COLORS.items())
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pygments-pytest-1.2.0/setup.cfg
new/pygments-pytest-1.3.0/setup.cfg
--- old/pygments-pytest-1.2.0/setup.cfg 2019-02-28 17:50:06.000000000 +0100
+++ new/pygments-pytest-1.3.0/setup.cfg 2019-08-29 22:06:28.000000000 +0200
@@ -1,6 +1,6 @@
[metadata]
name = pygments_pytest
-version = 1.2.0
+version = 1.3.0
description = A pygments lexer for pytest output.
long_description = file: README.md
long_description_content_type = text/markdown