commit 07143b24c1c1e6a23ebdadde4cab217d0f926e36 Author: Adrian Schröter Date: Tue Jun 6 15:14:51 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 python-pygments-pytest revision 9b4a5ddb077ebf45104c935b297bd650 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/python-pygments-pytest.changes b/python-pygments-pytest.changes new file mode 100644 index 0000000..c2c454d --- /dev/null +++ b/python-pygments-pytest.changes @@ -0,0 +1,76 @@ +------------------------------------------------------------------- +Fri Apr 21 12:30:50 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Wed Nov 30 06:28:21 UTC 2022 - Daniel Garcia + +- 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á + +- Update to 2.2.0 + * handle skip / xfail reasons (change in pytest 6.2) + +------------------------------------------------------------------- +Fri Aug 21 11:42:17 UTC 2020 - Marketa Calabkova + +- 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 + +- 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 + +- Update to 2.0.0: + * Fixes for new pytests + * Drop support for python2 + +------------------------------------------------------------------- +Wed Jan 15 13:41:56 UTC 2020 - Tomáš Chvátal + +- 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 + +- Update to 1.3.1: + * no upstream changelog + +------------------------------------------------------------------- +Fri Aug 30 01:14:27 UTC 2019 - Tomáš Chvátal + +- Update to 1.3.0: + * no upstream changelog + +------------------------------------------------------------------- +Tue Mar 26 12:17:56 UTC 2019 - Jan Engelhardt + +- Add missing description. + +------------------------------------------------------------------- +Fri Mar 8 11:20:39 UTC 2019 - Tomáš Chvátal + +- Update to 1.2.0: + * Fixes for new pytest + +------------------------------------------------------------------- +Thu Jan 31 13:04:10 UTC 2019 - Tomáš Chvátal + +- Initial commit, needed by pytest 4.x diff --git a/python-pygments-pytest.spec b/python-pygments-pytest.spec new file mode 100644 index 0000000..cd40a49 --- /dev/null +++ b/python-pygments-pytest.spec @@ -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 diff --git a/v2.3.0.tar.gz b/v2.3.0.tar.gz new file mode 100644 index 0000000..25fc275 --- /dev/null +++ b/v2.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c19b5ba585a6eba62485537fc17f2d85b996f42d2d1c6b6eecb85662567d6298 +size 7176