forked from pool/python-vistir
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vistir?expand=0&rev=17
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-vistir
|
||||
Version: 0.4.3
|
||||
Release: 0
|
||||
@@ -35,12 +36,6 @@ Requires: python-requests
|
||||
Requires: python-six
|
||||
Recommends: python-yaspin
|
||||
BuildArch: noarch
|
||||
%ifpython2
|
||||
Requires: python2-backports.functools_lru_cache
|
||||
Requires: python2-backports.shutil_get_terminal_size
|
||||
Requires: python2-backports.weakref
|
||||
Requires: python2-pathlib2
|
||||
%endif
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module colorama >= 0.3.4}
|
||||
BuildRequires: %{python_module hypothesis-fspaths}
|
||||
@@ -49,10 +44,6 @@ BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module requests}
|
||||
BuildRequires: %{python_module six}
|
||||
BuildRequires: %{python_module yaspin}
|
||||
BuildRequires: python2-backports.functools_lru_cache
|
||||
BuildRequires: python2-backports.shutil_get_terminal_size
|
||||
BuildRequires: python2-backports.weakref
|
||||
BuildRequires: python2-pathlib2
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
|
||||
Reference in New Issue
Block a user