dev-python/i3ipc: fix some of the tests, disable tests

Tests never worked, it seems. Most of the remaining errors are
AttributeError: 'async_generator' object has no attribute 'foo'

Bug: https://bugs.gentoo.org/800269
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
Ronny (tastytea) Gutbrod
2022-10-30 02:46:56 +01:00
parent 59389a0577
commit 244a0037d5

View File

@@ -6,7 +6,7 @@ EAPI=8
DISTUTILS_USE_PEP517="setuptools"
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
inherit distutils-r1 virtualx
DESCRIPTION="An improved Python library to control i3wm and sway."
HOMEPAGE="https://github.com/altdesktop/i3ipc-python"
@@ -21,5 +21,19 @@ RDEPEND="
dev-python/python-xlib[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}"
BDEPEND="
${BDEPEND}
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-timeout[${PYTHON_USEDEP}]
x11-wm/i3
)
"
RESTRICT="test"
distutils_enable_tests pytest
src_test() {
virtx distutils-r1_src_test
}