Skip to content

Commit fd3219b

Browse files
committed
radicale: update to 3.6.0.
1 parent 49006f5 commit fd3219b

2 files changed

Lines changed: 19 additions & 13 deletions

File tree

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
1-
--- a/radicale/utils.py 2025-11-29 08:33:06.000000000 -0600
2-
+++ b/radicale/utils.py 2025-11-30 10:42:22.737736171 -0600
3-
@@ -280,10 +280,11 @@
1+
--- a/radicale/utils.py 2026-01-10 00:52:03.000000000 -0600
2+
+++ b/radicale/utils.py 2026-01-10 13:31:34.039736783 -0600
3+
@@ -333,16 +333,11 @@
44
if sys.platform == "win32":
55
# TODO check how to support this better
66
return str(unixtime)
77
- if unixtime <= DATETIME_MIN_UNIXTIME:
88
- r = str(unixtime) + "(<=MIN:" + str(DATETIME_MIN_UNIXTIME) + ")"
9-
+ if unixtime < DATETIME_MAX_UNIXTIME:
10-
+ dt = datetime.datetime(1970, 1, 1, tzinfo=datetime.timezone.utc) + datetime.timedelta(seconds=unixtime)
11-
+ r = str(unixtime) + "(" + dt.strftime('%Y-%m-%dT%H:%M:%SZ') + ")"
12-
elif unixtime >= DATETIME_MAX_UNIXTIME:
9+
- elif unixtime >= DATETIME_MAX_UNIXTIME:
1310
- r = str(unixtime) + "(>=MAX:" + str(DATETIME_MAX_UNIXTIME) + ")"
11+
- else:
12+
- if sys.version_info < (3, 11):
13+
- dt = datetime.datetime.utcfromtimestamp(unixtime)
14+
- else:
15+
- dt = datetime.datetime.fromtimestamp(unixtime, datetime.UTC)
16+
+ if unixtime < DATETIME_MIN_UNIXTIME:
17+
+ dt = datetime.datetime(1970, 1, 1, tzinfo=datetime.timezone.utc) + datetime.timedelta(seconds=unixtime)
18+
r = str(unixtime) + "(" + dt.strftime('%Y-%m-%dT%H:%M:%SZ') + ")"
19+
+ else:
1420
+ r = str(unixtime) + "(>MAX:" + str(DATETIME_MAX_UNIXTIME) + ")"
15-
else:
16-
if sys.version_info < (3, 11):
17-
dt = datetime.datetime.utcfromtimestamp(unixtime)
21+
return r
22+
23+

srcpkgs/radicale/template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Template file for 'radicale'
22
pkgname=radicale
3-
version=3.5.10
3+
version=3.6.0
44
revision=1
55
build_style=python3-pep517
66
hostmakedepends="python3-setuptools"
77
depends="python3-vobject python3-dateutil python3-passlib python3-bcrypt
8-
python3-defusedxml apache-htpasswd python3-pika python3-requests"
8+
python3-defusedxml apache-htpasswd python3-pika python3-requests python3-packaging"
99
checkdepends="${depends} python3-pytest python3-pytest-flake8 python3-isort
1010
python3-pytest-cov python3-waitress"
1111
short_desc="Complete calendar and contact storing and manipulating solution"
@@ -14,7 +14,7 @@ license="GPL-3.0-or-later"
1414
homepage="https://radicale.org"
1515
changelog="https://raw.githubusercontent.com/Kozea/Radicale/master/CHANGELOG.md"
1616
distfiles="https://github.com/Kozea/Radicale/archive/refs/tags/v${version}.tar.gz"
17-
checksum=059568498b06ff39e64030b9f3a56fead04bd8e0389420c1e4f292ffb95b0ae8
17+
checksum=ffb0fb02f7d2f467141e708c1c72b6fdd76cd04b7e28ae7187eb4572f1ff2e56
1818
conf_files="
1919
/etc/radicale/config
2020
/etc/radicale/rights"

0 commit comments

Comments
 (0)