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:
parent
7dbfbb6629
commit
9ceb7e3883
@ -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>
|
Sat Jun 19 14:16:30 UTC 2021 - Michael Ströder <michael@stroeder.com>
|
||||||
|
|
||||||
|
@ -32,6 +32,9 @@ BuildRequires: %{python_module setuptools}
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-setuptools
|
Requires: python-setuptools
|
||||||
|
%if "%{python_flavor}" == "python36"
|
||||||
|
Requires: python-importlib-metadata
|
||||||
|
%endif
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@ -53,7 +56,7 @@ defaults out of the box.
|
|||||||
|
|
||||||
%check
|
%check
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
%pytest --tb=short
|
%pytest -rs --tb=short
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE.rst
|
%license LICENSE.rst
|
||||||
|
Loading…
x
Reference in New Issue
Block a user