Accepting request 893696 from home:pgajdos:python

- use %pytest macro

OBS-URL: https://build.opensuse.org/request/show/893696
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-fuzzywuzzy?expand=0&rev=3
This commit is contained in:
Markéta Machová 2021-05-17 11:17:19 +00:00 committed by Git OBS Bridge
parent 2902a62098
commit 4ecaada45e
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 17 10:47:45 UTC 2021 - pgajdos@suse.com
- use %pytest macro
-------------------------------------------------------------------
Fri Mar 6 13:39:57 UTC 2020 - pgajdos@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-fuzzywuzzy
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -27,6 +27,7 @@ URL: https://github.com/seatgeek/fuzzywuzzy
Source: https://files.pythonhosted.org/packages/source/f/fuzzywuzzy/fuzzywuzzy-%{version}.tar.gz
BuildRequires: %{python_module Levenshtein}
BuildRequires: %{python_module pycodestyle}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -48,7 +49,7 @@ Fuzzy string matching in python
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pytest
%files %{python_files}
%doc CHANGES.rst README README.rst