mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 13:47:35 -08:00
dev-python/nest-asyncio: Enable py3.14
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
bf3fbe15e8
commit
f4f46acffe
36
dev-python/nest-asyncio/nest-asyncio-1.6.0-r1.ebuild
Normal file
36
dev-python/nest-asyncio/nest-asyncio-1.6.0-r1.ebuild
Normal file
@ -0,0 +1,36 @@
|
||||
# Copyright 2020-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Patch asyncio to allow nested event loops"
|
||||
HOMEPAGE="
|
||||
https://github.com/erdewit/nest_asyncio/
|
||||
https://pypi.org/project/nest-asyncio/
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=()
|
||||
|
||||
case ${EPYTHON} in
|
||||
python3.14)
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/nest_test.py::NestTest::test_timeout
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
epytest
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user