From 916de9e61f79d9237c9f8911307da70fa3e283da Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sat, 30 Oct 2021 11:11:39 +0200 Subject: www-apps/radicale: Fixed test errors Closes: https://bugs.gentoo.org/809005 Signed-off-by: Michael Seifert Closes: https://github.com/gentoo/gentoo/pull/22758 Signed-off-by: Sam James --- www-apps/radicale/radicale-3.0.6-r4.ebuild | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'www-apps') diff --git a/www-apps/radicale/radicale-3.0.6-r4.ebuild b/www-apps/radicale/radicale-3.0.6-r4.ebuild index 0f91437feaa8..3ddd634a15ff 100644 --- a/www-apps/radicale/radicale-3.0.6-r4.ebuild +++ b/www-apps/radicale/radicale-3.0.6-r4.ebuild @@ -47,6 +47,12 @@ src_prepare() { distutils-r1_src_prepare } +distutils_enable_tests --install pytest + +python_test() { + epytest radicale/tests/ +} + python_install_all() { rm README* || die # init file @@ -69,8 +75,6 @@ python_install_all() { distutils-r1_python_install_all } -distutils_enable_tests pytest - pkg_postinst() { local _erdir="${EROOT}${RDIR}" -- cgit v1.2.3-65-gdbad