diff --git a/python-pygments-pytest.changes b/python-pygments-pytest.changes index 39161a0..ff7bd9d 100644 --- a/python-pygments-pytest.changes +++ b/python-pygments-pytest.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jul 29 04:21:50 UTC 2024 - Steve Kowalik + +- Switch to pyproject macros. +- Skip a test that fails with Pytest 8.3. + +------------------------------------------------------------------- +Sun Jan 7 20:53:30 UTC 2024 - Dirk Müller + +- update to 2.4.0: + * drop python 3.8 support + ------------------------------------------------------------------- Fri Apr 21 12:30:50 UTC 2023 - Dirk Müller @@ -6,7 +18,7 @@ Fri Apr 21 12:30:50 UTC 2023 - Dirk Müller ------------------------------------------------------------------- Wed Nov 30 06:28:21 UTC 2022 - Daniel Garcia -- 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 diff --git a/python-pygments-pytest.spec b/python-pygments-pytest.spec index 740b4cd..81b1ac2 100644 --- a/python-pygments-pytest.spec +++ b/python-pygments-pytest.spec @@ -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 diff --git a/v2.3.0.tar.gz b/v2.3.0.tar.gz deleted file mode 100644 index c83425a..0000000 --- a/v2.3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c19b5ba585a6eba62485537fc17f2d85b996f42d2d1c6b6eecb85662567d6298 -size 7176 diff --git a/v2.4.0.tar.gz b/v2.4.0.tar.gz new file mode 100644 index 0000000..84eb885 --- /dev/null +++ b/v2.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5a0fa6d2fbca121f02240facd1caa05ad50193152766692e5057b98c926f772b +size 7022