From e7e8bf876a0f76d6710be8ba9f02b9a973048415 Mon Sep 17 00:00:00 2001 From: Joel Beckmeyer Date: Wed, 29 Jun 2022 09:22:59 -0400 Subject: [PATCH] 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 --- srcpkgs/synapse/template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/srcpkgs/synapse/template b/srcpkgs/synapse/template index 6490cdf9403..d550b91c3cc 100644 --- a/srcpkgs/synapse/template +++ b/srcpkgs/synapse/template @@ -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 " 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