Compare commits

...

1 Commits
main ... 1.1

4 changed files with 11 additions and 25 deletions

View File

@ -1,15 +1,3 @@
-------------------------------------------------------------------
Mon Jul 29 04:21:50 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- Skip a test that fails with Pytest 8.3.
-------------------------------------------------------------------
Sun Jan 7 20:53:30 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.4.0:
* drop python 3.8 support
-------------------------------------------------------------------
Fri Apr 21 12:30:50 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-pygments-pytest
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,20 +16,19 @@
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pygments-pytest
Version: 2.4.0
Version: 2.3.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 pip}
BuildRequires: %{python_module pygments-ansi-color >= 0.0.3}
BuildRequires: %{python_module pygments}
BuildRequires: %{python_module pytest >= 4.0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pygments
@ -44,21 +43,20 @@ This library provides a pygments lexer called "pytest".
%setup -q -n pygments-pytest-%{version}
%build
%pyproject_wheel
%python_build
%install
%pyproject_install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# https://github.com/pytest-dev/pygments-pytest/issues/135
%pytest -k 'not test_warnings'
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%pycache_only %{python_sitelib}/__pycache__/*.pyc
%{python_sitelib}/pygments_pytest.py
%{python_sitelib}/pygments_pytest-%{version}.dist-info
%{python_sitelib}/pygments_pytest-%{version}*-info
%changelog

BIN
v2.3.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
v2.4.0.tar.gz (Stored with Git LFS)

Binary file not shown.