forked from pool/python-pygments-pytest
- Update to 1.2.0:
* Fixes for new pytest OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pygments-pytest?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
dc464c80a8
commit
cdbf909ae4
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pygments-pytest
|
||||
Version: 1.1.1
|
||||
Version: 1.2.0
|
||||
Release: 0
|
||||
Summary: A pygments lexer for pytest output
|
||||
License: MIT
|
||||
@@ -26,12 +26,13 @@ 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 pygments}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytest >= 4.0}
|
||||
BuildRequires: %{python_module py > 1.7.1}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module importlib-metadata}
|
||||
BuildRequires: %{python_module pygments-ansi-color}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest
|
||||
Requires: python-pygments
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
@@ -49,8 +50,7 @@ BuildArch: noarch
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# test_versions - check we do not care about for git verification
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not test_versions'
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user