Sync from SUSE:SLFO:Main python-pygments-pytest revision 9b4a5ddb077ebf45104c935b297bd650

This commit is contained in:
Adrian Schröter 2024-05-03 22:10:16 +02:00
commit d11280b0e5
4 changed files with 164 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

View File

@ -0,0 +1,76 @@
-------------------------------------------------------------------
Fri Apr 21 12:30:50 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Wed Nov 30 06:28:21 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Remove python_module macro definition
- More specific python_sitelib in %files
- Update to 2.3.0:
* Update azure-pipelines template repositories
* stricter mypy settings
* exit(main()) -> raise SystemExit(main()) pt2
* drop python3.6 support
* coloring changes for pytest 7.2
-------------------------------------------------------------------
Wed Jan 6 14:32:15 UTC 2021 - Markéta Machová <mmachova@suse.com>
- Update to 2.2.0
* handle skip / xfail reasons (change in pytest 6.2)
-------------------------------------------------------------------
Fri Aug 21 11:42:17 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 2.1.0
* Use new --code-highlight=no in pytest 6 (and prevent tests from failing)
-------------------------------------------------------------------
Wed Apr 29 15:01:50 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Switching off the failing coloring tests, it looks like
gh#asottile/pygments-pytest#18, but not completely certain
about it.
-------------------------------------------------------------------
Mon Mar 16 08:45:47 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 2.0.0:
* Fixes for new pytests
* Drop support for python2
-------------------------------------------------------------------
Wed Jan 15 13:41:56 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Disable tests run as now they all fail under pytest 5.3 due to
slight coloring change that does not match fixtures
-------------------------------------------------------------------
Tue Nov 5 11:00:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.3.1:
* no upstream changelog
-------------------------------------------------------------------
Fri Aug 30 01:14:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.3.0:
* no upstream changelog
-------------------------------------------------------------------
Tue Mar 26 12:17:56 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Add missing description.
-------------------------------------------------------------------
Fri Mar 8 11:20:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.2.0:
* Fixes for new pytest
-------------------------------------------------------------------
Thu Jan 31 13:04:10 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Initial commit, needed by pytest 4.x

View File

@ -0,0 +1,62 @@
#
# spec file for package python-pygments-pytest
#
# 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
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-pygments-pytest
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 pygments-ansi-color >= 0.0.3}
BuildRequires: %{python_module pygments}
BuildRequires: %{python_module pytest >= 4.0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pygments
Requires: python-pytest >= 4.0.1
BuildArch: noarch
%python_subpackages
%description
This library provides a pygments lexer called "pytest".
%prep
%setup -q -n pygments-pytest-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%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}*-info
%changelog

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

Binary file not shown.