commit: 244a0037d5bbdc3dafd6fe828d37bf4973bf54b0 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> AuthorDate: Sun Oct 30 01:46:56 2022 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Sun Oct 30 01:59:52 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=244a0037
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 <AT> tastytea.de> dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild b/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild index 584d9d7e3..1a00b25ab 100644 --- a/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild +++ b/dev-python/i3ipc/i3ipc-2.2.1-r1.ebuild @@ -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 +}
