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>
|
Fri Jan 15 13:12:18 UTC 2021 - Benjamin Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-jsonschema
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# 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 idna}
|
||||||
BuildRequires: %{python_module importlib-metadata}
|
BuildRequires: %{python_module importlib-metadata}
|
||||||
BuildRequires: %{python_module jsonpointer > 1.13}
|
BuildRequires: %{python_module jsonpointer > 1.13}
|
||||||
BuildRequires: %{python_module mock}
|
|
||||||
BuildRequires: %{python_module pyrsistent >= 0.14.0}
|
BuildRequires: %{python_module pyrsistent >= 0.14.0}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module rfc3987}
|
BuildRequires: %{python_module rfc3987}
|
||||||
BuildRequires: %{python_module setuptools_scm}
|
BuildRequires: %{python_module setuptools_scm}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -46,7 +46,7 @@ Requires: python-importlib-metadata
|
|||||||
Requires: python-pyrsistent >= 0.14.0
|
Requires: python-pyrsistent >= 0.14.0
|
||||||
Requires: python-six >= 1.11.0
|
Requires: python-six >= 1.11.0
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
Requires(preun): update-alternatives
|
Requires(preun):update-alternatives
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -72,7 +72,7 @@ for Python (supporting 2.6+ including Python 3).
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/jsonschema
|
%python_clone -a %{buildroot}%{_bindir}/jsonschema
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%python_exec setup.py test --test-suite=jsonschema.tests
|
%pytest jsonschema/tests
|
||||||
|
|
||||||
%post
|
%post
|
||||||
%python_install_alternative jsonschema
|
%python_install_alternative jsonschema
|
||||||
|
Loading…
x
Reference in New Issue
Block a user