synapse: rebuild for Python 3.12

This commit is contained in:
Andrew J. Hesford 2023-09-23 21:02:50 -04:00
parent e273b7c402
commit eaf5fab545
1 changed files with 2 additions and 5 deletions

View File

@ -1,12 +1,13 @@
# Template file for 'synapse'
pkgname=synapse
version=1.93.0
revision=1
revision=2
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"
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
@ -26,10 +27,6 @@ changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.
distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
checksum=4bacff7559cd1f36a51743b79fe871eb3b96933aa663aad6f8900a1c6b7f8e21
if [ "$CROSS_BUILD" ]; then
makedepends+=" rust-std python3"
fi
system_accounts="synapse"
synapse_homedir="/var/lib/synapse"