From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3D5AA13835B for ; Sat, 24 Oct 2020 10:01:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7DC5FE0968; Sat, 24 Oct 2020 10:01:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6578CE0968 for ; Sat, 24 Oct 2020 10:01:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B401340AC7 for ; Sat, 24 Oct 2020 10:01:48 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 00AE126 for ; Sat, 24 Oct 2020 10:01:46 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1603533698.115d891375ad39a86db433d74056bc3f86065073.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/aiohttp/Manifest dev-python/aiohttp/aiohttp-3.7.0.ebuild X-VCS-Directories: dev-python/aiohttp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 115d891375ad39a86db433d74056bc3f86065073 X-VCS-Branch: master Date: Sat, 24 Oct 2020 10:01:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 74312155-b5d0-48bc-97c5-71553fe1aab0 X-Archives-Hash: 944da70a2590287669e03ef0495b648f commit: 115d891375ad39a86db433d74056bc3f86065073 Author: Michał Górny gentoo org> AuthorDate: Sat Oct 24 08:43:56 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Oct 24 10:01:38 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=115d8913 dev-python/aiohttp: Bump to 3.7.0 Signed-off-by: Michał Górny gentoo.org> dev-python/aiohttp/Manifest | 1 + dev-python/aiohttp/aiohttp-3.7.0.ebuild | 83 +++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 0d77d595742..d802667b5d8 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -1 +1,2 @@ DIST aiohttp-3.6.2.tar.gz 1076923 BLAKE2B 14327a0bc5b5fffdf436a4c3525e4c25d80100aa464ed652316f7724c2bea6de4ace6c27e8a2a8cf9d895673ed63ed52e8c958ad611636e1e524a4e40efa4735 SHA512 49bd3089158c05ff6312420190ccd7fed95efb4a18b8aff7497d5507c71c692080d6949801edabdcd95379ca8e6614398408118d72ff1e782399e059e2cfc1a8 +DIST aiohttp-3.7.0.tar.gz 1112272 BLAKE2B 73dffecc54e47806a7827ca3f6a18cca2121cece368e691b6ba31495affc66c3a4ef67279f218c7972d4a7e71ac123a329d6b2e9ca22dc0afb3b7373d9ab0726 SHA512 97083c2cf294e7324aaa68c36b2e0e352e588b96cd6856308ce1303b5da2df3f3cabcdcde59dc108b6d70c068901dd14ad6a883ee9e25c6b00738e30e3d8f852 diff --git a/dev-python/aiohttp/aiohttp-3.7.0.ebuild b/dev-python/aiohttp/aiohttp-3.7.0.ebuild new file mode 100644 index 00000000000..049055ec90a --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.7.0.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 + +DESCRIPTION="http client/server for asyncio" +HOMEPAGE="https://pypi.org/project/aiohttp/" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="doc test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + >=dev-python/async_timeout-3.0.0[${PYTHON_USEDEP}] + >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}] + dev-python/chardet[${PYTHON_USEDEP}] + >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}] + >=dev-python/yarl-1.0[${PYTHON_USEDEP}] + dev-python/idna-ssl[${PYTHON_USEDEP}] +" +DEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + ${COMMON_DEPEND} + !!dev-python/pytest-aiohttp + dev-python/async_generator[${PYTHON_USEDEP}] + dev-python/brotlipy[${PYTHON_USEDEP}] + dev-python/freezegun[${PYTHON_USEDEP}] + www-servers/gunicorn[${PYTHON_USEDEP}] + >=dev-python/pytest-3.4.0[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" +RDEPEND="${COMMON_DEPEND}" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +distutils_enable_sphinx docs \ + '>=dev-python/alabaster-0.6.2' \ + 'dev-python/sphinxcontrib-asyncio' \ + 'dev-python/sphinxcontrib-blockdiag' \ + 'dev-python/sphinxcontrib-newsfeed' \ + 'dev-python/sphinxcontrib-spelling' \ + 'dev-python/sphinx' \ + 'dev-python/sphinx-aiohttp-theme' + +distutils_enable_tests pytest || die "Tests fail with ${EPYTHON}" + +python_prepare_all() { + # Fails due to a warning + sed -e 's:test_read_boundary_with_incomplete_chunk:_&:' \ + -i tests/test_multipart.py || die + # with py3.7+ + sed -e 's:test_aiohttp_request_coroutine:_&:' \ + -i tests/test_client_functional.py || die + + # Fails due to path mismatch + sed -e 's:test_static:_&:' \ + -i tests/test_route_def.py || die + + # Internet + sed -e 's:test_mark_formdata_as_processed:_&:' \ + -i tests/test_formdata.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + pushd "${BUILD_DIR}/lib" >/dev/null || die + ln -snf "${S}"/{LICENSE.txt,tests} . || die + pytest -vv tests || die "Tests fail with ${EPYTHON}" + rm -rf .pytest_cache tests || die + popd >/dev/null || die +}