commit:     f4f46acffeb7289980c989f7ae12bd3c4dd5436f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 18 10:47:05 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Oct 18 12:45:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4f46acf

dev-python/nest-asyncio: Enable py3.14

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../nest-asyncio/nest-asyncio-1.6.0-r1.ebuild      | 36 ++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/dev-python/nest-asyncio/nest-asyncio-1.6.0-r1.ebuild 
b/dev-python/nest-asyncio/nest-asyncio-1.6.0-r1.ebuild
new file mode 100644
index 000000000000..b3a673a544d3
--- /dev/null
+++ b/dev-python/nest-asyncio/nest-asyncio-1.6.0-r1.ebuild
@@ -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
+}

Reply via email to