synapse: update to 1.62.0.

use trial from Twisted directly for tests to avoid issue with pytest and
to allow for proper parallel run of tests if desired
This commit is contained in:
Joel Beckmeyer 2022-06-29 09:22:59 -04:00 committed by classabbyamp
parent 643e372b03
commit e7e8bf876a

View file

@ -1,6 +1,6 @@
# Template file for 'synapse'
pkgname=synapse
version=1.61.1
version=1.62.0
revision=1
build_style=python3-pep517
make_check_target=tests
@ -15,14 +15,14 @@ depends="python3-jsonschema python3-frozendict python3-canonicaljson
python3-saml2 python3-treq python3-macaroons python3-sortedcontainers
python3-typing_extensions python3-ijson python3-matrix-common
python3-packaging"
checkdepends="$depends python3-parameterized python3-pytest unzip"
checkdepends="$depends python3-parameterized unzip"
short_desc="Matrix reference homeserver"
maintainer="Joel Beckmeyer <joel@beckmeyer.us>"
license="Apache-2.0"
homepage="https://github.com/matrix-org/synapse"
changelog="https://raw.githubusercontent.com/matrix-org/synapse/develop/CHANGES.md"
distfiles="https://github.com/matrix-org/synapse/archive/v${version}.tar.gz"
checksum=79b216330a22711521d0ff6694c9f12e40de7e7345a1601bac22021fcace36fc
checksum=395a5ebaefe6a027149017bfc110b11fbae1e9fb3f6165272406ab00334b1515
system_accounts="synapse"
synapse_homedir="/var/lib/synapse"
@ -36,6 +36,10 @@ pre_check() {
unzip ${make_install_target} "*.dist-info/*"
}
do_check() {
PYTHONPATH="." trial3 ${makejobs} tests
}
post_install() {
vsv synapse