14
0

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

update to latest version

OBS-URL: https://build.opensuse.org/request/show/618822
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=63
This commit is contained in:
Tomáš Chvátal
2018-06-25 11:02:02 +00:00
committed by Git OBS Bridge
parent 815e3e08ce
commit 65044c82ac
4 changed files with 58 additions and 10 deletions

View File

@@ -20,7 +20,6 @@
# variables (such as checking for travis), and very specific versions of all
# 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
@@ -29,16 +28,19 @@
%endif
%bcond_without python2
Name: python-hypothesis
Version: 3.57.0
Version: 3.61.0
Release: 0
Summary: A library for property based testing
License: MPL-2.0
Group: Development/Languages/Python
URL: https://github.com/HypothesisWorks/hypothesis-python
Source: https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-3.57.0.tar.gz
Source: https://github.com/HypothesisWorks/hypothesis/archive/hypothesis-python-%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 36}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-attrs >= 16.0.0
Requires: python-coverage
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module attrs >= 16.0.0}
BuildRequires: %{python_module coverage}
@@ -48,8 +50,6 @@ BuildRequires: %{python_module pytest >= 2.8.0}
BuildRequires: %{python_module pytest-xdist >= 1.22.2}
BuildRequires: %{pythons}
# /SECTION
Requires: python-attrs >= 16.0.0
Requires: python-coverage
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
Recommends: python-Django >= 1.11
Recommends: python-Faker >= 0.7.0
@@ -66,8 +66,6 @@ BuildRequires: python-mock
%ifpython2
Requires: %{oldpython}-enum34
%endif
BuildArch: noarch
%python_subpackages
%description