synapse: update to 1.145.0.

This commit is contained in:
Joel Beckmeyer
2026-01-20 21:31:43 -05:00
committed by classabbyamp
parent 0f130597d6
commit 3ba106b093
2 changed files with 17 additions and 36 deletions
-13
View File
@@ -1,13 +0,0 @@
diff --git a/pyproject.toml b/pyproject.toml
index 246a1d2..af21607 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -376,7 +376,7 @@ tomli = ">=1.2.3"
# runtime errors caused by build system changes.
# We are happy to raise these upper bounds upon request,
# provided we check that it's safe to do so (i.e. that CI passes).
-requires = ["poetry-core>=2.0.0,<=2.1.3", "setuptools_rust>=1.3,<=1.11.1"]
+requires = ["poetry-core>=2.0.0,<=2.2.0", "setuptools_rust>=1.3,<=1.12.0"]
build-backend = "poetry.core.masonry.api"
+17 -23
View File
@@ -1,33 +1,32 @@
# Template file for 'synapse'
pkgname=synapse
version=1.144.0
version=1.145.0
revision=1
build_style=python3-pep517
build_helper=rust
make_check_target=tests
make_install_target="dist/matrix_synapse-${version}-*-*-*.whl"
hostmakedepends="python3-poetry-core python3-setuptools-rust cargo"
hostmakedepends="maturin cargo"
makedepends="rust-std python3-devel"
depends="python3-jsonschema python3-immutabledict python3-unpaddedbase64
python3-canonicaljson python3-signedjson python3-pynacl
python3-service_identity python3-Twisted python3-openssl python3-yaml
python3-pyasn1 python3-pyasn1-modules python3-bcrypt python3-Pillow
python3-psutil python3-msgpack python3-phonenumbers python3-prometheus_client
python3-attrs python3-netaddr python3-setuptools python3-bleach python3-Jinja2
python3-psycopg2 python3-lxml python3-saml2 python3-treq python3-macaroons
python3-sortedcontainers python3-typing_extensions python3-cryptography
python3-ijson python3-matrix-common python3-packaging python3-pydantic
python3-automat python3-python-multipart python3-setuptools-rust
python3-rpds-py"
checkdepends="$depends python3-parameterized python3-txredisapi python3-hiredis
xmlsec1 unzip"
python3-msgpack python3-phonenumbers python3-prometheus_client python3-attrs
python3-netaddr python3-bleach python3-Jinja2 python3-psycopg2 python3-lxml
python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
python3-typing_extensions python3-cryptography python3-ijson
python3-matrix-common python3-packaging python3-pydantic
python3-python-multipart python3-setuptools-rust python3-rpds-py python3-cffi
python3-parsing python3-pyrsistent python3-requests python3-urllib3
python3-zope.interface"
checkdepends="$depends python3-parameterized python3-idna python3-txredisapi
python3-hiredis xmlsec1"
short_desc="Matrix reference homeserver"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="AGPL-3.0-or-later"
homepage="https://element-hq.github.io/synapse"
changelog="https://raw.githubusercontent.com/element-hq/synapse/develop/CHANGES.md"
distfiles="https://github.com/element-hq/synapse/archive/refs/tags/v${version}.tar.gz"
checksum=5de2d0cfaa2a71ac6a1d00f79bd6fd82c2c20f2217c1435b4b935cd3f9498bb1
checksum=edc743fbb0e0cbae1efedc90d0edc31533469ef638342dd588dc30b957c9fbd9
system_accounts="synapse"
synapse_homedir="/var/lib/synapse"
@@ -37,17 +36,12 @@ make_dirs="
/etc/synapse 755 synapse synapse
/var/log/synapse 0755 synapse synapse"
pre_check() {
yes | unzip ${make_install_target} "*.dist-info/*"
[ -d build/lib* ] && cp -r tests build/lib*
}
do_check() {
PYTHONPATH="$(cd build/lib* && pwd):." trial3 ${makejobs} tests
}
post_check() {
rm -r build/lib*/tests
local testdir="${wrksrc}/.xbps-testdir/$(date +%s)"
python3 -m installer --destdir "${testdir}" dist/*.whl
cp -r tests "${testdir}/${py3_sitelib}"
PYTHONPATH="${testdir}/${py3_sitelib}" trial3 ${makejobs} tests
}
post_install() {