Accepting request 895334 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/895334 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jsonschema?expand=0&rev=26
This commit is contained in:
commit
6ca08e4040
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 25 07:59:29 UTC 2021 - pgajdos@suse.com
|
||||
|
||||
- %check: use %pytest rpm macro
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 15 13:12:18 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-jsonschema
|
||||
#
|
||||
# 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
|
||||
@ -31,8 +31,8 @@ BuildRequires: %{python_module attrs >= 17.4.0}
|
||||
BuildRequires: %{python_module idna}
|
||||
BuildRequires: %{python_module importlib-metadata}
|
||||
BuildRequires: %{python_module jsonpointer > 1.13}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pyrsistent >= 0.14.0}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module rfc3987}
|
||||
BuildRequires: %{python_module setuptools_scm}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
@ -72,7 +72,7 @@ for Python (supporting 2.6+ including Python 3).
|
||||
%python_clone -a %{buildroot}%{_bindir}/jsonschema
|
||||
|
||||
%check
|
||||
%python_exec setup.py test --test-suite=jsonschema.tests
|
||||
%pytest jsonschema/tests
|
||||
|
||||
%post
|
||||
%python_install_alternative jsonschema
|
||||
|
Loading…
Reference in New Issue
Block a user