From 3b7ea4b01af867549f4426edf89cdf1766e184341dbd5204bf4c368165d65abb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Fri, 31 Aug 2018 11:50:47 +0000 Subject: [PATCH] - Match up requirements to the setup.py OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=24 --- python-aiohttp.changes | 5 +++++ python-aiohttp.spec | 37 +++++++++++++++++-------------------- 2 files changed, 22 insertions(+), 20 deletions(-) diff --git a/python-aiohttp.changes b/python-aiohttp.changes index 6ca0aa8..170415a 100644 --- a/python-aiohttp.changes +++ b/python-aiohttp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Aug 31 11:50:26 UTC 2018 - Tomáš Chvátal + +- Match up requirements to the setup.py + ------------------------------------------------------------------- Fri Aug 31 09:22:37 UTC 2018 - Adrian Schröter diff --git a/python-aiohttp.spec b/python-aiohttp.spec index 263837e..85f95bf 100644 --- a/python-aiohttp.spec +++ b/python-aiohttp.spec @@ -12,54 +12,54 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%bcond_without test Name: python-aiohttp 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 brotlipy} -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 async_timeout >= 3.0} +BuildRequires: %{python_module attrs >= 17.3.0} BuildRequires: %{python_module brotlipy} -BuildRequires: %{python_module chardet} +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} @@ -70,7 +70,6 @@ BuildRequires: python3-sphinxcontrib-asyncio BuildRequires: python3-sphinxcontrib-blockdiag BuildRequires: python3-sphinxcontrib-newsfeed # /SECTION - %python_subpackages %package -n %{name}-doc @@ -105,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