14
0
forked from pool/python-loguru

Accepting request 873587 from home:jayvdb:branches:devel:languages:python

- Add pytest-6.2-excepthooks.patch for compatibility with pytest 6.2

OBS-URL: https://build.opensuse.org/request/show/873587
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-loguru?expand=0&rev=10
This commit is contained in:
John Vandenberg
2021-02-19 01:58:26 +00:00
committed by Git OBS Bridge
parent 6c947d8afb
commit 167d279f3c
3 changed files with 94 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/Delgan/loguru
Source: https://files.pythonhosted.org/packages/source/l/loguru/loguru-%{version}.tar.gz
Patch0: https://github.com/Delgan/loguru/commit/31cf758ee9d22dbfa125f38153782fe20ac9dce5.patch#/pytest-6.2-excepthooks.patch
BuildRequires: %{python_module colorama}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
@@ -46,6 +47,7 @@ which dispatches log messages to configured handlers.
%prep
%setup -q -n loguru-%{version}
%patch0 -p1
%build
%python_build