Accepting request 915000 from home:jayvdb:branches:devel:languages:python:flask

- Add runtime dependency on importlib-metadata on Python 3.6

OBS-URL: https://build.opensuse.org/request/show/915000
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=34
This commit is contained in:
Matej Cepl 2021-08-30 12:56:07 +00:00 committed by Git OBS Bridge
parent 7dbfbb6629
commit 9ceb7e3883
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Aug 30 10:30:30 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Add runtime dependency on importlib-metadata on Python 3.6
-------------------------------------------------------------------
Sat Jun 19 14:16:30 UTC 2021 - Michael Ströder <michael@stroeder.com>

View File

@ -32,6 +32,9 @@ BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-setuptools
%if "%{python_flavor}" == "python36"
Requires: python-importlib-metadata
%endif
BuildArch: noarch
%python_subpackages
@ -53,7 +56,7 @@ defaults out of the box.
%check
export LANG=en_US.UTF-8
%pytest --tb=short
%pytest -rs --tb=short
%files %{python_files}
%license LICENSE.rst