From 4ecaada45e1b970e379231d1c85d4146b80699e9e354e5521c6922e1852afa03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Mon, 17 May 2021 11:17:19 +0000 Subject: [PATCH] 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 --- python-fuzzywuzzy.changes | 5 +++++ python-fuzzywuzzy.spec | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/python-fuzzywuzzy.changes b/python-fuzzywuzzy.changes index 589f154..e1a36bc 100644 --- a/python-fuzzywuzzy.changes +++ b/python-fuzzywuzzy.changes @@ -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 diff --git a/python-fuzzywuzzy.spec b/python-fuzzywuzzy.spec index 1ea6e31..72a29ec 100644 --- a/python-fuzzywuzzy.spec +++ b/python-fuzzywuzzy.spec @@ -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