14
0

Accepting request 557295 from home:ecsos

- Add patch python-hypothesis-build.patch 
  to fix Factory build error

OBS-URL: https://build.opensuse.org/request/show/557295
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-hypothesis?expand=0&rev=40
This commit is contained in:
Tomáš Chvátal
2017-12-15 10:35:26 +00:00
committed by Git OBS Bridge
parent 7dc25f55da
commit b39ac3767c
3 changed files with 18 additions and 0 deletions

View File

@@ -30,6 +30,7 @@ License: MPL-2.0
Group: Development/Languages/Python
Url: https://github.com/HypothesisWorks/hypothesis-python
Source: https://github.com/HypothesisWorks/hypothesis-python/archive/%{version}.tar.gz
Patch0: %{name}-build.patch
BuildRequires: %{python_module Django >= 1.8}
BuildRequires: %{python_module Faker >= 0.7.0}
BuildRequires: %{python_module attrs}
@@ -74,6 +75,7 @@ work on Jython or on Python 3.0 through 3.2.
%setup -q -n hypothesis-python-%{version}
# remove py2/3 and django tests as they fail
rm -rf tests/py3 tests/py2 tests/django
%patch0 -p1
%build
%python_build