Accepting request 632495 from devel:languages:python
- Match up requirements to the setup.py - update to version 3.4.0: * please check the longer list in CHANGES.rst OBS-URL: https://build.opensuse.org/request/show/632495 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-aiohttp?expand=0&rev=7
This commit is contained in:
commit
02e89a7576
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:f20deec7a3fbaec7b5eb7ad99878427ad2ee4cc16a46732b705e8121cbb3cc12
|
||||
size 771414
|
3
aiohttp-3.4.0.tar.gz
Normal file
3
aiohttp-3.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9b15efa7411dcf3b59c1f4766eb16ba1aba4531a33e54d469ee22106eabce460
|
||||
size 821067
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 31 11:50:26 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Match up requirements to the setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 31 09:22:37 UTC 2018 - Adrian Schröter <adrian@suse.de>
|
||||
|
||||
- update to version 3.4.0:
|
||||
* please check the longer list in CHANGES.rst
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 25 07:50:19 UTC 2018 - adrian@suse.de
|
||||
|
||||
|
@ -18,46 +18,48 @@
|
||||
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
%bcond_without test
|
||||
Name: python-aiohttp
|
||||
Version: 3.3.2
|
||||
Version: 3.4.0
|
||||
Release: 0
|
||||
Summary: Asynchronous HTTP client/server framework
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
URL: https://aiohttp.readthedocs.io/
|
||||
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
|
||||
BuildRequires: %{python_module devel >= 3.4.2}
|
||||
BuildRequires: %{python_module Cython >= 0.28.4}
|
||||
BuildRequires: %{python_module devel >= 3.5.3}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python >= 3.4.2
|
||||
Requires: python-async_timeout >= 2.0.0
|
||||
Requires: python-attrs
|
||||
Requires: python-chardet
|
||||
Requires: python >= 3.5.3
|
||||
Requires: python-async_timeout >= 3.0
|
||||
Requires: python-attrs >= 17.3.0
|
||||
Requires: python-brotlipy
|
||||
Requires: python-chardet >= 2.0
|
||||
Requires: python-gunicorn
|
||||
Requires: python-idna_ssl >= 1.0.0
|
||||
Requires: python-multidict >= 3.3.0
|
||||
Requires: python-yarl >= 0.13.0
|
||||
Requires: python-multidict >= 4.0
|
||||
Requires: python-yarl >= 1.0
|
||||
Recommends: python-aiodns
|
||||
Recommends: python-cChardet
|
||||
Suggests: %{name}-doc
|
||||
# SECTION test requirements
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module async_generator}
|
||||
BuildRequires: %{python_module async_timeout >= 2.0.0}
|
||||
BuildRequires: %{python_module chardet}
|
||||
BuildRequires: %{python_module async_timeout >= 3.0}
|
||||
BuildRequires: %{python_module attrs >= 17.3.0}
|
||||
BuildRequires: %{python_module brotlipy}
|
||||
BuildRequires: %{python_module chardet >= 2.0}
|
||||
BuildRequires: %{python_module gunicorn}
|
||||
BuildRequires: %{python_module idna_ssl >= 1.0.0}
|
||||
BuildRequires: %{python_module multidict >= 3.3.0}
|
||||
BuildRequires: %{python_module multidict >= 4.0}
|
||||
BuildRequires: %{python_module pluggy}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest-runner}
|
||||
BuildRequires: %{python_module pytest-timeout}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module yarl >= 1.1.0}
|
||||
%endif
|
||||
BuildRequires: %{python_module yarl >= 1.0}
|
||||
# /SECTION
|
||||
# SECTION docs
|
||||
BuildRequires: %{python_module MarkupSafe}
|
||||
@ -68,7 +70,6 @@ BuildRequires: python3-sphinxcontrib-asyncio
|
||||
BuildRequires: python3-sphinxcontrib-blockdiag
|
||||
BuildRequires: python3-sphinxcontrib-newsfeed
|
||||
# /SECTION
|
||||
|
||||
%python_subpackages
|
||||
|
||||
%package -n %{name}-doc
|
||||
@ -103,11 +104,9 @@ popd
|
||||
find %{buildroot}%{$python_sitearch} -name "*.c" -delete
|
||||
}
|
||||
|
||||
%if %{with test}
|
||||
%check
|
||||
rm tests/test_pytest_plugin.py
|
||||
%python_exec setup.py test
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Loading…
x
Reference in New Issue
Block a user