summaryrefslogtreecommitdiff
path: root/dev-python/aiohttp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
committerV3n3RiX <venerix@koprulu.sector>2021-12-05 02:47:11 +0000
commit2771f79232c273bc2a57d23bf335dd81ccf6af28 (patch)
treec8af0fd04194aed03cf067d44e53c7edd3e9ab84 /dev-python/aiohttp
parente9d044d4b9b71200a96adfa280848858c0f468c9 (diff)
gentoo resync : 05.12.2021
Diffstat (limited to 'dev-python/aiohttp')
-rw-r--r--dev-python/aiohttp/Manifest4
-rw-r--r--dev-python/aiohttp/aiohttp-3.7.4-r2.ebuild2
-rw-r--r--dev-python/aiohttp/aiohttp-3.8.1.ebuild92
3 files changed, 96 insertions, 2 deletions
diff --git a/dev-python/aiohttp/Manifest b/dev-python/aiohttp/Manifest
index fc28254e7fc3..3a389c37bd61 100644
--- a/dev-python/aiohttp/Manifest
+++ b/dev-python/aiohttp/Manifest
@@ -3,6 +3,8 @@ AUX aiohttp-3.7.4-fix-py3.10.patch 2285 BLAKE2B 4d0841adb3e0038b1b361449812975e4
AUX aiohttp-3.8.0-examples.patch 623 BLAKE2B 6ad230b48d3245b17a6d3ca72a679ad4b943cfc2d2dee64fa798e5305214e67299347154d931bfa3e1d032ca2fe6c1115d0f5aeeaf71e576c7d6ffc8e934393d SHA512 97a2497bf7a932b6646630e44f9b257512acb668527be1c5d9fd6b97055ab253700f2c12a77ebb203daf9d43588652580285d66d93043b83cc86cf14a5d91d18
DIST aiohttp-3.7.4.tar.gz 1114533 BLAKE2B dcae3e66e13df8264d731a3ca65b4718feca8d0e6e1baeb6608dcb9bfb4bd4baaed6bd34297ed5ece78d01189bf9a0b9860845cae4e2b93cc2ba463cc35cfb77 SHA512 66fcc837b388020dc998cbaa2db31e48ecec75bcfaa8af9108e2ea265588dafa5684ca96a8fe3ad6759b22e09a4ae6d4efd8653fb76126eccdc826c15cbbe2e6
DIST aiohttp-3.8.0.tar.gz 7323268 BLAKE2B e3d8f6ec7c4b2de685a261171bc8e29db82b5b4677d0d4d0b103898c71184deda700f4859fff49746ace3079f09714c39d06c7d837cdc7fb26c8ebc4b29da915 SHA512 beb711812ccaab6d820c39e663e4aaba9106e270ab28ccdb8f35b74bc68509876dc30061f3df390e514e6ff8d24ede2e77e3355986ca2c5ee860eba940d72f5b
-EBUILD aiohttp-3.7.4-r2.ebuild 3378 BLAKE2B bb91bcaee7cdf0baa4e8ba286f2022877bcc5dda16d60b05cefa2c39dc786f6c8bd8c62b9874c5ba986f6cab51a4023673ac69c39c1b3470b2d8f8381cdda37a SHA512 42d9dbfa9347b768874e469cb695fb297a79bf9bdd0fd64a8ffaac5cd4d0bf8d583139374ae584101194ed64e15f2903bb6648059e7f66006810b47ad977391e
+DIST aiohttp-3.8.1.tar.gz 7324180 BLAKE2B 99f85b8510782a31de2d2f6c8efa65ef5c5cde600a5c5f49d6362d5833a0443b9adcaed9beb27c5d8502aca37af154b06017f48836b73d4c61d78204b62b7f05 SHA512 3611549393e50c8d30426aee9ddd23794a71ddefe4384eb549049b93e452fafb38de7ad900737213b61fbe717bd85035a780c1622593eae250328f17d484a0a7
+EBUILD aiohttp-3.7.4-r2.ebuild 3372 BLAKE2B 4bf4f09305e3f1cdb8b003e99b960bb9aeac5bbc5ed353e6a40e0dd4b17c1df0abb54308785439fc27e87d34f24ad2a31010737f58afd86da5017d4db593a5c5 SHA512 e5794a57fead678f090ff9d8186ef219028ea9af2952055ed656f576e100d69e0e0153b6705cdc3400c61e29d05ef2d4fd89d85b27196eaf5a5041de06cc42c5
EBUILD aiohttp-3.8.0.ebuild 2644 BLAKE2B c20febab84f4975d75f217aab124b4b81dc24210c27d5fbef368f1580422937a7ab682e04e25082ee6e286829b0aec81e2861b2692c66756b1b9f41c27e7dcb0 SHA512 6b172345b2abbe947c2d7935ccd1e04c0442e149b1d58df3bfc9514cea76b31be4d843c2be62220af9fef6285a754a91a8c6282e1378df135211378b473c4608
+EBUILD aiohttp-3.8.1.ebuild 2638 BLAKE2B 365569834774082881c7dd56106a883791096cb62fc0d920aaebca6a20a1e6e28d6489cf42499c4a22dea05788f0af420bf6ffe73680e43b6e8ccf55348b732b SHA512 8c83b4bd033c8824cf28a04ef3291babe1b22aa0bd2868f52ef5bd59e63da55b744298912913b3a2d362e85a1cb06bef8fee9ac792a96c33a2511b2c703012fb
MISC metadata.xml 490 BLAKE2B 5233af0b5e2668b1eb62278b05b62f24f1ab90f6d05b20dd9f1c5b54b846919c3fa28b843df28f5bfa320996d46de0e74c7a28bd0bef02aaaca14b1cec52baba SHA512 9b701c5c5a22b6aa94977a67bc40f3dc9df8337556952658a2a17ecaaa471cd7f7b5b8bf3a0088208087677555f0cbb8760c091b03b96ee70affe3e2b84cf6d5
diff --git a/dev-python/aiohttp/aiohttp-3.7.4-r2.ebuild b/dev-python/aiohttp/aiohttp-3.7.4-r2.ebuild
index acc6855a22ab..15a4eb545b17 100644
--- a/dev-python/aiohttp/aiohttp-3.7.4-r2.ebuild
+++ b/dev-python/aiohttp/aiohttp-3.7.4-r2.ebuild
@@ -13,7 +13,7 @@ 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"
+KEYWORDS="~alpha amd64 arm arm64 hppa ppc ppc64 ~riscv sparc x86"
RDEPEND="
<dev-python/async_timeout-4[${PYTHON_USEDEP}]
diff --git a/dev-python/aiohttp/aiohttp-3.8.1.ebuild b/dev-python/aiohttp/aiohttp-3.8.1.ebuild
new file mode 100644
index 000000000000..1e2744ded2d8
--- /dev/null
+++ b/dev-python/aiohttp/aiohttp-3.8.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} pypy3 )
+
+inherit distutils-r1 multiprocessing
+
+DESCRIPTION="http client/server for asyncio"
+HOMEPAGE="
+ https://pypi.org/project/aiohttp/
+ https://github.com/aio-libs/aiohttp/"
+SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ app-arch/brotli[python,${PYTHON_USEDEP}]
+ >=dev-python/aiosignal-1.1.2[${PYTHON_USEDEP}]
+ >=dev-python/async_timeout-4.0.0_alpha3[${PYTHON_USEDEP}]
+ >=dev-python/attrs-17.3.0[${PYTHON_USEDEP}]
+ >=dev-python/charset_normalizer-2.0[${PYTHON_USEDEP}]
+ >=dev-python/frozenlist-1.1.1[${PYTHON_USEDEP}]
+ >=dev-python/multidict-4.5.0[${PYTHON_USEDEP}]
+ >=dev-python/yarl-1.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ app-arch/brotli[python,${PYTHON_USEDEP}]
+ dev-python/async_generator[${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-xdist[${PYTHON_USEDEP}]
+ dev-python/re-assert[${PYTHON_USEDEP}]
+ !hppa? ( !ia64? (
+ 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'
+
+# TODO: re-cythonize modules?
+
+src_prepare() {
+ # increate a little the timeout
+ sed -e '/abs_tol=/s/0.001/0.01/' -i tests/test_helpers.py || die
+
+ # xfail_strict fails on py3.10
+ sed -i -e '/--cov/d' -e '/xfail_strict/d' setup.cfg || die
+ distutils-r1_src_prepare
+}
+
+python_test() {
+ local EPYTEST_IGNORE=(
+ # proxy is not packaged
+ tests/test_proxy_functional.py
+ )
+
+ local EPYTEST_DESELECT=(
+ # runtime warnings
+ 'tests/test_client_functional.py::test_aiohttp_request_coroutine[pyloop]'
+ # Internet
+ tests/test_client_session.py::test_client_session_timeout_zero
+ )
+
+ [[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
+ # C extensions are not used on PyPy3
+ tests/test_http_parser.py::test_c_parser_loaded
+ )
+
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ local -x PYTEST_PLUGINS=pytest_mock,xdist.plugin,pytest_forked
+ mv aiohttp aiohttp.hidden || die
+ epytest -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" --forked
+ mv aiohttp.hidden aiohttp || die
+}