Accepting request 1143158 from devel:languages:python
- Switch to pytest, like upstream has. OBS-URL: https://build.opensuse.org/request/show/1143158 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-parse?expand=0&rev=12
This commit is contained in:
commit
6932cf07d1
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user