forked from pool/python-geventhttpclient
Accepting request 855336 from home:mcepl:branches:devel:tools:scm
- Add remove_mock.patch to remove dependency on the external mock package (gh#gwik/geventhttpclient#135). OBS-URL: https://build.opensuse.org/request/show/855336 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-geventhttpclient?expand=0&rev=10
This commit is contained in:
@@ -25,11 +25,13 @@ License: MIT
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/gwik/geventhttpclient
|
||||
Source: https://files.pythonhosted.org/packages/source/g/geventhttpclient/geventhttpclient-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM remove_mock.patch gh#gwik/geventhttpclient#135 mcepl@suse.com
|
||||
# remove dependency on the external module mock
|
||||
Patch0: remove_mock.patch
|
||||
BuildRequires: %{python_module certifi}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module dpkt}
|
||||
BuildRequires: %{python_module gevent}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six}
|
||||
@@ -52,7 +54,7 @@ generally, it is designed for pulling from REST APIs and streaming
|
||||
APIs like Twitter's.
|
||||
|
||||
%prep
|
||||
%setup -q -n geventhttpclient-%{version}
|
||||
%autosetup -p1 -n geventhttpclient-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
|
Reference in New Issue
Block a user