forked from pool/python-hypothesis
Accepting request 641934 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/641934 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=85
This commit is contained in:
committed by
Git OBS Bridge
parent
746fb60f0c
commit
46c9b6d0bd
@@ -22,8 +22,6 @@
|
||||
# manner.
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%define oldpython python
|
||||
%bcond_without python2
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define test 1
|
||||
@@ -31,12 +29,8 @@
|
||||
%else
|
||||
%bcond_with test
|
||||
%endif
|
||||
%if %{with test}
|
||||
Name: python-hypothesis-%{flavor}
|
||||
%else
|
||||
Name: python-hypothesis
|
||||
%endif
|
||||
Version: 3.71.0
|
||||
%bcond_without python2
|
||||
Version: 3.76.0
|
||||
Release: 0
|
||||
Summary: A library for property based testing
|
||||
License: MPL-2.0
|
||||
@@ -56,6 +50,11 @@ Recommends: python-pytest >= 3.0.0
|
||||
Recommends: python-pytz >= 2014.1
|
||||
BuildArch: noarch
|
||||
%if %{with test}
|
||||
Name: python-hypothesis-%{flavor}
|
||||
%else
|
||||
Name: python-hypothesis
|
||||
%endif
|
||||
%if %{with test}
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module attrs >= 16.0.0}
|
||||
BuildRequires: %{python_module coverage}
|
||||
|
Reference in New Issue
Block a user