- Switch to pytest, like upstream has.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-parse?expand=0&rev=24
This commit is contained in:
Steve Kowalik 2024-02-01 00:51:19 +00:00 committed by Git OBS Bridge
parent 58af877b52
commit ffb62cb1bf
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 1 00:50:36 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pytest, like upstream has.
-------------------------------------------------------------------
Tue Jan 30 18:07:15 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@ -16,16 +16,15 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-parse
Version: 1.20.1
Release: 0
Summary: Python module for parsing strings using a "format" syntax
License: MIT
Group: Development/Languages/Python
URL: https://github.com/r1chardj0n3s/parse
Source0: https://files.pythonhosted.org/packages/source/p/parse/parse-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
@ -48,7 +47,7 @@ chmod a-x README.rst
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec -m unittest discover -v
%pytest
%files %{python_files}
%license LICENSE