radicale: update to 3.6.1.
This commit is contained in:
committed by
Duncan Overbruck
parent
efeeb98c52
commit
f686b65484
@@ -1,23 +0,0 @@
|
||||
--- a/radicale/utils.py 2026-01-10 00:52:03.000000000 -0600
|
||||
+++ b/radicale/utils.py 2026-01-10 13:31:34.039736783 -0600
|
||||
@@ -333,16 +333,11 @@
|
||||
if sys.platform == "win32":
|
||||
# TODO check how to support this better
|
||||
return str(unixtime)
|
||||
- if unixtime <= DATETIME_MIN_UNIXTIME:
|
||||
- r = str(unixtime) + "(<=MIN:" + str(DATETIME_MIN_UNIXTIME) + ")"
|
||||
- elif unixtime >= DATETIME_MAX_UNIXTIME:
|
||||
- r = str(unixtime) + "(>=MAX:" + str(DATETIME_MAX_UNIXTIME) + ")"
|
||||
- else:
|
||||
- if sys.version_info < (3, 11):
|
||||
- dt = datetime.datetime.utcfromtimestamp(unixtime)
|
||||
- else:
|
||||
- dt = datetime.datetime.fromtimestamp(unixtime, datetime.UTC)
|
||||
+ if unixtime < DATETIME_MIN_UNIXTIME:
|
||||
+ dt = datetime.datetime(1970, 1, 1, tzinfo=datetime.timezone.utc) + datetime.timedelta(seconds=unixtime)
|
||||
r = str(unixtime) + "(" + dt.strftime('%Y-%m-%dT%H:%M:%SZ') + ")"
|
||||
+ else:
|
||||
+ r = str(unixtime) + "(>MAX:" + str(DATETIME_MAX_UNIXTIME) + ")"
|
||||
return r
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Template file for 'radicale'
|
||||
pkgname=radicale
|
||||
version=3.6.0
|
||||
version=3.6.1
|
||||
revision=1
|
||||
build_style=python3-pep517
|
||||
hostmakedepends="python3-setuptools"
|
||||
@@ -14,7 +14,7 @@ license="GPL-3.0-or-later"
|
||||
homepage="https://radicale.org"
|
||||
changelog="https://raw.githubusercontent.com/Kozea/Radicale/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/Kozea/Radicale/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=ffb0fb02f7d2f467141e708c1c72b6fdd76cd04b7e28ae7187eb4572f1ff2e56
|
||||
checksum=b3bab42db961fc40256306d9dd3c8a11dc5992cdec8377064fee3db6da4f4de8
|
||||
conf_files="
|
||||
/etc/radicale/config
|
||||
/etc/radicale/rights"
|
||||
|
||||
Reference in New Issue
Block a user