14
0

Accepting request 555562 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/555562
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=37
This commit is contained in:
2017-12-10 18:57:12 +00:00
committed by Git OBS Bridge
parent f757385d44
commit 752d7357ad
4 changed files with 27 additions and 9 deletions

View File

@@ -22,9 +22,8 @@
%else
%define oldpython python
%endif
%bcond_with test
Name: python-hypothesis
Version: 3.40.1
Version: 3.42.0
Release: 0
Summary: A library for property based testing
License: MPL-2.0
@@ -43,13 +42,13 @@ Recommends: python-numpy >= 1.9.0
Recommends: python-pytest >= 2.7.0
Recommends: python-pytz
BuildArch: noarch
%if %{with test}
# test requirements
BuildRequires: %{python_module Django >= 1.7}
BuildRequires: %{python_module Faker >= 0.7.0}
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module numpy >= 1.9.0}
BuildRequires: %{python_module pytest >= 2.7.0}
BuildRequires: %{python_module pytz}
%endif
%ifpython2
Requires: %{oldpython}-enum34
%endif
@@ -76,10 +75,8 @@ work on Jython or on Python 3.0 through 3.2.
%python_install
%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%defattr(-,root,root,-)