mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-13 17:13:00 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user