Accepting request 632628 from devel:languages:python
- Drop the pytest-xdist dependency to build on Leap 42.3, as it does not run tests it was quite pointless OBS-URL: https://build.opensuse.org/request/show/632628 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-hypothesis?expand=0&rev=26
This commit is contained in:
commit
5130904ef2
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 31 11:55:29 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Drop the pytest-xdist dependency to build on Leap 42.3, as it
|
||||
does not run tests it was quite pointless
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 23 05:25:06 UTC 2018 - arun@gmx.de
|
||||
|
||||
|
@ -21,11 +21,7 @@
|
||||
# dependencies. It does not appear feasible to get it to work in a consistent
|
||||
# manner.
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%if 0%{?suse_version} > 1320
|
||||
%define oldpython python2
|
||||
%else
|
||||
%define oldpython python
|
||||
%endif
|
||||
%bcond_without python2
|
||||
Name: python-hypothesis
|
||||
Version: 3.66.6
|
||||
@ -40,6 +36,12 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-attrs >= 16.0.0
|
||||
Requires: python-coverage
|
||||
Recommends: python-Django >= 1.11
|
||||
Recommends: python-Faker >= 0.7.0
|
||||
Recommends: python-numpy >= 1.9.0
|
||||
Recommends: python-pandas
|
||||
Recommends: python-pytest >= 2.8.0
|
||||
Recommends: python-pytz
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module attrs >= 16.0.0}
|
||||
@ -47,20 +49,10 @@ BuildRequires: %{python_module coverage}
|
||||
BuildRequires: %{python_module flaky}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest >= 2.8.0}
|
||||
BuildRequires: %{python_module pytest-xdist >= 1.22.2}
|
||||
# /SECTION
|
||||
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
||||
Recommends: python-Django >= 1.11
|
||||
Recommends: python-Faker >= 0.7.0
|
||||
Recommends: python-numpy >= 1.9.0
|
||||
Recommends: python-pandas
|
||||
Recommends: python-pytest >= 2.8.0
|
||||
Recommends: python-pytz
|
||||
%endif
|
||||
%if %{with python2}
|
||||
BuildRequires: python-enum34
|
||||
BuildRequires: python-ipaddress
|
||||
BuildRequires: python-mock
|
||||
%endif
|
||||
%ifpython2
|
||||
Requires: %{oldpython}-enum34
|
||||
|
Loading…
Reference in New Issue
Block a user