15
0

- Upgrade to 3.4.4:

- Multiple small bugfixes
- Remove remove-failing-tests-due-to-pytest-timeout-issues.patch
- Add invalid-escapes-in-tests.patch to fix invalid escapes in
  non-raw regexp strings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=26
This commit is contained in:
2018-10-06 09:20:40 +00:00
committed by Git OBS Bridge
parent 3b7ea4b01a
commit 7ed81b114e
6 changed files with 117 additions and 43 deletions

View File

@@ -12,22 +12,23 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
Name: python-aiohttp
Version: 3.4.0
Version: 3.4.4
Release: 0
Summary: Asynchronous HTTP client/server framework
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/aio-libs/aiohttp
Source: https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp-%{version}.tar.gz
# PATCH-FIX-OPENSUSE alarrosa@suse.com -- Fix failing tests due to issue in pytest-timeout
Patch0: remove-failing-tests-due-to-pytest-timeout-issues.patch
# PATCH-FIX-UPSTREAM mcepl@suse.com -- Fix failing tests due to invalid escapes in regexps
# https://github.com/aio-libs/aiohttp/issues/3325
Patch0: invalid-escapes-in-tests.patch
BuildRequires: %{python_module Cython >= 0.28.4}
BuildRequires: %{python_module devel >= 3.5.3}
BuildRequires: %{python_module setuptools}
@@ -88,7 +89,7 @@ HTML documentation on the API and examples for %{name}.
%prep
%setup -q -n aiohttp-%{version}
%patch0 -p1
%autopatch -p1
%build
export CFLAGS="%{optflags}"