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 E69471382C5 for ; Thu, 25 Feb 2021 19:44:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3A9FEE09CE; Thu, 25 Feb 2021 19:44:58 +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 10EC0E09CE for ; Thu, 25 Feb 2021 19:44:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 2695F34100D for ; Thu, 25 Feb 2021 19:44:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D173053 for ; Thu, 25 Feb 2021 19:44:54 +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: <1614282083.f66d53d2181e112b2e1f607415cfa49a1a7bbf88.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.4.ebuild X-VCS-Directories: dev-python/aiohttp/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f66d53d2181e112b2e1f607415cfa49a1a7bbf88 X-VCS-Branch: master Date: Thu, 25 Feb 2021 19:44:54 +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: 920675df-27b0-4849-882b-ae2034f3698f X-Archives-Hash: a1b2bcc5b5272677785de94aefad4d49 commit: f66d53d2181e112b2e1f607415cfa49a1a7bbf88 Author: Michał Górny gentoo org> AuthorDate: Thu Feb 25 19:41:23 2021 +0000 Commit: Michał Górny gentoo org> CommitDate: Thu Feb 25 19:41:23 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f66d53d2 dev-python/aiohttp: Bump to 3.7.4 Signed-off-by: Michał Górny gentoo.org> dev-python/aiohttp/Manifest | 1 + dev-python/aiohttp/aiohttp-3.7.4.ebuild | 91 +++++++++++++++++++++++++++++++++ 2 files changed, 92 insertions(+) diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest index 8421df782f1..3bad1e315fa 100644 --- a/dev-python/aiohttp/Manifest +++ b/dev-python/aiohttp/Manifest @@ -2,3 +2,4 @@ DIST aiohttp-3.6.2.tar.gz 1076923 BLAKE2B 14327a0bc5b5fffdf436a4c3525e4c25d80100 DIST aiohttp-3.7.1.tar.gz 1111777 BLAKE2B 03d16e8c9d64ec407cf7b6dbbf5547a88f528ab23e9e256559c11fc2cb6f568101f79dad89b0e5698fd02a3918051e4bc3c349e3ea4358ecb5de1543fea91708 SHA512 accdd588fdd7ba1792cf5e8fb67c6d5dd3e1c5382d9c9ece14e449d6f4f1c116975809d2dad786e0d472b3bb54e3b8c59722be871401a82cef5eff9c12f3c3f8 DIST aiohttp-3.7.2.tar.gz 1111049 BLAKE2B faffc582f2c72ff892862b5b782da75b381e59b21b284b1120e4edb16f22b760f8cabe56261061e0049a5dfd041456076e294e942a02309e9b3d6b414facb0cb SHA512 2dd4f0264f1fb0801be366c269b73dd80b542e8e5bfe18a01fbdfadd0210022ccd6e3975be1be416551ccce82f42881e18735d5c6fc68a42b7452ab18e157dc5 DIST aiohttp-3.7.3.tar.gz 1113127 BLAKE2B 47d95565db1184c6b55a1e7d7a6df8cda872e4fe621f653e3143608f51dde2c7d30d00835da357dd7ae33f4858ad5778074dfde5261331a3539a5d6776ea1a25 SHA512 d1dbbe3cbdeb1a460f5030a08a251a7bb7ae7ec038ca93ba5187b2da1fe21b80ed6513db647ef382d2d92a3d527a34dffbd37f51aa1e8b65bb36d517304b1812 +DIST aiohttp-3.7.4.tar.gz 1114533 BLAKE2B dcae3e66e13df8264d731a3ca65b4718feca8d0e6e1baeb6608dcb9bfb4bd4baaed6bd34297ed5ece78d01189bf9a0b9860845cae4e2b93cc2ba463cc35cfb77 SHA512 66fcc837b388020dc998cbaa2db31e48ecec75bcfaa8af9108e2ea265588dafa5684ca96a8fe3ad6759b22e09a4ae6d4efd8653fb76126eccdc826c15cbbe2e6 diff --git a/dev-python/aiohttp/aiohttp-3.7.4.ebuild b/dev-python/aiohttp/aiohttp-3.7.4.ebuild new file mode 100644 index 00000000000..f9aa5207d43 --- /dev/null +++ b/dev-python/aiohttp/aiohttp-3.7.4.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) + +inherit distutils-r1 multiprocessing + +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" + +RDEPEND=" + >=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}] + $(python_gen_cond_dep ' + dev-python/idna-ssl[${PYTHON_USEDEP}] + ' python3_6) + dev-python/typing-extensions[${PYTHON_USEDEP}] +" +BDEPEND=" + dev-python/cython[${PYTHON_USEDEP}] + test? ( + !!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-forked[${PYTHON_USEDEP}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-timeout[${PYTHON_USEDEP}] + dev-python/pytest-xdist[${PYTHON_USEDEP}] + dev-python/re-assert[${PYTHON_USEDEP}] + dev-python/trustme[${PYTHON_USEDEP}] + ) +" + +DOCS=( CHANGES.rst CONTRIBUTORS.txt README.rst ) + +distutils_enable_tests pytest +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' + +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 + + # newer chardet works too + sed -e 's|chardet>=2.0,<4.0|chardet>=2.0|' \ + -i setup.py aiohttp.egg-info/requires.txt || die + + # takes a very long time, then fails + rm tests/test_pytest_plugin.py || die + + distutils-r1_python_prepare_all +} + +python_test() { + pushd "${BUILD_DIR}/lib" >/dev/null || die + ln -snf "${S}"/{LICENSE.txt,tests} . || die + pytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" --forked \ + -vv tests || die "Tests fail with ${EPYTHON}" + rm -rf .pytest_cache tests || die + popd >/dev/null || die +}