summaryrefslogtreecommitdiff
path: root/dev-python/aiorpcx/aiorpcx-0.23.1.ebuild
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2025-09-02 14:57:00 +0200
committerMichał Górny <mgorny@gentoo.org>2025-09-02 14:57:00 +0200
commit9198e2f3f832b7276471c601720f0e9a086e445b (patch)
treee2dd08b16711bfd4a3207f56c63ee96ba456ba71 /dev-python/aiorpcx/aiorpcx-0.23.1.ebuild
parent81f6c2c8b24bd0e762676be3b9ee3f679b41cbf2 (diff)
downloadgentoo-9198e2f3f832b7276471c601720f0e9a086e445b.tar.gz
gentoo-9198e2f3f832b7276471c601720f0e9a086e445b.tar.bz2
gentoo-9198e2f3f832b7276471c601720f0e9a086e445b.zip
dev-python/aiorpcx: Backport test fixes for pytest-asyncio-1
Closes: https://bugs.gentoo.org/961266 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiorpcx/aiorpcx-0.23.1.ebuild')
-rw-r--r--dev-python/aiorpcx/aiorpcx-0.23.1.ebuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/dev-python/aiorpcx/aiorpcx-0.23.1.ebuild b/dev-python/aiorpcx/aiorpcx-0.23.1.ebuild
index 14fc42a3f534..0856c05b7269 100644
--- a/dev-python/aiorpcx/aiorpcx-0.23.1.ebuild
+++ b/dev-python/aiorpcx/aiorpcx-0.23.1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_COMPAT=( python3_{11..13} )
inherit distutils-r1
@@ -26,15 +26,24 @@ KEYWORDS="amd64 ~arm arm64 x86"
BDEPEND="
test? (
- dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/uvloop[${PYTHON_USEDEP}]
dev-python/websockets[${PYTHON_USEDEP}]
)
"
+EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# require Internet
tests/test_socks.py::TestSOCKSProxy::test_create_connection_resolve_good
)
+
+PATCHES=(
+ # https://github.com/kyuupichan/aiorpcX/commit/b8ce32889c45c98b44c4e247ec0b0ae206e9ee91
+ "${FILESDIR}/${PN}-0.25.0-pytest-asyncio-1.patch"
+ # parts of
+ # https://github.com/kyuupichan/aiorpcX/commit/b973b9b5612a47fe6311b43a4a4a2227b179d9b0
+ # https://github.com/kyuupichan/aiorpcX/commit/b3fe21c9ad6f21967b31422174ab648263d6d4d7
+ "${FILESDIR}/${P}-pytest-asyncio-1-more.patch"
+)