dev-python/Pyro5: fix test failure

Add patch from upstream.

Bug: https://bugs.gentoo.org/915997
Signed-off-by: Viorel Munteanu <ceamac@gentoo.org>
This commit is contained in:
Viorel Munteanu
2023-10-22 10:09:31 +03:00
parent a964143839
commit 6e66c23509
2 changed files with 40 additions and 1 deletions

View File

@@ -26,12 +26,15 @@ RDEPEND="
>=dev-python/serpent-1.40[${PYTHON_USEDEP}]
"
PATCHES=(
"${FILESDIR}"/${P}-fix-test-on-ipv6.patch
)
distutils_enable_tests pytest
distutils_enable_sphinx docs/source \
dev-python/sphinx-rtd-theme
EPYTEST_DESELECT=(
tests/test_socketutil.py::TestSocketutil::testGetInterface # https://github.com/irmen/Pyro5/issues/82
tests/test_server.py::TestServerOnce::testRegisterWeak # https://github.com/irmen/Pyro5/issues/83 (pypy3 specific)
)