diff --git a/srcpkgs/radicale/template b/srcpkgs/radicale/template index 03828eb746d..9c6a872c242 100644 --- a/srcpkgs/radicale/template +++ b/srcpkgs/radicale/template @@ -1,7 +1,7 @@ # Template file for 'radicale' pkgname=radicale version=3.1.8 -revision=1 +revision=2 wrksrc="Radicale-${version}" build_style=python3-module hostmakedepends="python3-setuptools" @@ -32,10 +32,8 @@ replaces="radicale2<3.0.6" do_check() { # install the package to test_install directory for testing - python3 setup.py install --root="$PWD"/test_install - - PYTHONPATH="$PWD"/test_install/usr/lib/python3.10/site-packages \ - pytest -c /dev/null + python3 setup.py install --root="${PWD}/test_install" + PYTHONPATH="${PWD}/test_install/${py3_sitelib}" pytest -c /dev/null } post_install() {