From 5c97b93ce7b23124701ce5226e20b83becfce639cc2dc485c83806d50dbb7ccb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Mon, 16 Mar 2020 08:46:10 +0000 Subject: [PATCH] - Update to 2.0.0: * Fixes for new pytests * Drop support for python2 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pygments-pytest?expand=0&rev=13 --- python-pygments-pytest.changes | 7 +++++++ python-pygments-pytest.spec | 11 +++++------ v1.3.1.tar.gz | 3 --- v2.0.0.tar.gz | 3 +++ 4 files changed, 15 insertions(+), 9 deletions(-) delete mode 100644 v1.3.1.tar.gz create mode 100644 v2.0.0.tar.gz diff --git a/python-pygments-pytest.changes b/python-pygments-pytest.changes index aa74144..43feaf9 100644 --- a/python-pygments-pytest.changes +++ b/python-pygments-pytest.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Mon Mar 16 08:45:47 UTC 2020 - Tomáš Chvátal + +- Update to 2.0.0: + * Fixes for new pytests + * Drop support for python2 + ------------------------------------------------------------------- Wed Jan 15 13:41:56 UTC 2020 - Tomáš Chvátal diff --git a/python-pygments-pytest.spec b/python-pygments-pytest.spec index 4734743..9d0bd6a 100644 --- a/python-pygments-pytest.spec +++ b/python-pygments-pytest.spec @@ -17,22 +17,22 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define skip_python2 1 Name: python-pygments-pytest -Version: 1.3.1 +Version: 2.0.0 Release: 0 Summary: A pygments lexer for pytest output License: MIT 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 pytest >= 4.0.1} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pygments -Requires: python-pytest +Requires: python-pytest >= 4.0.1 BuildArch: noarch %python_subpackages @@ -50,8 +50,7 @@ This library provides a pygments lexer called "pytest". %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -# Starting with pytest 5.3 the coloring changed slightly and all the assets explode -#%%pytest +%pytest %files %{python_files} %doc README.md diff --git a/v1.3.1.tar.gz b/v1.3.1.tar.gz deleted file mode 100644 index 8415fe0..0000000 --- a/v1.3.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc9b64d0d506f06328072a40fa1ad1b42cb86b3dafdea265b038755b3bdd8515 -size 6673 diff --git a/v2.0.0.tar.gz b/v2.0.0.tar.gz new file mode 100644 index 0000000..68602e3 --- /dev/null +++ b/v2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5cc25d39cfcb2e0ecf8ace6772cdb69c2da50ad7a10249fb383aaf0a0468d9c +size 7268