- Condition py2 only dependencies so we do not pull them on py3
only scenario OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=49
This commit is contained in:
parent
3729e431e2
commit
69496ab3ef
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 17 15:46:40 UTC 2018 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Condition py2 only dependencies so we do not pull them on py3
|
||||||
|
only scenario
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Jan 6 17:11:29 UTC 2018 - arun@gmx.de
|
Sat Jan 6 17:11:29 UTC 2018 - arun@gmx.de
|
||||||
|
|
||||||
|
@ -22,6 +22,7 @@
|
|||||||
%else
|
%else
|
||||||
%define oldpython python
|
%define oldpython python
|
||||||
%endif
|
%endif
|
||||||
|
%bcond_without python2
|
||||||
Name: python-hypothesis
|
Name: python-hypothesis
|
||||||
Version: 3.44.9
|
Version: 3.44.9
|
||||||
Release: 0
|
Release: 0
|
||||||
@ -43,8 +44,6 @@ BuildRequires: %{python_module pytest >= 2.8.0}
|
|||||||
BuildRequires: %{python_module pytz}
|
BuildRequires: %{python_module pytz}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-enum34
|
|
||||||
BuildRequires: python-ipaddress
|
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-attrs
|
Requires: python-attrs
|
||||||
Requires: python-coverage
|
Requires: python-coverage
|
||||||
@ -55,6 +54,10 @@ Recommends: python-pandas
|
|||||||
Recommends: python-pytest >= 2.8.0
|
Recommends: python-pytest >= 2.8.0
|
||||||
Recommends: python-pytz
|
Recommends: python-pytz
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
%if %{with python2}
|
||||||
|
BuildRequires: python-enum34
|
||||||
|
BuildRequires: python-ipaddress
|
||||||
|
%endif
|
||||||
%ifpython2
|
%ifpython2
|
||||||
Requires: %{oldpython}-enum34
|
Requires: %{oldpython}-enum34
|
||||||
%endif
|
%endif
|
||||||
|
Loading…
Reference in New Issue
Block a user