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:
parent
7dc25f55da
commit
b39ac3767c
10
python-hypothesis-build.patch
Normal file
10
python-hypothesis-build.patch
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
diff -Pdpru hypothesis-python-3.42.2.orig/setup.py hypothesis-python-3.42.2/setup.py
|
||||||
|
--- hypothesis-python-3.42.2.orig/setup.py 2017-12-12 04:59:10.000000000 +0100
|
||||||
|
+++ hypothesis-python-3.42.2/setup.py 2017-12-15 09:54:26.188604599 +0100
|
||||||
|
@@ -95,5 +95,5 @@ setup(
|
||||||
|
entry_points={
|
||||||
|
'pytest11': ['hypothesispytest = hypothesis.extra.pytestplugin'],
|
||||||
|
},
|
||||||
|
- long_description=open(README).read(),
|
||||||
|
+ long_description=open("README.rst").read(),
|
||||||
|
)
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 15 08:55:52 UTC 2017 - ecsos@opensuse.org
|
||||||
|
|
||||||
|
- Add patch python-hypothesis-build.patch
|
||||||
|
to fix Factory build error
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Dec 14 15:00:24 UTC 2017 - tchvatal@suse.com
|
Thu Dec 14 15:00:24 UTC 2017 - tchvatal@suse.com
|
||||||
|
|
||||||
|
@ -30,6 +30,7 @@ License: MPL-2.0
|
|||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: https://github.com/HypothesisWorks/hypothesis-python
|
Url: https://github.com/HypothesisWorks/hypothesis-python
|
||||||
Source: https://github.com/HypothesisWorks/hypothesis-python/archive/%{version}.tar.gz
|
Source: https://github.com/HypothesisWorks/hypothesis-python/archive/%{version}.tar.gz
|
||||||
|
Patch0: %{name}-build.patch
|
||||||
BuildRequires: %{python_module Django >= 1.8}
|
BuildRequires: %{python_module Django >= 1.8}
|
||||||
BuildRequires: %{python_module Faker >= 0.7.0}
|
BuildRequires: %{python_module Faker >= 0.7.0}
|
||||||
BuildRequires: %{python_module attrs}
|
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}
|
%setup -q -n hypothesis-python-%{version}
|
||||||
# remove py2/3 and django tests as they fail
|
# remove py2/3 and django tests as they fail
|
||||||
rm -rf tests/py3 tests/py2 tests/django
|
rm -rf tests/py3 tests/py2 tests/django
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
Loading…
Reference in New Issue
Block a user