radicale: change to python3

Also suggest migration to radicale2.

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-12-11 21:50:51 -06:00 committed by lemmi
parent c6fbb04e32
commit cf0183848f
2 changed files with 24 additions and 4 deletions

View file

@ -0,0 +1,20 @@
You are installing the legacy version of radicale (1.x)!
Please install the radicale2 package for the latest (2.x) version.
If you need to migrate data, take the following steps:
- Disable the radicale 1.x service ("radicale")
- Back up the radicale 1.x collections currently in /var/lib/radicale
- Remove the old collections so they do not conflict with radicale 2.x
- Export the backup radicale 1.x collections in the 2.x format to /var/lib/radicale
(see the radicale 1.x --export-storage CLI argument)
- Remove the radicale 1.x package ("radicale")
- Install radicale 2.x package ("radicale2")
- Enable the radicale 2.x service ("radicale")
- Confirm that the radicale 2.x service is functioning correctly and reliably
- Remove the backup radicale 1.x collections
Consider using the following resources for further guidance:
- Official radicale migration guide: https://radicale.org/1to2/.
- Void Linux Handbook, "Managing Services" section: https://docs.voidlinux.org/config/services/managing.html

View file

@ -1,13 +1,13 @@
# Template file for 'radicale'
pkgname=radicale
version=1.1.6
revision=2
revision=3
archs=noarch
wrksrc="Radicale-${version}"
build_style=python2-module
build_style=python3-module
pycompile_module="radicale"
hostmakedepends="python python-setuptools"
depends="python-pam python-requests python-dulwich"
hostmakedepends="python3 python3-setuptools"
depends="python3-pam python3-requests python3-dulwich"
short_desc="Complete calendar and contact storing and manipulating solution"
maintainer="lemmi <lemmi@nerd2nerd.org>"
license="GPL-3.0-or-later"