Accepting request 596407 from home:apersaud:branches:devel:languages:python

update to latest version

OBS-URL: https://build.opensuse.org/request/show/596407
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiohttp?expand=0&rev=18
This commit is contained in:
Tomáš Chvátal 2018-04-14 06:45:33 +00:00 committed by Git OBS Bridge
parent 1b53b77bf1
commit 85415f0383
4 changed files with 35 additions and 22 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:44373fee917bafe243aed7e4831eface7fa10dd54f7205f091d22c3bc6ae95e9
size 750257

3
aiohttp-3.1.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df49fe4452a942e0031174c78917f9926d122d4603bf56bae4591639f2a3dc6a
size 752744

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Apr 12 20:47:59 UTC 2018 - arun@gmx.de
- update to version 3.1.2:
* Make LineTooLong exception more detailed about actual data size
(#2863)
* Call on_chunk_sent when write_eof takes as a param the last chunk
(#2909)
- changes from version 3.1.1:
* Support asynchronous iterators (and asynchronous generators as
well) in both client and server API as request / response BODY
payloads. (#2802)
-------------------------------------------------------------------
Fri Mar 23 15:16:21 UTC 2018 - tbechtold@suse.com

View File

@ -17,10 +17,10 @@
%{?!python_module:%define python_module() python3-%{**}}
%bcond_without test
%define skip_python2 1
%bcond_without test
Name: python-aiohttp
Version: 3.1.0
Version: 3.1.2
Release: 0
Summary: Asynchronous HTTP client/server framework
License: Apache-2.0
@ -31,7 +31,18 @@ Source: https://files.pythonhosted.org/packages/source/a/aiohttp/aiohttp
Patch0: remove-failing-tests-due-to-pytest-timeout-issues.patch
BuildRequires: %{python_module devel >= 3.4.2}
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-idna_ssl >= 1.0.0
Requires: python-multidict >= 3.3.0
Requires: python-yarl >= 0.13.0
Recommends: python-aiodns
Recommends: python-cChardet
Suggests: %{name}-doc
# SECTION test requirements
%if %{with test}
BuildRequires: %{python_module async_generator}
@ -56,22 +67,10 @@ BuildRequires: python3-sphinxcontrib-asyncio
BuildRequires: python3-sphinxcontrib-blockdiag
BuildRequires: python3-sphinxcontrib-newsfeed
# /SECTION
BuildRequires: fdupes
Requires: python >= 3.4.2
Requires: python-async_timeout >= 2.0.0
Requires: python-attrs
Requires: python-chardet
Requires: python-idna_ssl >= 1.0.0
Requires: python-multidict >= 3.3.0
Requires: python-yarl >= 0.13.0
Recommends: python-cChardet
Recommends: python-aiodns
Suggests: %{name}-doc
%python_subpackages
%package -n %{name}-doc
Summary: Documentation files for %name
Summary: Documentation files for %{name}
Group: Documentation/HTML
%description
@ -82,7 +81,7 @@ Asynchronous HTTP client/server framework for Python.
- Web-server has middleware and pluggable routing.
%description -n %{name}-doc
HTML documentation on the API and examples for %name.
HTML documentation on the API and examples for %{name}.
%prep
%setup -q -n aiohttp-%{version}
@ -92,7 +91,7 @@ HTML documentation on the API and examples for %name.
export CFLAGS="%{optflags}"
%python_build
pushd docs
make html
make %{?_smp_mflags} html
rm _build/html/.buildinfo
popd
@ -109,8 +108,8 @@ rm tests/test_pytest_plugin.py
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGES.rst CONTRIBUTORS.txt HISTORY.rst LICENSE.txt README.rst
%license LICENSE.txt
%doc CHANGES.rst CONTRIBUTORS.txt HISTORY.rst README.rst
%{python_sitearch}/*
%files -n %{name}-doc