summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Seifert <m.seifert@digitalernachschub.de>2021-10-30 11:11:39 +0200
committerSam James <sam@gentoo.org>2021-10-31 02:47:25 +0000
commit916de9e61f79d9237c9f8911307da70fa3e283da (patch)
tree6c5ffdb280b31d167b211e04aaca8c7f317f555c /www-apps
parentwww-apps/radicale: Updated to EAPI 8 (diff)
downloadgentoo-916de9e61f79d9237c9f8911307da70fa3e283da.tar.gz
gentoo-916de9e61f79d9237c9f8911307da70fa3e283da.tar.bz2
gentoo-916de9e61f79d9237c9f8911307da70fa3e283da.zip
www-apps/radicale: Fixed test errors
Closes: https://bugs.gentoo.org/809005 Signed-off-by: Michael Seifert <m.seifert@digitalernachschub.de> Closes: https://github.com/gentoo/gentoo/pull/22758 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/radicale/radicale-3.0.6-r4.ebuild8
1 files changed, 6 insertions, 2 deletions
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}"