radicale: update to 3.1.8.

This commit is contained in:
teldra 2022-07-15 16:01:33 +02:00 committed by classabbyamp
parent 3101fcb6cc
commit 6ebc596c1d

View file

@ -1,20 +1,21 @@
# Template file for 'radicale' # Template file for 'radicale'
pkgname=radicale pkgname=radicale
version=3.1.7 version=3.1.8
revision=1 revision=1
wrksrc="Radicale-${version}" wrksrc="Radicale-${version}"
build_style=python3-module build_style=python3-module
hostmakedepends="python3-setuptools" hostmakedepends="python3-setuptools"
depends="python3-pam python3-requests python3-dulwich python3-vobject depends="python3-vobject python3-dateutil python3-passlib python3-bcrypt
python3-dateutil python3-passlib python3-bcrypt python3-defusedxml python3-defusedxml apache-htpasswd"
apache-htpasswd" checkdepends="${depends} python3-pytest python3-pytest-flake8 python3-isort
python3-pytest-cov python3-waitress"
short_desc="Complete calendar and contact storing and manipulating solution" short_desc="Complete calendar and contact storing and manipulating solution"
maintainer="teldra <teldra@rotce.de>" maintainer="teldra <teldra@rotce.de>"
license="GPL-3.0-or-later" license="GPL-3.0-or-later"
homepage="https://radicale.org" homepage="https://radicale.org"
changelog="https://github.com/Kozea/Radicale/blob/master/CHANGELOG.md" changelog="https://raw.githubusercontent.com/Kozea/Radicale/master/CHANGELOG.md"
distfiles="https://github.com/Kozea/Radicale/archive/refs/tags/v${version}.tar.gz" distfiles="https://github.com/Kozea/Radicale/archive/refs/tags/v${version}.tar.gz"
checksum=17d65e1a25925e4531dec3a3c7b49447b8f92d2d825489249bf99fde224151ca checksum=40078e0f05917c09664363a9e289a36d32e00d10a1d169ffc60b5c581deb4e77
conf_files=" conf_files="
/etc/radicale/config /etc/radicale/config
/etc/radicale/rights /etc/radicale/rights
@ -29,6 +30,14 @@ radicale_homedir="/var/lib/radicale"
radicale_descr="Radicale user" radicale_descr="Radicale user"
replaces="radicale2<3.0.6" 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
}
post_install() { post_install() {
vinstall config 644 etc/radicale/ vinstall config 644 etc/radicale/
vinstall rights 640 etc/radicale/ vinstall rights 640 etc/radicale/