- Drop the xtest dependency to build on Leap 42.3, as it

does not run tests it was quite pointless

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=75
This commit is contained in:
Tomáš Chvátal 2018-08-31 11:55:52 +00:00 committed by Git OBS Bridge
parent d3b09d5b35
commit cca3e7728d
2 changed files with 12 additions and 14 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Aug 31 11:55:29 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
- Drop the xtest 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

View File

@ -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