radicale: rebuild for Python 3.11

This commit is contained in:
Andrew J. Hesford 2022-09-19 21:08:51 -04:00
parent 1f3d2b4c39
commit 82e125151a
1 changed files with 3 additions and 5 deletions

View File

@ -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() {