Skip to content
Merged

radicale #58463

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions srcpkgs/python3-argon2-cffi-bindings/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'python3-argon2-cffi-bindings'
pkgname=python3-argon2-cffi-bindings
version=21.2.0
revision=3
version=25.1.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools_scm python3-wheel python3-cffi"
makedepends="python3-devel libargon2-devel"
Expand All @@ -12,8 +12,8 @@ maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="MIT"
homepage="https://github.com/hynek/argon2-cffi-bindings"
changelog="https://raw.githubusercontent.com/hynek/argon2-cffi-bindings/main/CHANGELOG.md"
distfiles="${PYPI_SITE}/a/argon2-cffi-bindings/argon2-cffi-bindings-${version}.tar.gz"
checksum=bb89ceffa6c791807d1305ceb77dbfacc5aa499891d2c55661c6459651fc39e3
distfiles="${PYPI_SITE}/a/argon2_cffi_bindings/argon2_cffi_bindings-${version}.tar.gz"
checksum=b957f3e6ea4d55d820e40ff76f450952807013d361a65d7f28acc0acbf29229d

export ARGON2_CFFI_USE_SYSTEM=1

Expand Down
6 changes: 3 additions & 3 deletions srcpkgs/python3-argon2/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'python3-argon2'
pkgname=python3-argon2
version=23.1.0
revision=3
version=25.1.0
revision=1
build_style=python3-pep517
hostmakedepends="hatchling hatch-vcs hatch-fancy-pypi-readme"
depends="python3-argon2-cffi-bindings"
Expand All @@ -12,7 +12,7 @@ license="MIT"
homepage="https://argon2-cffi.readthedocs.io/"
changelog="https://raw.githubusercontent.com/hynek/argon2-cffi/master/CHANGELOG.rst"
distfiles="${PYPI_SITE}/a/argon2-cffi/argon2_cffi-${version}.tar.gz"
checksum=879c3e79a2729ce768ebb7d36d4609e3a78a4ca2ec3a9f12286ca057e3d0db08
checksum=694ae5cc8a42f4c4e2bf2ca0e64e51e23a040c6a517a85074683d3959e1346c1

post_install() {
vlicense LICENSE
Expand Down
19 changes: 19 additions & 0 deletions srcpkgs/python3-libpass/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Template file for 'python3-libpass'
pkgname=python3-libpass
version=1.9.3
revision=1
build_style=python3-pep517
hostmakedepends="hatchling"
depends="python3-bcrypt python3-cryptography python3-argon2"
short_desc="Comprehensive password hashing framework for Python3 (fork)"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="BSD-3-Clause"
homepage="https://github.com/notypecheck/passlib"
distfiles="https://github.com/notypecheck/passlib/archive/refs/tags/${version}.tar.gz"
checksum=8b2ed473ba08b33bc61e51e2b01549315ef7690b8c50093734a105b8833bea04
conflicts="python3-passlib>=0"
make_check=no # Tests require unpackaged django

post_install() {
vlicense LICENSE
}
26 changes: 16 additions & 10 deletions srcpkgs/radicale/patches/fromtimestamp.patch
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
--- a/radicale/utils.py 2025-11-29 08:33:06.000000000 -0600
+++ b/radicale/utils.py 2025-11-30 10:42:22.737736171 -0600
@@ -280,10 +280,11 @@
--- 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) + ")"
+ if unixtime < DATETIME_MAX_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') + ")"
elif unixtime >= DATETIME_MAX_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) + ")"
else:
if sys.version_info < (3, 11):
dt = datetime.datetime.utcfromtimestamp(unixtime)
return r


8 changes: 4 additions & 4 deletions srcpkgs/radicale/template
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Template file for 'radicale'
pkgname=radicale
version=3.5.10
version=3.6.0
revision=1
build_style=python3-pep517
hostmakedepends="python3-setuptools"
depends="python3-vobject python3-dateutil python3-passlib python3-bcrypt
python3-defusedxml apache-htpasswd python3-pika python3-requests"
depends="python3-vobject python3-dateutil python3-libpass python3-bcrypt
python3-defusedxml apache-htpasswd python3-pika python3-requests python3-packaging"
checkdepends="${depends} python3-pytest python3-pytest-flake8 python3-isort
python3-pytest-cov python3-waitress"
short_desc="Complete calendar and contact storing and manipulating solution"
Expand All @@ -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=059568498b06ff39e64030b9f3a56fead04bd8e0389420c1e4f292ffb95b0ae8
checksum=ffb0fb02f7d2f467141e708c1c72b6fdd76cd04b7e28ae7187eb4572f1ff2e56
conf_files="
/etc/radicale/config
/etc/radicale/rights"
Expand Down