Accepting request 888872 from home:seanmarlow:branches:devel:languages:python:flask
- Add missing python2 requirement. - Ignore test_handle_non_api_error test which is dependent on werkzeug version. OBS-URL: https://build.opensuse.org/request/show/888872 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:flask/python-flask-restx?expand=0&rev=5
This commit is contained in:
parent
d3e521415b
commit
fe05ae84e6
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 27 17:02:22 UTC 2021 - Sean Marlow <sean.marlow@suse.com>
|
||||
|
||||
- Add missing python2 requirement.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 12 21:46:20 UTC 2021 - Sean Marlow <sean.marlow@suse.com>
|
||||
|
||||
- Ignore test_handle_non_api_error test which is dependent on
|
||||
werkzeug version.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Sep 24 05:53:07 UTC 2020 - Petr Cervinka <petr@cervinka.net>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-flask-restx
|
||||
#
|
||||
# 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
|
||||
@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without python2
|
||||
Name: python-flask-restx
|
||||
Version: 0.2.0
|
||||
Release: 0
|
||||
@ -31,19 +32,25 @@ BuildRequires: %{python_module aniso8601}
|
||||
BuildRequires: %{python_module blinker}
|
||||
BuildRequires: %{python_module jsonschema}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest < 6}
|
||||
BuildRequires: %{python_module pytest-benchmark}
|
||||
BuildRequires: %{python_module pytest-flask}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest < 6}
|
||||
BuildRequires: %{python_module pytz}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module tzlocal}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%if %{with python2}
|
||||
BuildRequires: python2-enum34
|
||||
%endif
|
||||
Requires: python-Flask
|
||||
Requires: python-aniso8601
|
||||
Requires: python-jsonschema
|
||||
Requires: python-pytz
|
||||
%ifpython2
|
||||
Requires: python2-enum34
|
||||
%endif
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -65,7 +72,7 @@ its documentation properly using Swagger.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest -k 'not URLTest and not EmailTest'
|
||||
%pytest -k 'not URLTest and not EmailTest and not test_handle_non_api_error'
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.rst CONTRIBUTING.rst
|
||||
|
Loading…
x
Reference in New Issue
Block a user