aiohttp-3.4.4
This commit is contained in:
parent
cd26bfb332
commit
f9eb05f631
@ -1,5 +1,7 @@
|
||||
AUX aiohttp-3.0.5-tests.patch 294 BLAKE2B c535d85c0ad73394897db4db2743e3e6c09faa98a5a8a013b5b5b7af79adffaaa30f20a4cdff65760911c8f3ff373318e144d7ace6a7de6b0fa7b6cf9b8bf352 SHA512 0e5871efad3d360757fdd1ef723b741669a1e0b98728f58fe689b66b765dd4607e05a72cb618ac55b6a61cd53247916f9d497ca147eb7c8c86b8473a298a4b38
|
||||
DIST aiohttp-3.3.2.tar.gz 771414 BLAKE2B 3934f7ef3719a809fc7656c11cc3af604816e6971e403fbcd58645ec109f37daa42c245f2b2d35c789f76efa5abb824938c07c1060d2956a0a70ced41d0dc583 SHA512 abc031b5cd96c59886913582e7226f3c7b9ce4101d11d380f732d16776b990082b18b0c5f91bc098f17f72cbadcf499dfa93069323a8668755c1ce5d06f37f1e
|
||||
DIST aiohttp-3.4.0.tar.gz 821067 BLAKE2B af87cd0f36950b01724d0c7add16e18125d82501241511fc2976b2b0318ffc1316c1c07085b1757efbf2dbcf175ff04e0718a6465d3f7c1995e64c4c03ac6ac0 SHA512 34d5a9c29feca5654c94c4526c26a122c7dfcd3983ccfce746d4cd993f320f19e548f95f88304eb87468d5fbba24b674ae2fcea33170fb6298e9a2c803b54277
|
||||
DIST aiohttp-3.4.4.tar.gz 822110 BLAKE2B 808c125f0d826b11d5b333ecfc35ed15cfe5a4f4242df5dd1b1e8edf6502c78d6162ad21e4fb7026294bc7013251a3b55d50c9cf34539b06b32348be2b1627a9 SHA512 968b701b8a19aa445a4af402f4bb38754565e3b80b4248127e5017671c921c370eea63fcec4148b7229ac1a74bb8739f33513abd6cb7fe02f3feddfd3ec1a6b1
|
||||
EBUILD aiohttp-3.3.2.ebuild 1839 BLAKE2B 2aada2a2652596ef0f55d0d56d7ab1f4e75e5eef6c611ed7758673356e7f3ccfc3c347390710a571ac4f6fbf4b0f681485f6d7771105ee14dec20686105450dc SHA512 52c41ee3ee7ce55f63bdfec3acab193dd26dec6a6f13d13d52a36e5eb7078e1817bd96808178986b96da4ea800cecfaca6ad67db5411b77445a14ddbbf861d2e
|
||||
EBUILD aiohttp-3.4.0.ebuild 2093 BLAKE2B 22a833dbf2bb8c145182bda1fb8784854bddc986e2b4c25f83561e5f577d6796e3aa4444281b44cfbd6858b40e5088e586ca4cbdea15a31642f7134249cabde7 SHA512 8fa78bfbc9b4faeee586b19d5686baf93575d863303924097cb6488264942e7c6f0ebc81599c6e32791f68cb0e9257581d663ed1efb6b7d822d498aa5d454fbd
|
||||
EBUILD aiohttp-3.4.4.ebuild 2093 BLAKE2B 22a833dbf2bb8c145182bda1fb8784854bddc986e2b4c25f83561e5f577d6796e3aa4444281b44cfbd6858b40e5088e586ca4cbdea15a31642f7134249cabde7 SHA512 8fa78bfbc9b4faeee586b19d5686baf93575d863303924097cb6488264942e7c6f0ebc81599c6e32791f68cb0e9257581d663ed1efb6b7d822d498aa5d454fbd
|
||||
|
||||
76
dev-python/aiohttp/aiohttp-3.4.4.ebuild
Normal file
76
dev-python/aiohttp/aiohttp-3.4.4.ebuild
Normal file
@ -0,0 +1,76 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python3_{5,6} )
|
||||
|
||||
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 -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
CDEPEND="
|
||||
>=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.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/yarl-1.0[${PYTHON_USEDEP}]
|
||||
dev-python/idna-ssl[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
doc? (
|
||||
>=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-newsfeed[${PYTHON_USEDEP}]
|
||||
dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx-aiohttp-theme[${PYTHON_USEDEP}]
|
||||
)
|
||||
test? (
|
||||
${CDEPEND}
|
||||
dev-python/async_generator[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-3.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
www-servers/gunicorn[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="${CDEPEND}"
|
||||
|
||||
DOCS=( CHANGES.rst CONTRIBUTING.rst CONTRIBUTORS.txt HISTORY.rst README.rst )
|
||||
PATCHES=( "${FILESDIR}"/${PN}-3.0.5-tests.patch )
|
||||
|
||||
python_prepare_all() {
|
||||
# skip failing tests until cause is determined
|
||||
rm tests/{test_pytest_plugin.py,test_worker.py} || die
|
||||
# AttributeError: 'brotli.Decompressor' object has no attribute 'flush'
|
||||
sed -e 's:test_compression_brotli:_\0:' \
|
||||
-e 's:test_feed_eof_no_err_brotli:_\0:' \
|
||||
-i tests/test_http_parser.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C docs html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user