15
0

Accepting request 894027 from home:pgajdos:python

- use %pytest macro in %check

OBS-URL: https://build.opensuse.org/request/show/894027
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-dirtyjson?expand=0&rev=3
This commit is contained in:
2021-05-18 12:23:31 +00:00
committed by Git OBS Bridge
parent 462edd0577
commit 1a33573c1d
2 changed files with 8 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue May 18 11:03:44 UTC 2021 - pgajdos@suse.com
- use %pytest macro in %check
-------------------------------------------------------------------
Wed Apr 3 04:35:39 AM UTC 2019 - John Vandenberg <jayvdb@gmail.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-dirtyjson
#
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# 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
@@ -25,6 +25,7 @@ License: MIT
Group: Development/Languages/Python
URL: https://github.com/codecobblers/dirtyjson
Source: https://files.pythonhosted.org/packages/source/d/dirtyjson/dirtyjson-%{version}.tar.gz
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@@ -46,7 +47,7 @@ JSON decoder for Python that can extract data from dirty input.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%python_exec setup.py test
%pytest
%files %{python_files}
%doc CHANGES.txt README.rst