From 82e125151a8e86b442e5bfeb3ccd5664f2129df1 Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Mon, 19 Sep 2022 21:08:51 -0400 Subject: [PATCH] radicale: rebuild for Python 3.11 --- srcpkgs/radicale/template | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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() {