summaryrefslogtreecommitdiff
path: root/dev-python/async_timeout/async_timeout-3.0.1.ebuild
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gmail.com>2021-07-24 19:14:32 +0300
committerMichał Górny <mgorny@gentoo.org>2021-07-29 20:46:51 +0200
commit0edc81fb7529ec388c628266d9584d6fb3464467 (patch)
treeb775555755af0f44e243a646977c19dbbbf9e0aa /dev-python/async_timeout/async_timeout-3.0.1.ebuild
parentf0d0ca42c540827cff5fd9b88fbf765d314c0d2a (diff)
downloadgentoo-0edc81fb7529ec388c628266d9584d6fb3464467.tar.gz
gentoo-0edc81fb7529ec388c628266d9584d6fb3464467.tar.bz2
gentoo-0edc81fb7529ec388c628266d9584d6fb3464467.zip
dev-python/async_timeout: enable py3.10
needed to import from upstream fixes for tests patch doesn't change other parts outside tests Signed-off-by: Arthur Zamarin <arthurzam@gmail.com> Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/async_timeout/async_timeout-3.0.1.ebuild')
-rw-r--r--dev-python/async_timeout/async_timeout-3.0.1.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-python/async_timeout/async_timeout-3.0.1.ebuild b/dev-python/async_timeout/async_timeout-3.0.1.ebuild
index f4022958304b..33755ac4a219 100644
--- a/dev-python/async_timeout/async_timeout-3.0.1.ebuild
+++ b/dev-python/async_timeout/async_timeout-3.0.1.ebuild
@@ -2,7 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{8..9} )
+
+PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
@@ -20,8 +21,11 @@ BDEPEND="
dev-python/setuptools_scm[${PYTHON_USEDEP}]
test? (
dev-python/pytest-aiohttp[${PYTHON_USEDEP}]
+ dev-python/pytest-asyncio[${PYTHON_USEDEP}]
)"
+PATCHES=( "${FILESDIR}/${P}-fix-py3.10.patch" )
+
distutils_enable_tests pytest
python_prepare_all() {