14
0

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:
2020-12-12 12:12:15 +00:00
committed by Git OBS Bridge
parent 434a679206
commit 0f2cdc9456
3 changed files with 28 additions and 2 deletions

View File

@@ -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