mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 10:38:07 -07:00
dev-python/aiohttp: Port to py3.9
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
PYTHON_COMPAT=( python3_{6..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -124,6 +124,12 @@ python_prepare_all() {
|
||||
sed -e 's|^async def test_partially_applied_handler(|@pytest.mark.xfail\n\0|' \
|
||||
-i tests/test_web_urldispatcher.py || die
|
||||
|
||||
# minor breakages on py3.9
|
||||
sed -e 's:test_iface:_&:' \
|
||||
-i tests/test_frozenlist.py || die
|
||||
sed -e 's:test_proxy_https_bad_response:_&:' \
|
||||
-i tests/test_proxy_functional.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user