From cf0183848f8fb9431a65de751f3a16de0f1693fe Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Wed, 11 Dec 2019 21:50:51 -0600 Subject: [PATCH] radicale: change to python3 Also suggest migration to radicale2. Signed-off-by: Nathan Owens --- srcpkgs/radicale/INSTALL.msg | 20 ++++++++++++++++++++ srcpkgs/radicale/template | 8 ++++---- 2 files changed, 24 insertions(+), 4 deletions(-) create mode 100644 srcpkgs/radicale/INSTALL.msg diff --git a/srcpkgs/radicale/INSTALL.msg b/srcpkgs/radicale/INSTALL.msg new file mode 100644 index 0000000000..260d1bb0b6 --- /dev/null +++ b/srcpkgs/radicale/INSTALL.msg @@ -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 diff --git a/srcpkgs/radicale/template b/srcpkgs/radicale/template index cd1bd98551..a70212851a 100644 --- a/srcpkgs/radicale/template +++ b/srcpkgs/radicale/template @@ -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 " license="GPL-3.0-or-later"