forked from pool/python-aiohttp
- Do remove pytest configuration to not error out on deprecation
warnings - Unbundle http parser headers: * unbundle-http-parser.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=51
This commit is contained in:
committed by
Git OBS Bridge
parent
b038907f4a
commit
5e85705e2f
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-aiohttp
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -26,6 +26,7 @@ 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
|
||||
Patch0: unbundle-http-parser.patch
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module async_timeout >= 3.0}
|
||||
BuildRequires: %{python_module attrs >= 17.3.0}
|
||||
@@ -34,6 +35,7 @@ BuildRequires: %{python_module devel >= 3.5.3}
|
||||
BuildRequires: %{python_module multidict >= 4.5}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: http-parser-devel
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python >= 3.5.3
|
||||
Requires: python-async_timeout >= 3.0
|
||||
@@ -93,6 +95,8 @@ HTML documentation on the API and examples for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n aiohttp-%{version}
|
||||
%patch0 -p1
|
||||
rm pytest.ini
|
||||
|
||||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
|
||||
Reference in New Issue
Block a user