Compare commits

..

No commits in common. "1.1" and "main" have entirely different histories.
1.1 ... main

4 changed files with 25 additions and 11 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
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>
@ -6,7 +18,7 @@ Fri Apr 21 12:30:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
-------------------------------------------------------------------
Wed Nov 30 06:28:21 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Remove python_module macro definition
- Remove python_module macro definition
- More specific python_sitelib in %files
- Update to 2.3.0:
* Update azure-pipelines template repositories

View File

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

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

Binary file not shown.

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

Binary file not shown.