- 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pygments-pytest?expand=0&rev=21
This commit is contained in:
2022-11-30 06:34:26 +00:00
committed by Git OBS Bridge
parent 87b8a498eb
commit f4713ca5ad
4 changed files with 20 additions and 7 deletions

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
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> Wed Jan 6 14:32:15 UTC 2021 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pygments-pytest # spec file for package python-pygments-pytest
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2022 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,10 +16,9 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1 %define skip_python2 1
Name: python-pygments-pytest Name: python-pygments-pytest
Version: 2.2.0 Version: 2.3.0
Release: 0 Release: 0
Summary: A pygments lexer for pytest output Summary: A pygments lexer for pytest output
License: MIT License: MIT
@@ -55,6 +54,8 @@ This library provides a pygments lexer called "pytest".
%files %{python_files} %files %{python_files}
%doc README.md %doc README.md
%license LICENSE %license LICENSE
%{python_sitelib}/* %pycache_only %{python_sitelib}/__pycache__/*.pyc
%{python_sitelib}/pygments_pytest.py
%{python_sitelib}/pygments_pytest-%{version}*-info
%changelog %changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:acaf2789c3e38bf90d8734bc5aa5095c0c4c21c3115091194353765c51d107cd
size 7100

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

Binary file not shown.